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 05-24-2007, 10:17 AM
New Member
 
Posts: 3
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
Reply With Quote
  #2 (permalink)  
Old 05-24-2007, 10:37 AM
Former Zimbran
 
Posts: 5,606
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
Reply With Quote
  #3 (permalink)  
Old 05-31-2007, 11:23 AM
Zimbra Employee
 
Posts: 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?
Reply With Quote
  #4 (permalink)  
Old 05-31-2007, 12:44 PM
Zimbra Consultant & Moderator
 
Posts: 20,317
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
Reply With Quote
  #5 (permalink)  
Old 05-31-2007, 03:19 PM
Zimbra Employee
 
Posts: 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
Reply With Quote
  #6 (permalink)  
Old 05-31-2007, 05:59 PM
Zimbra Employee
 
Posts: 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..
Reply With Quote
  #7 (permalink)  
Old 05-31-2007, 07:45 PM
Former Zimbran
 
Posts: 5,606
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
Reply With Quote
  #8 (permalink)  
Old 11-16-2007, 01:05 AM
New Member
 
Posts: 4
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
Reply With Quote
  #9 (permalink)  
Old 11-16-2007, 01:17 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
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
Reply With Quote
  #10 (permalink)  
Old 11-16-2007, 01:29 PM
Active Member
 
Posts: 48
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?
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.