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
8 Comments
Thanks for this I was well struggling
Hello to the end of the installation I get this error, I’m on ubuntu 12.04 server, I can not to install Zimbra, the “sudoers” file does not contain the line “Defaults requiretty”
Then I can not find how to resume the installation of Zimbra, the file launches zmsetup.pl nothing
Hi!
I followed your instruction and finish the installation. But when i enter my address of my server in Firefox, it always show the connecting message but cannot show the webmail for me to login.
I checked my server with netstat command and i saw a connection from my client (Firefox) to server.
My server is CentOS 6.5 with Zimbra 7.1.3
Thank you!
[root@mail zcs-8.6.0_GA_1153.RHEL6_64.20141215151155]# /opt/zimbra/libexec/zmsetup.pl
Operations logged to /tmp/zmsetup12162015-184041.log
Installing LDAP configuration database…done.
Setting defaults…
DNS ERROR resolving MX for mail.datalink.edu.local
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes]
Create domain: [mail.datalink.edu.local] datalink.edu.local
MX: mail.datalink.edu.local (192.168.13.11)
Interface: 192.168.13.11
Interface: 127.0.0.1
Interface: ::1
done.
Checking for port conflicts
Port conflict detected: 53 (zimbra-dnscache)
Port conflict detected: 53 (zimbra-dnscache)
Port conflicts detected! – Press Enter/Return key to continue
Note
The previous configuration appears to have failed to complete
Attempt to complete configuration now? [yes]
Save configuration data to a file? [Yes]
Save config in file: [/opt/zimbra/config.29087]
Saving config in /opt/zimbra/config.29087…done.
The system will be modified – continue? [No] yes
Operations logged to /tmp/zmsetup12162015-184041.log
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/zmsetup12162015-184041.log
thanks , another solution is to modify the permissions of the sudoers file and comment the line ssh # Defaults requiretty
[root@localhost zcs-8.6.0_GA_1153.RHEL7_64.20141215151110]# /opt/zimbra/libexec/zmsetup.pl
Operations logged to /tmp/zmsetup03172020-181828.log
Installing LDAP configuration database…done.
Setting defaults…
DNS ERROR resolving MX for mail.doublecoin.tech
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] no
done.
Checking for port conflicts
Port conflict detected: 636 (zimbra-ldap)
Port conflict detected: 389 (zimbra-ldap)
Port conflict detected: 636 (zimbra-ldap)
Port conflict detected: 389 (zimbra-ldap)
Port conflicts detected! – Press Enter/Return key to continue
Note
The previous configuration appears to have failed to complete
Attempt to complete configuration now? [yes] yes
Save configuration data to a file? [Yes] yes
Save config in file: [/opt/zimbra/config.28648]
Saving config in /opt/zimbra/config.28648…done.
The system will be modified – continue? [No] yes
Operations logged to /tmp/zmsetup03172020-181828.log
Initializing ldap…failed. (28160)
Please I need someone to help me
thanks , for another solution is to modify the permissions of the sudoers file and comment the line ssh # Defaults requiretty