Powered by Blogger.

How to Fix “Initializing ldap…failed” Zimbra Installation on CentOS 6.2 x86_64

Question :
When i try to install Zimbra 7.1.4 on linux CentOS 6.2 server, i stuck at the following error:
*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes] yes
Save config in file: [/opt/zimbra/config.9228]
Saving config in /opt/zimbra/config.9228...done.
The system will be modified - continue? [No] yes
Operations logged to /tmp/zmsetup.03312012-204237.log
Setting local config values...done.
Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Creating SSL certificate...done.
Installing mailboxd SSL certificates...done.
Initializing ldap...failed. (28416)


ERROR



Configuration failed

Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
complete the configuration.

Errors have been logged to /tmp/zmsetup.03312012-204237.log
How to fix this?
Solutions :
By default, sudo configuration has deny any sudo command for the user who not logged in. Therefore you need to comment out this line on /etc/sudoers.
1. Login to another putty session(second screen) and leave the installation error (first screen) for a while.
2. Modify /etc/sudoers or alternatively, you just type visudo :
[root@mail ~]# vi /etc/sudoers
3. Comment out this line only :
# Defaults requiretty
4. Go to the first screen where your zimbra installation failed. Then you can continue back the installation by executing the following command :
[root@mail ~]# /opt/zimbra/libexec/zmsetup.pl
    Blogger Comment
    Facebook Comment