Results 1 to 9 of 9

Thread: [SOLVED] Zimbra Upgrade from 4.5.6 to 4.5.7 fails (ldap start error 256)

  1. #1
    s0nspark is offline Member
    Join Date
    Mar 2007
    Posts
    10
    Rep Power
    8

    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

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

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    s0nspark is offline Member
    Join Date
    Mar 2007
    Posts
    10
    Rep Power
    8

    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

  4. #4
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    daemon: bind(7) failed errno=98 (Address already in use)
    you've already got a slapd daemon running. kill it.

  5. #5
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    sorry you solved it.

    ignore me......

  6. #6
    Srikanth G is offline Active Member
    Join Date
    Apr 2009
    Posts
    31
    Rep Power
    5

    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.........................

  7. #7
    pegleglax is offline New Member
    Join Date
    Jul 2009
    Posts
    3
    Rep Power
    5

    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

  8. #8
    tricamtech is offline Starter Member
    Join Date
    Dec 2010
    Posts
    1
    Rep Power
    4

    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!

  9. #9
    pegleglax is offline New Member
    Join Date
    Jul 2009
    Posts
    3
    Rep Power
    5

    Default Awesome

    Quote Originally Posted by tricamtech View Post
    You just saved me HOURS! I owe you a beer!! or 3!
    Glad to hear

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 05:43 AM
  2. Replies: 31
    Last Post: 12-15-2007, 09:05 PM
  3. Error loading on Mac OS X 10.4.10 server PPC
    By qprcanada in forum Installation
    Replies: 7
    Last Post: 10-26-2007, 06:25 AM
  4. Replies: 7
    Last Post: 01-24-2007, 11:03 PM
  5. FC3 Install and no zimbra ?
    By aws in forum Installation
    Replies: 10
    Last Post: 10-09-2005, 04:19 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
  •