Results 1 to 2 of 2

Thread: Starting saslauthd. fails

  1. #1
    Join Date
    Nov 2009
    Posts
    7
    Rep Power
    6

    Exclamation Starting saslauthd. fails

    My zimbra server stopped working this night.

    [zimbra@mail root]$ zmcontrol start
    Host mail.ecoconcept.eu
    Starting ldap...Done.
    Unable to determine enabled services from ldap.
    Enabled services read from cache. Service list may be inaccurate.
    Starting zmconfigd...Done.
    Starting logger...Failed.
    Starting logswatch...ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.net.ssl.SSLHandshakeException sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed)
    zimbra logger service is not enabled! failed.


    Starting mailbox...Done.
    Starting memcached...Done.
    Starting imapproxy...Done.
    Starting antispam...Done.
    Starting antivirus...Done.
    Starting snmp...Done.
    Starting spell...Done.
    Starting mta...Failed.
    Starting saslauthd...saslauthd[7822] :set_auth_mech : failed to initialize mechanism zimbra
    failed.
    zmsaslauthdctl failed to start


    Starting stats...Done.

  2. #2
    Join Date
    Nov 2009
    Posts
    7
    Rep Power
    6

    Default Solved

    Quote Originally Posted by simax View Post
    My zimbra server stopped working this night.

    [zimbra@mail root]$ zmcontrol start
    Host mail.ecoconcept.eu
    Starting ldap...Done.
    Unable to determine enabled services from ldap.
    Enabled services read from cache. Service list may be inaccurate.
    Starting zmconfigd...Done.
    Starting logger...Failed.
    Starting logswatch...ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.net.ssl.SSLHandshakeException sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed)
    zimbra logger service is not enabled! failed.


    Starting mailbox...Done.
    Starting memcached...Done.
    Starting imapproxy...Done.
    Starting antispam...Done.
    Starting antivirus...Done.
    Starting snmp...Done.
    Starting spell...Done.
    Starting mta...Failed.
    Starting saslauthd...saslauthd[7822] :set_auth_mech : failed to initialize mechanism zimbra
    failed.
    zmsaslauthdctl failed to start


    Starting stats...Done.
    found this solution after some recherche :

    Further investigations led to the real problem (and its resolution):

    ~]# /opt/zimbra/bin/zmcertmgr viewdeployedcrt
    ::service mta::
    notBefore=Jun 11 14:48:23 2011 GMT
    notAfter=Jun 11 14:48:23 2012 GM
    ...

    Server certificate is expired!

    LetŐs renew our self signed certificate for Zimbra deployment!

    First of all, letŐs stop all Zimbra related services (if not already done):

    ~]# su - zimbra

    ~]$ zmcontrol stop

    then, create a new Certification Authority:

    (Note that from now on, following commands must be run as root)

    ~]# /opt/zimbra/bin/zmcertmgr createca -new

    Now, create a new certificate. We want to chill out, so expiration time is set to 3650 days (10 years):

    ~]# /opt/zimbra/bin/zmcertmgr createcrt -new -days 3650

    Now deploy the cert and the CA:


    ~]# /opt/zimbra/bin/zmcertmgr deploycrt self
    ~]# /opt/zimbra/bin/zmcertmgr deployca

    Finally, letŐs check the deployed cert:

    ~]# /opt/zimbra/bin/zmcertmgr viewdeployedcrt
    ::service mta::
    notBefore=Jun 11 15:08:23 2012 GMT
    notAfter=Jun 11 15:08:23 2022 GM
    ...

    Great! We may now start Zimbra service with no hassles:

    ~]# su - zimbra

    ~]$ zmcontrol start

Similar Threads

  1. saslauthd dying
    By finth in forum Administrators
    Replies: 0
    Last Post: 08-11-2010, 05:41 AM
  2. Replies: 9
    Last Post: 06-15-2009, 10:31 AM
  3. saslauthd fails authentication.
    By SageMajor in forum Administrators
    Replies: 0
    Last Post: 05-09-2009, 07:51 AM
  4. Problem with saslauthd
    By dgoldsmith in forum Installation
    Replies: 0
    Last Post: 04-01-2009, 09:53 AM
  5. saslauthd files help
    By jgao in forum Administrators
    Replies: 2
    Last Post: 01-26-2006, 05:54 PM

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
  •