Results 1 to 6 of 6

Thread: [SOLVED] Zimbra upgrade failing (ldap won't start)

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

    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.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    May 2007
    Posts
    9
    Rep Power
    8

    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.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    May 2007
    Posts
    9
    Rep Power
    8

    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?

  6. #6
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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. (http://www.zimbra.com/forums/install...es-zimbra.html)
    Bango, do let us know if this isn't the case however!
    Last edited by mmorse; 11-09-2007 at 02:02 PM.

Similar Threads

  1. Zimbra .pids / service monitoring
    By bin2hex in forum Administrators
    Replies: 24
    Last Post: 04-03-2010, 10:12 PM
  2. Replies: 12
    Last Post: 02-24-2008, 12:16 AM
  3. upgrade woes -made into new thread
    By JustinHarlow in forum Installation
    Replies: 18
    Last Post: 06-08-2007, 01:11 PM
  4. Replies: 7
    Last Post: 01-24-2007, 11:03 PM
  5. zimbra-core missing
    By kinaole in forum Developers
    Replies: 1
    Last Post: 10-02-2006, 12:59 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
  •