Code:
DNS ERROR - none of the MX records for com.c******s.com
resolve to this host
Done
Checking for port conflicts
Operations logged to /tmp/zmsetup.log.8158
Setting local config values...
Setting local config zimbra_server_hostname to com.c******s.com
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_server_hostname=com.c******s.com
Setting local config ldap_master_url to ldap://com.c******s.com:389
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_master_url=ldap://com.c******s.com:389
Setting local config ldap_url to ldap://com.c******s.com:389
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_url=ldap://com.c******s.com:389
Setting local config ldap_port to 389
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_port=389
Setting local config ldap_host to com.c******s.com
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_host=com.c******s.com
Setting local config zimbra_uid to 1001
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_uid=1001
Setting local config zimbra_gid to 1001
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_gid=1001
Setting local config zimbra_user to zimbra
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_user=zimbra
Setting local config av_notify_user to admin@com.c******s.com
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e av_notify_user=admin@com.c******s.com
Setting local config ssl_allow_untrusted_certs to TRUE
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ssl_allow_untrusted_certs=TRUE
Done
Setting up CA...
*** Running as zimbra user: cd /opt/zimbra; zmcreateca
** Creating CA private key
Generating a 1024 bit RSA private key
.......++++++
.......++++++
unable to write 'random state'
writing new private key to '/opt/zimbra/ssl/ssl/ca/ca.key'
-----
** Creating CA cert
Signature ok
subject=/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite
Getting Private key
unable to write 'random state'
Done
Creating SSL certificate...
chmod: cannot access `/jre/lib/security/cacerts': No such file or directory
*** Running as zimbra user: cd /opt/zimbra; zmcreatecert
/opt/zimbra/bin/zmcreatecert: 27: source: not found
chmod: cannot access `/jre/lib/security/cacerts': No such file or directory
Done
Initializing ldap...
*** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
/opt/zimbra/bin/ldap: 32: source: not found
FAILED (256)
ERROR
Configuration failed
Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
complete the configuration
On installing Zimbra Collaboration Suite 4.0 - Open Source Edition on Ubuntu 6.10 Edgy Server Edition on a fresh installation (Chose Bind9/DNS option) having setup a static network configuration and having verified it and having installed cURL, fetchmail, openssl, libxml2, libgmp3c2, libpcre3 and libidn11 and apt-get update and apt-get upgrade have both been run on a completely opened sources.list.
I had also linked
/usr/lib/libssl.so.0.9.7 to /usr/lib/libssl.so.0.9.8
and
/usr/lib/libcrypto.so.0.9.7 to /usr/lib/libcrypto.so.0.9.8
verified all zimbra ports open to the local machine 192.168.1.114
whereas durign OS setup the hostname was set as COM
I've tried installation on 3 different /etc/hosts configurations
Code:
127.0.0.1 localhost.localdomain localhost
127.0.0.1 com.c******s.com com
Code:
127.0.0.1 localhost.localdomain localhost
192.168.1.114 com.c******s.com com
Code:
127.0.0.1 localhost.localdomain localhost
75.44.237.46 com.c******s.com com
I get a message during setup saying my MX record is not configured for this hostname. An MX query for c******s.com will yield "com.c******s.com" and the hostname of the machine is com, I do not understand this message.
Searching the forums yields a variety of possible fixes. The first one (Unquotable 'See "Regarding LDAP Issues..." Regarding LDAP issues: - Zimbra - Forums) says that many users have had LDAP problems and provides a 'broken' link .
See
http://www.c******s.com:666/zimbra/LDAPGone.swf
Other Resolutions include

Originally Posted by
ContemporaryFusion
I also have this error - although I am pretty sure this is due to me trying to use FC5's version of Zimbra on FC 6
I'm about to play with a source download as I have nothing better to do on a Sunday
*** EDIT *** Solution:
as root:
visudo
comment out
#Defaults requiretty
Hope this helps you
However does not specify which file to make the changes in.
Another fix only works on VMWare

Originally Posted by
pheitman
For some reason edgy made the default shell (/bin/sh) point to dash instead of bash. Apparently they are not quite the same, which causes the ldap initialization to fail. Since I was installing this on a VMWare VM, I could get away with
sudo rm /bin/sh
sudo ln -s /bin/bash /bin/sh
then uninstalling zimbra and reinstalling it. Now the installation works fine after following this fine guide.
Peter
The only other reference was in this post with no reply

Originally Posted by
dijichi2
whoa, whats this?
Creating SSL certificate...
chmod: 无法访问‘/jre/lib/security/cacerts’: No such file or directory
*** Running as zimbra user: cd /opt/zimbra; zmcreatecert
/opt/zimbra/bin/zmcreatecert: 27: source: not found
chmod: 无法访问‘/jre/lib/security/cacerts’: No such file or directory
Done
Initializing ldap...
*** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
/opt/zimbra/bin/ldap: 32: source: not found
FAILED (256)
Are you running chinese version of linux?
I've scoured the forums the wiki's and even asked in the chat rooms
|iratik> alright I did ./install -u and tried again with both the main WAN ip and the local 192.168 IP
|iratik> still Initializing LDAP...failed (256) Any IdeaS?
|reco> iratik: be sure you have mailserver.mydomain.com -> LAN ip in /etc/hosts
|iratik> thats the current setup
|iratik> 192.168.1.114 com.c******s.com com
|reco> reboot the box and try to install then
|iratik> and i'm sure the router is configured for 389 - > 192.168.1.114
|reco> open all ports
|iratik> Open all ports on the router to 192.168.1.114
|jodok> reco: switch to the zimbra user
|jodok> su - zimbra
|jodok> and start ldap manually
|iratik> how do you start ldap
|jodok> sudo /opt/zimbra/openldap-2.3.21/libexec/slapd -d7 -l LOCAL0 -4 -u zimbra -h ldap://yourhost.yourdomain.com:389 -f /opt/zimbra/conf/slapd.conf
Following his instructions I get
Code:
root@com:~/dl/zcs# su - zimbra
zimbra@com:~$ /opt/zimbra/openldap-2.3.21/libexec/slapd -d7 -l LOCAL0 -4 -u zimbra -h ldap://com.c******s.com:389 -f /opt/zimbra/conf/slapd.conf
@(#) $OpenLDAP: slapd 2.3.21 (Jul 14 2006 12:14:14) $
root@build-debian.liquidsys.com:/home/build/p4/main/ThirdParty/openldap/openldap-2.3.21/servers/slapd
daemon_init: ldap://com.c******s.com:389
daemon_init: listen on ldap://com.c******s.com:389
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap://com.c******s.com:389)
daemon: bind(7) failed errno=13 (Permission denied)
slap_open_listener: failed on ldap://com.c******s.com:389
slapd stopped.
connections_destroy: nothing to destroy. I don't know what to do about this I've tried everything and just can't seem to make sense of much. Wiki was a DeadEnd, Chat is sparse, Forums seem like the only option left.. Please Help!