Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: ldap error

  1. #1
    sowens is offline New Member
    Join Date
    May 2007
    Posts
    3
    Rep Power
    8

    Default ldap error

    Initializing ldap...daemon: bind(7) failed errno=99 (Cannot assign requested address)
    slap_open_listener: failed on ldap://mail.mpseast.com:389
    ERROR - failed to start slapd

    FAILED (1)


    ERROR



    Configuration failed

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

  2. #2
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Hi Shawn, and welcome to the Zimbra Forums!
    Try:
    sudo /opt/zimbra/openldap-2.3.21/libexec/slapd -d7 -l LOCAL0 -4 -u zimbra -h dap://mail.mpseast.com:389 -f /opt/zimbra/conf/slapd.conf
    Quote Originally Posted by sowens View Post
    Initializing ldap...daemon: bind(7) failed errno=99 (Cannot assign requested address)
    slap_open_listener: failed on ldap://mail.mpseast.com:389
    ERROR - failed to start slapd

    FAILED (1)


    ERROR



    Configuration failed

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

    John

  3. #3
    stealth is offline Zimbra Employee
    Join Date
    May 2007
    Posts
    8
    Rep Power
    8

    Default

    Hey John,
    I got the same issue. I ran the command you suggested and here is the output:

    [root@XX12 zimbra]# sudo /opt/zimbra/openldap-2.3.34/libexec/slapd -d7 -l LOCAL0 -4 -u zimbra -h dap://mail.mpseast.com:389 -f /opt/zimbra/conf/slapd.conf
    @(#) $OpenLDAP: slapd 2.3.34 (Mar 28 2007 13:42:25) $
    build@build.liquidsys.com:/home/build/p4/main/ThirdParty/openldap/openldap-2.3.34/servers/slapd
    daemon_init: dap://mail.mpseast.com:389
    daemon_init: listen on dap://mail.mpseast.com:389
    daemon_init: 1 listeners to open...
    ldap_url_parse_ext(dap://mail.mpseast.com:389)
    daemon: listen URL "dap://mail.mpseast.com:389" parse error=3
    slapd stopped.
    connections_destroy: nothing to destroy.
    [root@XX12 zimbra]#

    Any ideas?

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,479
    Rep Power
    56

    Default

    You might like to a) put the FQDN of your own server in there instead of mail.mpseast.com and b) correct the typo on the part of the command following the -h option from 'dap:' to 'ldap:' and run it again.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    stealth is offline Zimbra Employee
    Join Date
    May 2007
    Posts
    8
    Rep Power
    8

    Default

    Hi Bill,

    Sorry my bad. I was not paying attention. Here is the output again:

    [root@qa12 libexec]# sudo /opt/zimbra/openldap-2.3.34/libexec/slapd -d7 -l LOCAL0 -4 -u zimbra -h ldap://qaclus01.liquisys.com:389 -f /opt/zimbra/conf/slapd.conf
    @(#) $OpenLDAP: slapd 2.3.34 (Mar 28 2007 13:42:25) $
    build@build.liquidsys.com:/home/build/p4/main/ThirdParty/openldap/openldap-2.3.34/servers/slapd
    daemon_init: ldap://qaclus01.liquisys.com:389
    daemon_init: listen on ldap://qaclus01.liquisys.com:389
    daemon_init: 1 listeners to open...
    ldap_url_parse_ext(ldap://qaclus01.liquisys.com:389)
    daemon: bind(7) failed errno=99 (Cannot assign requested address)
    slap_open_listener: failed on ldap://qaclus01.liquisys.com:389
    slapd stopped.
    connections_destroy: nothing to destroy.
    [root@qa12 libexec]#

    Any ideas now?

    Thanks

  6. #6
    stealth is offline Zimbra Employee
    Join Date
    May 2007
    Posts
    8
    Rep Power
    8

    Default

    I might have sand in my eyes. I forgot to:

    ip adde add xx.xx.xx.xx dev eth1

    Ugggghh!!!

    Is working now.

    Cheers
    Last edited by stealth; 05-31-2007 at 09:57 PM.

  7. #7
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    For those who may view this thread in the future, an error 99 for ldap start is almost always a hostsfile issue.

    It can't bind to an IP cause it can't connect to that particular IP.

    ALWAYS make sure you hosts file is correct.

    jh

  8. #8
    KarLMarX is offline New Member
    Join Date
    Nov 2007
    Posts
    4
    Rep Power
    7

    Default Help--errno=99

    hi,

    I just installing zcs-4.5.7_GA_1454.RHEL5.tgz on Centos 5. Then i got this error:

    Error
    Initializing ldap .... Failed errno=99 (Cannot assign requested address)
    slap_open_listener : failed on ldap ://mail.daquarian.com:389
    FAILED (1)
    Configuration failed

  9. #9
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,479
    Rep Power
    56

    Default

    Welcome to the forums.

    Did your read the answer in the post above yours? That should fix your problem. A search of the forums would show that LDAP problems are almost always caused by hostfile and/or DNS problems - have you done a search. Please install 4.5.9 as it's the most recent release.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    PhishKiller is offline Active Member
    Join Date
    Nov 2007
    Posts
    48
    Rep Power
    7

    Default

    I just removed the OpenSource version and attempted install of the EnterpriseNetwork version. I'll check the LDAP versions in that package, since I am having the Error=99 problem starting LDAP.

    I've changed our DNS and MX records to that they are all aligned.

    testmail.domain.com

    is the domain name, hostname and MX record pointer. Still error=99. What is weird is that during the LDAP startup, somewhere it's snagging mail.domain.com even though I can't find any reference to it in /etc/hosts, /etc/hostname, /etc/network/config/... nowhere..

    If only I could install Zimbra without LDAP. I might be a happier person.

    I will check th LDAP package version, or should I download/upgrade from the latest Zimbra distro?

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 23
    Last Post: 01-24-2013, 03:44 PM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  4. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 PM
  5. Building native libraries on MacOS X
    By ajmas in forum Developers
    Replies: 3
    Last Post: 10-14-2005, 11:00 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
  •