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 10-31-2007, 03:00 PM
Member
 
Posts: 11
Default [SOLVED] Zimbra upgrade failing (ldap won't start)

I was previously running the 4.5.6 GA Ubuntu release for 6.06. I have that on my server (Ubuntu Edgy 6.06) and I'm trying to upgrade to the 4.5.9 GA release. I've backed up the /opt/zimbra directory and downloaded the 4.5.9 release. After doing so, I am running a ./install.sh. During the installation, the problem I continue to run into is that ldap won't start. I get a wide variety of errors including:

* Permission denied to the slapd.conf file
* ldap_bind: Invalid credentials (49)
* Address already in use

-- snip of errors --
ldap startup failed with exit code 256
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'
checking isEnabled zimbra-store
zimbra-store not in enabled cache
enabled packages
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
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://arioch.myhost54.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://arioch.myhost54.com:389

-- end snip of errors -

As a result, I can't get the upgrade to install properly. I can, however, get a fresh install working just fine. I have no problems with that and would be more than willing to transfer the imap folder content via command line script from one server to the next, but that requires me to setup the old zimbra directory and get it working as a mail server, which I can't seem to do.

Suggestions? Any help would be awesome.

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 10-31-2007, 11:59 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by bango View Post
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://arioch.myhost54.com:389
Before you run the installer check to see if there's any other Zimbra processes running, if there is then kill them and try again. Please check the wiki article on LDAP Troubleshooting.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 11-09-2007, 11:16 AM
Junior Member
 
Posts: 9
Default

Did you ever get this problem resolved? I've been fighting the exact same issue for days. Going from 4.5.5_GA_838.UBUNTU6 to 4.5.9

The link to the article seems to be bad but I did find several others and nothing so far has worked. I did make backups so I at least can move back after I work on it for a few hours.

Thanks
Jon


Quote:
Originally Posted by phoenix View Post
Before you run the installer check to see if there's any other Zimbra processes running, if there is then kill them and try again. Please check the wiki article on LDAP Troubleshooting.
Reply With Quote
  #4 (permalink)  
Old 11-09-2007, 12:09 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

The link to the article is fine, it works for me. Here it is again LDAP - Zimbra :: Wiki if you haven't seen it already.

Let's see some log information to show what the problem is. Have you checked that your DNS is OK? Do the following:

Code:
host `hostname`
dig yourdomain.com mx
dig yourdomain.com any
what does that reveal?
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 11-09-2007, 12:46 PM
Junior Member
 
Posts: 9
Default

Well, it seems there was an upgrade from 6.06 to 6.10 done a few days ago. I didn't even think to look. Once I had that little tidbit of info I was able to do a search and find what I needed to get LDAP working. A bit of 'dash' in the mix to mess things up it seems. I'm still having problems with the link in the message but the actual LDAP trouble shooting entry is fine and contained the fix I needed.

Thanks
Jon



Kpm


Quote:
Originally Posted by phoenix View Post
The link to the article is fine, it works for me. Here it is again LDAP - Zimbra :: Wiki if you haven't seen it already.

Let's see some log information to show what the problem is. Have you checked that your DNS is OK? Do the following:

Code:
host `hostname`
dig yourdomain.com mx
dig yourdomain.com any
what does that reveal?
Reply With Quote
  #6 (permalink)  
Old 11-09-2007, 12:59 PM
Moderator
 
Posts: 6,237
Default

hm works just now for me (shrugs) though you should be able to browse to http:// wiki.zimbra.com then search 'ldap' if you need as well

I'm gonna mark this thread resolved, as bango has newer posts that would suggest he's running fine. ([SOLVED] Rolling Your Own CA and Installing Certificates in Zimbra)
Bango, do let us know if this isn't the case however!

Last edited by mmorse; 11-09-2007 at 01:02 PM..
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.