Results 1 to 9 of 9

Thread: zmsaslauthdctl fails, issue with set_auth_mech

  1. #1
    auburn is offline New Member
    Join Date
    Aug 2006
    Posts
    4
    Rep Power
    9

    Default zmsaslauthdctl fails, issue with set_auth_mech

    Hi I'm installing the debian package for ver3.2 (on ubuntu dapper) and zmcontrol is telling me my mta won't start because my zmsaslauthdctl is failing:

    Code:
    ~/bin$ ./zmsaslauthdctl start
    saslauthd[30465] :set_auth_mech   : failed to initialize mechanism zimbra
    Now I'm seeing people are suggesting using zmprov to fix these problems, but whenever I call zmprov I get this:

    Code:
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    I fear that my real problem may be a lack of understanding of how routing works with and around an mta. Should I have said my hosting domain was localhost.localdomain? or is robertgeronimo-desktop.thenycworker.com (albeit long) okay? What about dns? What about the Mx record?

    I wouldn't mind being referred to another link or howto if you think that would help.
    -thx

  2. #2
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    Our auth uses the SOAP api so it's trying to talk to Tomcat. Is tomcat running?
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    auburn is offline New Member
    Join Date
    Aug 2006
    Posts
    4
    Rep Power
    9

    Default

    Thx for your help.
    That seems relevant. I called zmcontrol stop and tomcat start and saw the 7070 port in use for the first time with nmap. But then when I said zmcontrol start the 7070 port disappeared.

    Starting tomcat gave me these errors:
    Code:
    $ ./tomcat start
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException robertgeronimo-desktop.thenycworker.com:389)
    grepping through the processes after starting tomcat provides this:
    Code:
    $ ps ax|grep tom
    28902 ?        Ss     0:00 /opt/zimbra/libexec/zmtomcatmgr start -Xms74m -Xmx74m -client -XX:NewRatio=2
    28903 ?        Sl     0:06 /opt/zimbra/jdk1.5.0_07/bin/java -Xms74m -Xmx74m -client -XX:NewRatio=2 -Dcatalina.base=/opt/zimbra/apache-tomcat-5.5.15 -Dcatalina.home=/opt/zimbra/apache-tomcat-5.5.15 -Djava.io.tmpdir=/opt/zimbra/apache-tomcat-5.5.15/temp -Djava.library.path=/opt/zimbra/lib -Djava.endorsed.dirs=/opt/zimbra/apache-tomcat-5.5.15/common/endorsed -classpath /opt/zimbra/apache-tomcat-5.5.15/bin/bootstrap.jar:/opt/zimbra/apache-tomcat-5.5.15/bin/commons-logging-api.jar:/opt/zimbra/lib/jars/zimbra-launcher.jar com.zimbra.cs.launcher.TomcatLauncher
    I don't know if it's relevant, but I replaced the Tomcat server.xml file with the developer version from cvs accoring to bluetoad's directions:
    http://wiki.zimbra.com/index.php?tit...tware_yourself

  4. #4
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    This may be a library issue. There's an ldap lib specified in the sasl conf file - try running
    sh -x bin/zmsaslauthdctl start
    and look for the line that actually invokes saslauthd, then try running that by hand.

    It's actually possible that sasl does a dlopen() on the ldap library, which fails because of another dependency.

    The other option is that the ldap_url in saslauthd.conf isn't right (should be substituted in saslauthd.conf.in). This is common in systems with ldap replication enabled, pre 4.0
    Bugzilla - Wiki - Downloads - Before posting... Search!

  5. #5
    auburn is offline New Member
    Join Date
    Aug 2006
    Posts
    4
    Rep Power
    9

    Default

    I'll have to give that a try on Monday. I'll be back -thx.

  6. #6
    auburn is offline New Member
    Join Date
    Aug 2006
    Posts
    4
    Rep Power
    9

    Default

    That didn't seem to produce much more info:
    Code:
    ~/bin$ /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/sbin/saslauthd -r -a zimbra
    saslauthd[7020] :set_auth_mech   : failed to initialize mechanism zimbra
    and I was using ver3.2.

    I'll guess I could try installing 4.0.
    -thx

  7. #7
    mintra is offline Special Member
    Join Date
    Nov 2005
    Location
    UK
    Posts
    117
    Rep Power
    9

    Default zmsaslauthdctl is not running

    Hi

    I am trying to set up a backup Zimbra server so that we can move a fedora core 3 install to a Centos 4 server.

    I put a box in place which I had previously installed the 4.5 beta on, then I deleted the /opt Zimbra directory and have installed 3.1.0 version onto it ready for us to move the data from the core 3 machine

    However now I just get the message

    zmsaslauthdctl is not running

    After a zmcontrol status everything else seems to be running.

    Is this as I have not removed the 4.5 beta properly

    What should I do to make this run

  8. #8
    mintra is offline Special Member
    Join Date
    Nov 2005
    Location
    UK
    Posts
    117
    Rep Power
    9

    Default Looked in Zimbra Logs

    the zimbra log file has a load of stuff in it but this may be relevant.

    com.zimbra.cs.account.AccountServiceException: authentication failed for zimbra (empty password)
    at com.zimbra.cs.account.AccountServiceException.AUTH _FAILED(AccountServiceException.java:77)
    at com.zimbra.cs.account.ldap.LdapProvisioning.authAc count(LdapProvisioning.java:2065)
    at com.zimbra.cs.service.admin.Auth.handle(Auth.java: 82)

    I will try and reinstall

  9. #9
    seunaw is offline Starter Member
    Join Date
    Sep 2007
    Posts
    2
    Rep Power
    7

    Default

    I am running to the same issue; trying to install on centos 5,

    ~/bin$ /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/sbin/saslauthd -r -a zimbra
    saslauthd[7020] :set_auth_mech : failed to initialize mechanism zimbra

    was this issue ever solved

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Intermittent issue (issue# 5852) ?
    By nick20 in forum Installation
    Replies: 1
    Last Post: 02-08-2006, 02:47 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
  •