Results 1 to 10 of 36

Thread: Initializing ldap...failed. (28416) on RHEL 5

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Posts
    24
    Rep Power
    8

    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

  2. #2
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    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.

  3. #3
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    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
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  4. #4
    Join Date
    Apr 2007
    Posts
    24
    Rep Power
    8

    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

  5. #5
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Please read and follow the guide here:
    http://www.zimbra.com/docs/os/latest...stall/#1057019

  6. #6
    Join Date
    Apr 2007
    Posts
    24
    Rep Power
    8

    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

  7. #7
    Join Date
    Feb 2008
    Posts
    3
    Rep Power
    7

    Default

    Quote Originally Posted by quanah View Post
    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.
    i have the same bug,

    Code:
    the output from the command is 
    bdb_db_open: dbenv_open(/opt/zimbra/openldap-data)
    slapd starting
    daemon: added 4r listener=(nil)
    daemon: added 7r listener=0x81451d8
    daemon: epoll: listen=7 active_threads=0 tvp=zero
    daemon: activity on 1 descriptor
    daemon: activity on:
    daemon: epoll: listen=7 active_threads=0 tvp=zero

  8. #8
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    Quote Originally Posted by crapz View Post
    i have the same bug,

    Code:
    the output from the command is 
    bdb_db_open: dbenv_open(/opt/zimbra/openldap-data)
    slapd starting
    daemon: added 4r listener=(nil)
    daemon: added 7r listener=0x81451d8
    daemon: epoll: listen=7 active_threads=0 tvp=zero
    daemon: activity on 1 descriptor
    daemon: activity on:
    daemon: epoll: listen=7 active_threads=0 tvp=zero
    Looks like it is running to me. It just says it started and is listening.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  9. #9
    Join Date
    Feb 2008
    Posts
    3
    Rep Power
    7

    Default

    yes but when i try to install zimbra the install failes

    Initializing ldap...failed. (28416) ??

  10. #10
    Join Date
    Jun 2011
    Posts
    9
    Rep Power
    4

    Default [solved]

    Hi everyone I have the same error when trying to install Zimbra open source in Cento OS 6. The solution is :

    vi /etc/sudoers

    search for : Defaults requiretty
    and below that add :

    Defaults:%zimbra !requiretty
    Defaults:zimbra !requiretty

    more info in : http://www.zimbra.com/forums/install...-run-sudo.html

    Cheers

Similar Threads

  1. My Zimbra server down ... please help :)
    By frankb in forum Administrators
    Replies: 2
    Last Post: 12-12-2007, 11:29 AM
  2. Upgrade: 4.5.5 -> 4.5.6 failed, LDAP/slapd issues
    By Daimyo in forum Installation
    Replies: 7
    Last Post: 08-04-2007, 10:23 PM
  3. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 11:12 AM
  4. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 07:45 AM
  5. Replies: 4
    Last Post: 11-15-2006, 12:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •