Results 1 to 7 of 7

Thread: Starting saslauthd failed after upgrade Zimbra 7.2.0 OSE to 8

  1. #1
    Join Date
    Oct 2012
    Posts
    16
    Rep Power
    3

    Default Starting saslauthd failed after upgrade Zimbra 7.2.0 OSE to 8

    Hi,

    After upgrade from Ubuntu 10.04 LTS 64 bits Zimbra OSE 7.2.0 to Zimbra OSE 8

    I have this error :

    Code:
    Starting saslauthd...saslauthd[24011] :set_auth_mech   : failed to initialize mechanism zimbra
    failed.
    zmsaslauthdctl failed to start
    opendkim: /opt/zimbra/conf/opendkim.conf: configuration error at line 0: error reading configuration file
    Failed to start opendkim: 0
    zmopendkimctl failed to start
    In /opt/zimbra/conf, i found only opendkim.conf.in and opendkim-localnets.conf.in

    opendkim.conf :
    Code:
    UserID                zimbra:zimbra
    UMask                 022
    Socket                %%zimbraInetMode%%:8465@%%zimbraMilterBindAddress%%
    PidFile               /opt/zimbra/log/opendkim.pid
    
    LDAPBindUser            uid=zmpostfix,cn=appaccts,cn=zimbra
    LDAPBindPassword        @@ldap_postfix_password@@
    LDAPUseTLS              @@ldap_starttls_supported@@
    LDAPTimeout             30
    LDAPKeepaliveIdle       240
    LDAPKeepaliveProbes     10
    LDAPKeepaliveInterval   30
    SigningTable            @@opendkim_signingtable_uri@@
    KeyTable                @@opendkim_keytable_uri@@
    Canonicalization        relaxed/relaxed
    ReportAddress           @@av_notify_user@@
    SignHeaders             message-id,date,from,reply-to,mime-version,to,subject,content-type,content-transfer-encoding
    
    On-BadSignature       accept
    On-DNSError           tempfail
    On-InternalError      tempfail
    On-NoSignature        accept
    On-Security           tempfail
    
    AllowSHA1Only         no
    AlwaysAddARHeader     no
    AuthservIDWithJobId   yes
    AutoRestart           yes
    AutoRestartCount      20
    AutoRestartRate       10/1h
    Background            Yes
    ClockDrift            300
    DNSTimeout            10
    DomainKeysCompat      no
    EnableCoredumps       yes
    FixCRLF               no
    MaximumHeaders        65536
    Minimum               0
    Mode                  s
    MultipleSignatures    no
    NoHeaderB             no
    RequireSafeKeys       Yes
    SignatureAlgorithm    rsa-sha256
    SignatureTTL          0
    StrictHeaders         no
    StrictTestMode        no
    SubDomains            no
    InternalHosts         file:/opt/zimbra/conf/opendkim-localnets.conf
    
    SendADSPReports       no
    SendReports           no
    Diagnostics           no
    LogWhy                yes
    Quarantine            no
    ResolverTracing       no
    Syslog                yes
    SyslogFacility        LOCAL0
    SyslogSuccess         no
    X-Header              yes
    TemporaryDirectory    /opt/zimbra/data/tmp
    X-Header              yes
    TemporaryDirectory    /opt/zimbra/data/tmp
    KeepTemporaryFiles    no
    MilterDebug           0
    opendkim-localnets.conf:
    Code:
    %%zimbraMtaMyNetworksPerLine%%
    I executed this :
    Code:
    cp opendkim.conf.in opendkim.conf
    cp opendkim-localnets.conf.in opendkim-localnets.conf
    chown zimbra:zimbra opendkim*
    But i have always the error :

    Code:
    Starting saslauthd...saslauthd[8758] :set_auth_mech   : failed to initialize mechanism zimbra
    failed.
    zmsaslauthdctl failed to start
    opendkim: /opt/zimbra/conf/opendkim.conf: configuration error at line 8: illegal value
    Failed to start opendkim: 0
    zmopendkimctl failed to start
    What i can do ?
    Last edited by alisou; 10-10-2012 at 06:48 AM.

  2. #2
    Join Date
    Nov 2011
    Location
    Hungary
    Posts
    30
    Rep Power
    4

    Default

    Are you sure that you are installed the correct zimbra 8 package?
    If you are not upgraded your linux distro you need to the the 10.04 package not the 12.04!

    If you are installed the right version try this with root:
    /opt/zimbra/libexec/zmfixperms --verbose --extended

    then restart your zimbra server.

    This is how should look like the opendkim.conf:

    Code:
    UserID                zimbra:zimbra
    UMask                 022
    Socket                inet:8465@127.0.0.1
    PidFile               /opt/zimbra/log/opendkim.pid
    
    LDAPBindUser            uid=zmpostfix,cn=appaccts,cn=zimbra
    LDAPBindPassword        XXXXXX
    LDAPUseTLS              0
    LDAPTimeout             30
    LDAPKeepaliveIdle       240
    LDAPKeepaliveProbes     10
    LDAPKeepaliveInterval   30
    SigningTable            ldap://zimbra.domain.tld:389/?DKIMSelector?sub?(DKIMIdentity=$d)
    KeyTable                ldap://zimbra.domain.tld:389/?DKIMDomain,DKIMSelector,DKIMKey,?sub?(DKIMSelector=$d)
    Canonicalization        relaxed/relaxed
    .
    .
    .
    Last edited by vadonka; 10-10-2012 at 12:41 AM.

  3. #3
    Join Date
    Oct 2012
    Posts
    16
    Rep Power
    3

    Default

    Hi,

    No i have choose 10.04.

    Here my opendkim.conf.in

    Code:
    UserID                zimbra:zimbra
    UMask                 022
    Socket                %%zimbraInetMode%%:8465@%%zimbraMilterBindAddress%%
    PidFile               /opt/zimbra/log/opendkim.pid
    
    LDAPBindUser            uid=zmpostfix,cn=appaccts,cn=zimbra
    LDAPBindPassword        @@ldap_postfix_password@@
    LDAPUseTLS              @@ldap_starttls_supported@@
    LDAPTimeout             30
    LDAPKeepaliveIdle       240
    LDAPKeepaliveProbes     10
    LDAPKeepaliveInterval   30
    SigningTable            @@opendkim_signingtable_uri@@
    KeyTable                @@opendkim_keytable_uri@@
    Canonicalization        relaxed/relaxed
    ReportAddress           @@av_notify_user@@
    SignHeaders             message-id,date,from,reply-to,mime-version,to,subject,content-type,content-transfer-encoding

  4. #4
    Join Date
    Nov 2011
    Location
    Hungary
    Posts
    30
    Rep Power
    4

    Default

    this should look ok.
    you tryed the zmfixperms ?

  5. #5
    Join Date
    Oct 2012
    Posts
    16
    Rep Power
    3

    Default

    Quote Originally Posted by vadonka View Post
    this should look ok.
    you tryed the zmfixperms ?
    Yes.......

  6. #6
    Join Date
    Oct 2012
    Posts
    16
    Rep Power
    3

    Default

    I have see after upgrade that there is only opendkim.conf.in and opendkim-localnets.conf.in
    I have do :
    cp opendkim.conf.in opendkim.conf
    cp opendkim-localnets.conf.in opendkim-localnets.conf
    chown zimbra:zimbra opendkim*

    But i have the same error.

  7. #7
    Join Date
    Oct 2012
    Posts
    16
    Rep Power
    3

    Default

    vadonka, i have modified first post. Please look.

Similar Threads

  1. Upgrade to Zimbra 8 failed - script failed with code 256
    By dm4creavil in forum Administrators
    Replies: 0
    Last Post: 10-02-2012, 07:53 AM
  2. Starting saslauthd. fails
    By simax in forum Administrators
    Replies: 1
    Last Post: 07-04-2012, 03:24 PM
  3. Replies: 0
    Last Post: 06-09-2008, 11:34 AM
  4. Replies: 1
    Last Post: 02-22-2006, 08:02 AM
  5. Replies: 3
    Last Post: 01-30-2006, 04:50 AM

Posting Permissions

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