Results 1 to 5 of 5

Thread: Ubuntu + Zimbra (stopped working LDAP)

  1. #1
    3d_46 is offline New Member
    Join Date
    Oct 2013
    Posts
    3
    Rep Power
    1

    Default Ubuntu + Zimbra (stopped working LDAP)

    Hello. Can anyone encountered this problem. The situation is this, after rebooting the mail server
    (Ubuntu 10.04 LTS + Zimbra Release 7.1.1_GA_3196.UBUNTU10_64 UBUNTU10_64 FOSS edition)
    stopped working LDAP:

    zimbra@mail:/home/vl$ zmcontrol start
    Host mail.xxx-xxx.com
    Starting ldap...Done.
    Failed.
    /opt/zimbra/bin/ldap: line 56: kill: (1609) - No such process
    /opt/zimbra/bin/ldap: line 56: kill: (1609) - No such process
    /opt/zimbra/bin/ldap: line 56: kill: (1609) - No such process
    /opt/zimbra/bin/ldap: line 56: kill: (1609) - No such process
    /opt/zimbra/bin/ldap: line 56: kill: (1609) - No such process
    /opt/zimbra/bin/ldap: line 56: kill: (1609) - No such process
    /opt/zimbra/bin/ldap: line 56: kill: (1609) - No such process
    Failed to start slapd. Attempting debug start to determine error.

    Help please.

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

    Default

    You're going to have to look in the log files for some indication of what's causing the problem. What has happened on your server recently that might have caused the problem, any recent updates/upgrades? Have you rebooted the server prior to this problem and were there any problems with that? Have you checked if your Self Signed Certificates are still valid? If they're not regenerate them.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    3d_46 is offline New Member
    Join Date
    Oct 2013
    Posts
    3
    Rep Power
    1

    Default

    The updates are not installed. Rebooted the server because of slow work, periodically begins to slow down. Certificates of workers, to 04.2014.
    zimbra.log :
    Oct 28 13:10:02 mail postfix/postqueue[1288]: fatal: Queue report unavailable - mail system is down
    Oct 28 13:10:02 mail zimbramon[1263]: 1263:info: 2013-10-28 13:10:02, QUEUE: 0 0
    Oct 28 13:10:09 mail zmmailboxdmgr[1618]: status requested
    Oct 28 13:10:09 mail zmmailboxdmgr[1618]: stale pid 2926 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
    Oct 28 13:10:09 mail zmmailboxdmgr[1618]: assuming no other instance is running
    Oct 28 13:10:09 mail zmmailboxdmgr[1618]: file /opt/zimbra/log/zmmailboxd.pid does not exist
    Oct 28 13:10:09 mail zmmailboxdmgr[1618]: assuming no other instance is running
    Oct 28 13:10:09 mail zmmailboxdmgr[1618]: no manager process is running
    Oct 28 13:10:15 mail authdaemond: modules="authmysql", daemons=5
    Oct 28 13:10:15 mail authdaemond: Installing libauthmysql
    Oct 28 13:10:15 mail authdaemond: Installation complete: authmysql
    Oct 28 13:10:18 mail saslauthd[1969]: detach_tty : master pid is: 1969
    Oct 28 13:10:18 mail saslauthd[1969]: ipc_init : listening on socket: /var/spool/postfix/var/run/saslauthd/mux
    Oct 28 13:10:19 mail zimbramon[2023]: 2023:info: Starting services initiated by zmcontrol
    Oct 28 13:10:19 mail slapd[2067]: @(#) $OpenLDAP: slapd 2.4.25 (Apr 11 2011 15:08:56) $#012#011root@zre-ubuntu10-64:/home/build/p4/HELIX/ThirdParty/openldap/openldap-2.4.25.4z/servers/slapd
    Oct 28 13:10:19 mail slapd[2067]: str2entry: entry -1 has no dn
    Oct 28 13:10:19 mail slapd[2067]: slapd stopped.
    Oct 28 13:10:19 mail slapd[2067]: connections_destroy: nothing to destroy.
    ----------------------
    Oct 28 13:10:54 mail slapd[2089]: @(#) $OpenLDAP: slapd 2.4.25 (Apr 11 2011 15:08:56) $#012#011root@zre-ubuntu10-64:/home/build/p4/HELIX/ThirdParty/openldap/openldap-2.4.25.4z/servers/slapd
    Oct 28 13:10:55 mail slapd[2089]: str2entry: entry -1 has no dn
    Oct 28 13:10:55 mail slapd[2089]: slapd stopped.
    Oct 28 13:10:55 mail slapd[2089]: connections_destroy: nothing to destroy.
    Oct 28 13:12:05 mail zmmailboxdmgr[2314]: status requested
    Oct 28 13:12:05 mail zmmailboxdmgr[2314]: stale pid 2926 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
    Oct 28 13:12:05 mail zmmailboxdmgr[2314]: assuming no other instance is running
    Oct 28 13:12:05 mail zmmailboxdmgr[2314]: file /opt/zimbra/log/zmmailboxd.pid does not exist
    Oct 28 13:12:05 mail zmmailboxdmgr[2314]: assuming no other instance is running
    Oct 28 13:12:05 mail zmmailboxdmgr[2314]: no manager process is running
    Oct 28 13:12:29 mail sshd[2414]: Accepted password for vl from 192.168.10.50 port 1798 ssh2
    Oct 28 13:13:40 mail zmmailboxdmgr[2760]: status requested
    Oct 28 13:13:40 mail zmmailboxdmgr[2760]: stale pid 2926 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
    Oct 28 13:13:40 mail zmmailboxdmgr[2760]: assuming no other instance is running
    Oct 28 13:13:40 mail zmmailboxdmgr[2760]: file /opt/zimbra/log/zmmailboxd.pid does not exist
    Oct 28 13:13:40 mail zmmailboxdmgr[2760]: assuming no other instance is running
    Oct 28 13:13:40 mail zmmailboxdmgr[2760]: no manager process is running
    Oct 28 13:14:43 mail authdaemond: modules="authmysql", daemons=5
    Oct 28 13:14:43 mail authdaemond: Installing libauthmysql
    Oct 28 13:14:43 mail authdaemond: Installation complete: authmysql
    Oct 28 13:14:46 mail saslauthd[1501]: detach_tty : master pid is: 1501
    Oct 28 13:14:46 mail saslauthd[1501]: ipc_init : listening on socket: /var/spool/postfix/var/run/saslauthd/mux
    Oct 28 13:14:48 mail zimbramon[1555]: 1555:info: Starting services initiated by zmcontrol
    Oct 28 13:14:49 mail slapd[1601]: @(#) $OpenLDAP: slapd 2.4.25 (Apr 11 2011 15:08:56) $#012#011root@zre-ubuntu10-64:/home/build/p4/HELIX/ThirdParty/openldap/openldap-2.4.25.4z/servers/slapd
    Oct 28 13:14:49 mail slapd[1601]: str2entry: entry -1 has no dn
    Oct 28 13:14:49 mail slapd[1601]: slapd stopped.
    Oct 28 13:14:49 mail slapd[1601]: connections_destroy: nothing to destroy.
    ------
    __________________________________________________ ____________________________

  4. #4
    3d_46 is offline New Member
    Join Date
    Oct 2013
    Posts
    3
    Rep Power
    1

    Default

    Just in case, I decided to update the certificate:

    root@mail:/# /opt/zimbra/bin/zmcertmgr createca -new
    ** Creating directory /opt/zimbra/ssl/zimbra
    ** Creating directory /opt/zimbra/ssl/zimbra/ca
    ** Creating directory /opt/zimbra/ssl/zimbra/server
    ** Creating directory /opt/zimbra/ssl/zimbra/commercial
    ** Creating /opt/zimbra/ssl/zimbra/ca/zmssl.cnf...done
    ** Creating CA private key /opt/zimbra/ssl/zimbra/ca/ca.key...done.
    ** Creating CA cert /opt/zimbra/ssl/zimbra/ca/ca.pem...done.
    __________________________________________________ ___
    root@mail:/# /opt/zimbra/bin/zmcertmgr createcrt -new -days 365
    Validation days: 365
    ** Creating /opt/zimbra/conf/zmssl.cnf...done
    ** Backup /opt/zimbra/ssl/zimbra to /opt/zimbra/ssl/zimbra.20131029160425
    ** Generating a server csr for download self -new -keysize 1024
    ** Backup /opt/zimbra/ssl/zimbra to /opt/zimbra/ssl/zimbra.20131029160425
    ** Retrieving Commercial CA cert from ldap...failed.
    ** Creating server cert request /opt/zimbra/ssl/zimbra/server/server.csr...done.
    ** Saving server config key zimbraSSLPrivateKey...failed.
    ** Signing cert request /opt/zimbra/ssl/zimbra/server/server.csr...done.
    __________________________________________________ ___
    root@mail:/# /opt/zimbra/bin/zmcertmgr deploycrt self
    ** Saving server config key zimbraSSLCertificate...failed.
    ** Saving server config key zimbraSSLPrivateKey...failed.
    ** Installing mta certificate and key...done.
    ** Installing slapd certificate and key...done.
    ** Installing proxy certificate and key...done.
    ** Creating pkcs12 file /opt/zimbra/ssl/zimbra/jetty.pkcs12...done.
    ** Creating keystore file /opt/zimbra/mailboxd/etc/keystore...done.
    ** Installing CA to /opt/zimbra/conf/ca...done.
    __________________________________________________ ____
    root@mail:/# /opt/zimbra/bin/zmcertmgr deployca
    ** Importing CA /opt/zimbra/ssl/zimbra/ca/ca.pem into CACERTS...done.
    ** Saving global config key zimbraCertAuthorityCertSelfSigned...failed.
    ** Saving global config key zimbraCertAuthorityKeySelfSigned...failed.
    ** Copying CA to /opt/zimbra/conf/ca...done.
    __________________________________________________ _____
    root@mail:/# /opt/zimbra/bin/zmcertmgr viewdeployedcrt
    ::service mta::
    notBefore=Oct 29 13:04:30 2013 GMT
    notAfter=Oct 29 13:04:30 2014 GMT
    subject= /C=US/ST=N/A/O=Zimbra Collaboration Suite/OU=Zimbra Collaboration Suite/CN=mail.xxx-xxx.com
    issuer= /C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite/OU=Zimbra Collaboration Suite/CN=mail.xxx-xxx.com
    SubjectAltName=
    ::service proxy::
    notBefore=Oct 29 13:04:30 2013 GMT
    notAfter=Oct 29 13:04:30 2014 GMT
    subject= /C=US/ST=N/A/O=Zimbra Collaboration Suite/OU=Zimbra Collaboration Suite/CN=mail.xxx-xxx.com
    issuer= /C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite/OU=Zimbra Collaboration Suite/CN=mail.xxx-xxx.com
    SubjectAltName=
    ::service mailboxd::
    notBefore=Oct 29 13:04:30 2013 GMT
    notAfter=Oct 29 13:04:30 2014 GMT
    subject= /C=US/ST=N/A/O=Zimbra Collaboration Suite/OU=Zimbra Collaboration Suite/CN=mail.xxx-xxx.com
    issuer= /C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite/OU=Zimbra Collaboration Suite/CN=mail.xxx-xxx.com
    SubjectAltName=
    ::service ldap::
    notBefore=Oct 29 13:04:30 2013 GMT
    notAfter=Oct 29 13:04:30 2014 GMT
    subject= /C=US/ST=N/A/O=Zimbra Collaboration Suite/OU=Zimbra Collaboration Suite/CN=mail.xxx-xxx.com
    issuer= /C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite/OU=Zimbra Collaboration Suite/CN=mail.xxx-xxx.com
    SubjectAltName=
    __________________________________________________ _______________________

    Judging by the actions, update the certificate was in error.

  5. #5
    quanah is online now Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,265
    Rep Power
    10

    Default

    Your LDAP database is corrupt

    Code:
    Oct 28 13:10:54 mail slapd[2089]: @(#) $OpenLDAP: slapd 2.4.25 (Apr 11 2011 15:08:56) $#012#011root@zre-ubuntu10-64:/home/build/p4/HELIX/ThirdParty/openldap/openldap-2.4.25.4z/servers/slapd
    Oct 28 13:10:55 mail slapd[2089]: str2entry: entry -1 has no dn
    Oct 28 13:10:55 mail slapd[2089]: slapd stopped.
    Oct 28 13:10:55 mail slapd[2089]: connections_destroy: nothing to destroy.
    Fairly obvious from the log.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 08-15-2012, 09:22 AM
  2. Zimbra stopped working - something to do with ldap?
    By geoffDeGeoffGeoff in forum Installation
    Replies: 3
    Last Post: 02-18-2010, 12:29 AM
  3. Zimbra stopped working - something to do with ldap?
    By geoffDeGeoffGeoff in forum Administrators
    Replies: 3
    Last Post: 02-18-2010, 12:29 AM
  4. LDAP stopped working after yum upgrade to CentOS 5.4
    By powrrrplay in forum Administrators
    Replies: 0
    Last Post: 01-05-2010, 08:05 AM
  5. LDAP auth working only when firewall stopped
    By brousky in forum Installation
    Replies: 1
    Last Post: 09-19-2006, 06:32 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •