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 09-22-2007, 07:30 AM
Member
 
Posts: 10
Default [SOLVED] Zimbra Upgrade from 4.5.6 to 4.5.7 fails (ldap start error 256)

I am doing a single-server upgrade from 4.5.6 to 4.5.7 and when zmsetup.pl runs I end up in a loop trying to start ldap... Any help appreciated ... I'm dead in the water at the moment :-/

Here is the log snippet:

-----------------------------------

Getting local config ldap_url
zimbra_server_hostname contained in ldap_url checking ldap status
Checking ldap status
*** Running as zimbra user: /opt/zimbra/bin/ldap status
Starting ldap
*** Running as zimbra user: /opt/zimbra/sleepycat/bin/db_recover -h /opt/zimbra/openldap-data
*** Running as zimbra user: /opt/zimbra/openldap/sbin/slapindex -b '' -q -f /opt/zimbra/conf/slapd.conf
slapindex: slap_init no backend for ""
*** Running as zimbra user: /opt/zimbra/libexec/zmldapapplyldif
sed: can't read /opt/zimbra/openldap/etc/openldap/slapd.conf: Permission denied
Failed to start slapd. Attempting debug start to determine error.
daemon: bind(7) failed errno=98 (Address already in use)
slap_open_listener: failed on ldap://mail.s0nspark.com:389

ldap_bind: Invalid credentials (49)
ldap_bind: Invalid credentials (49)
ldap_bind: Invalid credentials (49)
ldap_bind: Invalid credentials (49)
ldap_bind: Invalid credentials (49)
ls: /opt/zimbra/lib/conf/*ldif: No such file or directory
*** Running as zimbra user: /opt/zimbra/bin/ldap status
*** Running as zimbra user: /opt/zimbra/bin/ldap start
Failed to start slapd. Attempting debug start to determine error.
daemon: bind(7) failed errno=98 (Address already in use)
slap_open_listener: failed on ldap://mail.s0nspark.com:389

ldap startup failed with exit code 256
checking isEnabled zimbra-core
zimbra-core not in enabled cache
enabled packages
zimbra_server_hostname contained in ldap_url checking ldap status

-----------------------------------

I should point out that sldap.conf exists and is owned by root, not zimbra and I've been using a self-signed certificate.

Last edited by s0nspark; 09-22-2007 at 07:31 AM.. Reason: clarification
Reply With Quote
  #2 (permalink)  
Old 09-22-2007, 08:27 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Is this a Debian installation, by any chance? I'd suggest you run the zmfixperms script and try the install again with the -s option..
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 09-22-2007, 09:05 AM
Member
 
Posts: 10
Default

Quote:
Originally Posted by phoenix View Post
Is this a Debian installation, by any chance? I'd suggest you run the zmfixperms script and try the install again with the -s option..
Yes it is (well, Ubuntu...) ... I did both as suggested... The script suggested I run zmsetup.pl to configure so I did but ended up in the same loop. I killed the zmsetup.pl process, ran zmfixperms and then reran zmsetup.pl ... that did the trick for me.

I really don't understand the perms got screwed up in the first place, though. :-/

Last edited by s0nspark; 09-22-2007 at 09:18 AM.. Reason: clarity
Reply With Quote
  #4 (permalink)  
Old 09-23-2007, 04:37 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

Quote:
daemon: bind(7) failed errno=98 (Address already in use)
you've already got a slapd daemon running. kill it.
Reply With Quote
  #5 (permalink)  
Old 09-23-2007, 04:38 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

sorry you solved it.

ignore me......
Reply With Quote
  #6 (permalink)  
Old 06-04-2009, 12:25 AM
Active Member
 
Posts: 31
Thumbs up zimbra services

Thanks alot the issue was resolved for me

Actually the LDAP service is not running from 1day

then I killed all the processes first by running the command

killall -TERM slapd

and then I started the Zimbra servives

zmcontrol start

The services started successfully.........................
Reply With Quote
  #7 (permalink)  
Old 08-01-2009, 07:42 AM
New Member
 
Posts: 3
Default Silly me...

I found this thread by searching google for the symptoms.

Tuns out backups had eaten up all my HDD space....

did a "df" in console to figure that out. cleared room.rebooted. works
Reply With Quote
  #8 (permalink)  
Old 12-23-2010, 10:13 AM
Starter Member
 
Posts: 1
Default Thank You Thank You Thank You

Quote:
Originally Posted by pegleglax View Post
I found this thread by searching google for the symptoms.

Tuns out backups had eaten up all my HDD space....

did a "df" in console to figure that out. cleared room.rebooted. works
You just saved me HOURS! I owe you a beer!! or 3!
Reply With Quote
  #9 (permalink)  
Old 12-23-2010, 10:17 AM
New Member
 
Posts: 3
Default Awesome

Quote:
Originally Posted by tricamtech View Post
You just saved me HOURS! I owe you a beer!! or 3!
Glad to hear
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.