Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-17-2006, 02:22 PM
New Member
 
Posts: 4
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
Reply With Quote
  #2 (permalink)  
Old 08-18-2006, 11:36 AM
Zimbra Employee
 
Posts: 4,792
Default

Our auth uses the SOAP api so it's trying to talk to Tomcat. Is tomcat running?
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 08-18-2006, 12:49 PM
New Member
 
Posts: 4
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
Reply With Quote
  #4 (permalink)  
Old 08-18-2006, 05:31 PM
Zimbra Employee
 
Posts: 2,103
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!
Reply With Quote
  #5 (permalink)  
Old 08-18-2006, 09:08 PM
New Member
 
Posts: 4
Default

I'll have to give that a try on Monday. I'll be back -thx.
Reply With Quote
  #6 (permalink)  
Old 08-24-2006, 07:57 AM
New Member
 
Posts: 4
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
Reply With Quote
  #7 (permalink)  
Old 12-15-2006, 03:41 AM
Special Member
 
Posts: 110
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
Reply With Quote
  #8 (permalink)  
Old 12-15-2006, 03:52 AM
Special Member
 
Posts: 110
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
Reply With Quote
  #9 (permalink)  
Old 09-06-2007, 03:12 PM
Starter Member
 
Posts: 2
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.