# /opt/zimbra/postfix/sbin/postfix set-permissions
postfix: warning: My hostname *************** is not a fully qualified name - set myhostname or mydomain in /opt/zimbra/postfix-2.2.3/conf/main.cf
-----------------------------------
Fixable by editing the /opt/zimbra/postfix-2.2.3/conf/main.cf file by adding a myhostname line.
Once you fix this there are several missing library files. I linked them from the /usr/lib dir to the /lib dir:
ln -s /usr/lib/libssl.so.0.9.7 /lib/libssl.so.4
ln -s /usr/lib/libpcre.so.3 /lib/libpcre.so.0
ln -s /usr/lib/libcrypto.so.0.9.7 /lib/libcrypto.so.4
After which it appears to run ok...
$ /opt/zimbra/bin/zmmyinit
-bash: /opt/zimbra/bin/zmmyinit: No such file or directory
-----------------------------------
$ /opt/zimbra/bin/mzldapinit
-bash: /opt/zimbra/bin/mzldapinit: No such file or directory
-----------------------------------
$ /opt/zimbra/bin/zmmtainit localhost
-bash: /opt/zimbra/bin/zmmtainit: No such file or directory
-----------------------------------
Run these from the /opt/zimbra/libexec dir. They apparently expect to be in this dir (they call the bin dir through a relative path ../bin).
Which is contrary to the devel guide
http://www.zimbra.com/blog/archives/...ping_with.html.
Anyways... onto zmmyinit.
I already have a mysql database running and I don't want to take it down. So I changed the port it configures zmmysql to run on:
zmlocalconfig -e mysql_port=9110
Use the command above and don't try to edit the conf/my.cnf since it just gets removed/recreated by the zmmyinit script anyways.
After this and checking the log/zmmyinit.log file I discovered a problem with my premission settings on the db/data/mysql dir: Had to add rwx for the group. This may have something to do with the rather meandering way that I went about setting it up in the first place but if your server doesn't start I'd look at that dir's permissions.
Onward to zmldapinit...
So... I haven't got this working yet. The script fails saying that it couldn't get connected to the ldap service. Checking the debugging output from slapd using the -d 5001 option I see these two errors:
/opt/zimbra/openldap/etc/openldap/schema/zimbra.schema: line 1229: bad config line (ignored)
bdb(): /opt/zimbra/openldap-data/__db.001: No such file or directory
Which I'll be checking on after I eat some food!!