Hi all,
I am setting up a separate box so I can perform some DR testing and during the install I got the error 'Initializing ldap...failed. (28416)'. I'm trying to install OSE 5.0.5
I've seen someone else get this on RHEL5 but seemingly with no solution, I'm running Fedora 7 and didn't get this error on our live box when upgrading to this version.
Here is an excerpt from the install log. I'm running this install from an ssh session but I also tried running it directly from the console once this error occured.
While typing this up I found the solution at Sudoers - Zimbra :: WikiCode:Tue May 13 16:32:01 2008 Setting up CA... Tue May 13 16:32:01 2008 *** Running as root user: /opt/zimbra/bin/zmcertmgr createca ** Creating directory /opt/zimbra/ssl/zimbra ** Creating directory /opt/zimbra/ssl/zimbra/ca ** Creating directory /opt/zimbra/ssl/zimbra/server ** Creating directory /opt/zimbra/ssl/zimbra/commercial ** Creating directory /opt/zimbra/mailboxd/webapps/zimbraAdmin/tmp ** Creating /opt/zimbra/ssl/zimbra/ca/zmssl.cnf...done ** Retrieving CA private key from ldap...failed. ** Retrieving CA cert from ldap...failed. ** Creating CA private key /opt/zimbra/ssl/zimbra/ca/ca.key...done. ** Creating CA cert /opt/zimbra/ssl/zimbra/ca/ca.pem...done. Tue May 13 16:32:09 2008 done. Tue May 13 16:32:09 2008 Deploying CA to /opt/zimbra/conf/ca ... Tue May 13 16:32:09 2008 *** Running as root user: /opt/zimbra/bin/zmcertmgr deployca -localonly ** Importing CA /opt/zimbra/ssl/zimbra/ca/ca.pem into CACERTS...done. ** Copying CA to /opt/zimbra/conf/ca...done. Tue May 13 16:32:12 2008 done. Tue May 13 16:32:12 2008 Creating SSL certificate... Tue May 13 16:32:12 2008 *** Running as root user: /opt/zimbra/bin/zmcertmgr createcrt self ** Creating /opt/zimbra/conf/zmssl.cnf...done ** Backup /opt/zimbra/ssl/zimbra to /opt/zimbra/ssl/zimbra.20080513163214 ** Retrieving server config key zimbraSSLCertificate...failed. ** Retrieving server config key zimbraSSLPrivateKey...failed. ** Generating a server csr for download ** Backup /opt/zimbra/ssl/zimbra to /opt/zimbra/ssl/zimbra.20080513163219 ** Creating server cert request /opt/zimbra/ssl/zimbra/server/server.csr...done. ** Signing cert request /opt/zimbra/ssl/zimbra/server/server.csr...done. Tue May 13 16:32:21 2008 done. Tue May 13 16:32:22 2008 Installing mailboxd SSL certificates... Tue May 13 16:32:22 2008 *** Running as root user: /opt/zimbra/bin/zmcertmgr deploycrt self ** Installing mta certificate and key...done. ** Installing slapd certificate and key...done. ** Installing proxy certificate and key...done. ** Creating pkcs12 file /opt/zimbra/ssl/zimbra/jetty.pkcs12...done. ** Creating keystore file /opt/zimbra/mailboxd/etc/keystore...done. ** Installing CA to /opt/zimbra/conf/ca...done. Tue May 13 16:32:25 2008 done. Tue May 13 16:32:25 2008 checking isEnabled zimbra-ldap Tue May 13 16:32:25 2008 zimbra-ldap is enabled Tue May 13 16:32:25 2008 Initializing ldap... Tue May 13 16:32:25 2008 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit sudo: sorry, you must have a tty to run sudo sudo: sorry, you must have a tty to run sudo sudo: sorry, you must have a tty to run sudo sudo: sorry, you must have a tty to run sudo sudo: sorry, you must have a tty to run sudo sudo: sorry, you must have a tty to run sudo sudo: sorry, you must have a tty to run sudo IO::Socket::INET: connect: Connection refused at /opt/zimbra/libexec/zmldapinit line 160. Tue May 13 16:33:32 2008 failed. (28416)
You need to comment out the line 'Defaults requiretty'
This thread can be closed but I wanted to post it so anyone else with the same problem can find the solution more easily than I did![]()


LinkBack URL
About LinkBacks





