Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-13-2008, 08:02 PM
Intermediate Member
 
Posts: 24
Unhappy Initializing ldap...failed. (28416) on RHEL 5

Hello All,

Just installing a brand new Zimbra 5.0.2 on to a RHEL 5 server and have hit a brick wall, below is the error I'm getting when it comes to the final stages of configuring Zimbra.
Code:
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
Initializing ldap...
*** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
IO::Socket::INET: connect: Connection refused at /opt/zimbra/libexec/zmldapinit line 160.
failed. (28416)
Does any one have any items as to how to over come this problem ?

Tim
Reply With Quote
  #2 (permalink)  
Old 02-13-2008, 08:51 PM
Former Zimbran
 
Posts: 5,606
Default

Do you have SELinux or iptables on?
Also, what does your hosts file look like. It can't bind.

Try ldap start
and see what happens.
Reply With Quote
  #3 (permalink)  
Old 02-14-2008, 10:05 AM
Zimbra Employee
 
Posts: 580
Default

Or slapd isn't running.

As root, try running:

Code:
/opt/zimbra/openldap/libexec/slapd -d -1 -f /opt/zimbra/conf/slapd.conf -u zimbra
And (assuming that fails), provide the output.
__________________
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
Reply With Quote
  #4 (permalink)  
Old 02-14-2008, 02:03 PM
Intermediate Member
 
Posts: 24
Unhappy

jholder,

Answer to your first question, no; either of them are on.

The hostfile looks like this
Code:
192.168.1.25    mail.appsescrow.com     mail    ipms    localhost       localhost.localdomain
when running "ldap start" it returns this
Code:
Failed to start slapd.  Attempting debug start to determine error.
TLS: error:0200A002:system library:opendir:No such file or directory ssl_cert.c:816
TLS: error:140D7002:SSL routines:SSL_add_dir_cert_subjects_to_stack:system lib ssl_cert.c:818
main: TLS init def ctx failed: -1
Tim
Reply With Quote
  #5 (permalink)  
Old 02-14-2008, 02:09 PM
Former Zimbran
 
Posts: 5,606
Default

Please read and follow the guide here:
http://www.zimbra.com/docs/os/latest...stall/#1057019
Reply With Quote
  #6 (permalink)  
Old 02-14-2008, 03:30 PM
Intermediate Member
 
Posts: 24
Unhappy

jholder,

OK, I've read the section about configuration for RHEL, and as far as I can see I'm setup up correctly; Looking over the error I posted last, it seems that 'slapd' cant start ! Also I cant find the info about zmcreatecert in Appendix A in the Admin guide. Is there a way I can confirm that my hostname is being accepted by Zimbra as a FQDN ?

Tim
Reply With Quote
  #7 (permalink)  
Old 02-14-2008, 03:32 PM
Former Zimbran
 
Posts: 5,606
Default

Cool!

Can we see your hosts file again?
Reply With Quote
  #8 (permalink)  
Old 02-14-2008, 03:39 PM
Intermediate Member
 
Posts: 24
Default

Code:
[root@mail etc]# cat hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.

192.168.1.25    mail.appsescrow.com     mail    ipms    localhost       localhost.localdomain
Reply With Quote
  #9 (permalink)  
Old 02-14-2008, 03:45 PM
Former Zimbran
 
Posts: 5,606
Default

The hosts file isn't correct. That's probably not the only problem here, but that's the first step to fix it.

Per the quick setup guide:
Quote:
Important: Make sure that FQDN entry in /etc/hosts appears before the hostnames. If this is missing, the creation of the Zimbra certificate fails. The FQDN entry should look like this example. See zmcreatecert in the Administrator’s Guide, Appendix A: Command-Line Utilities.

127.0.0.1 localhost.localdomain localhost
your.ip.address FQDN yourhostname
Reply With Quote
  #10 (permalink)  
Old 02-14-2008, 03:53 PM
Intermediate Member
 
Posts: 24
Default

ok, new host file

Code:
[root@mail etc]# cat hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.

127.0.0.1       localhost.localdomain   localhost
192.168.1.25    mail.appsescrow.com     mail    ipms
And still get the following

Code:
[root@mail etc]# /opt/zimbra/libexec/zmsetup.pl
Operations logged to /tmp/zmsetup.02152008-104924.log
Setting defaults...     MX: mail.appsescrow.com (192.168.1.25)

        Interface: 192.168.1.25
        Interface: 127.0.0.1
                192.168.1.25
done.
Checking for port conflicts


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.4658]
Saving config in /opt/zimbra/config.4658...done.
The system will be modified - continue? [No] y
Operations logged to /tmp/zmsetup.02152008-104924.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/zmsetup.02152008-104924.log
Here is that log file as well

Code:
[root@mail etc]# cat /tmp/zmsetup.02152008-104924.log
Operations logged to /tmp/zmsetup.02152008-104924.log
Getting installed packages
checking isEnabled zimbra-core
zimbra-core not in enabled cache
enabled packages
Newinstall enabling all installed packages
Enabling zimbra-core
Enabling zimbra-ldap
Enabling zimbra-store
Enabling zimbra-mta
Enabling zimbra-snmp
Enabling zimbra-logger
Enabling zimbra-apache
Enabling zimbra-spell
Setting defaults...
Setting local config zimbra_java_home to /opt/zimbra/java
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_java_home='/opt/zimbra/java' 2> /dev/null
checking isEnabled zimbra-cluster
zimbra-cluster not in enabled cache
enabled packages zimbra-logger zimbra-store zimbra-mta zimbra-core zimbra-apache zimbra-snmp zimbra-ldap zimbra-spell
Newinstall enabling all installed packages
Enabling zimbra-core
Enabling zimbra-ldap
Enabling zimbra-store
Enabling zimbra-mta
Enabling zimbra-snmp
Enabling zimbra-logger
Enabling zimbra-apache
Enabling zimbra-spell
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled
        MX: mail.appsescrow.com (192.168.1.25)

        Interface: 192.168.1.25
        Interface: 127.0.0.1
done.
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled
checking isEnabled zimbra-spell
zimbra-spell is enabled
Checking for port conflicts
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-logger
zimbra-logger is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled


Note

The previous configuration appears to have failed to complete

Saving config in /opt/zimbra/config.4658...
done.
Operations logged to /tmp/zmsetup.02152008-104924.log
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
Initializing ldap...
*** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
ldap_master_url=ldap://mail.appsescrow.com:389
IO::Socket::INET: connect: Connection refused at /opt/zimbra/libexec/zmldapinit line 163.
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.02152008-104924.log
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.