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 01-09-2007, 01:23 AM
Intermediate Member
 
Posts: 16
Default Saslauthd strat up failure

Hello

I'm new to zimbra , and just installed my machine on CentOs 4.4 based on i586 technology .
I the installation worked ok - after working past the DNS issue .
Now when i want to start the zimbra suite it fails on the saslauthd .


#bin/zmcontrol start
Host zimbra.mydomain.com
Starting ldap...Done.
Starting logger...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting snmp...Done.
Starting spell...Done.
Starting mta...FAILED
saslauthd[7142] :set_auth_mech : failed to initialize mechanism zimbra
zmsaslauthdctl failed to start



my file looks like this :
vi cyrus-sasl-2.1.21.ZIMBRA/etc/saslauthd.conf

zimbra_url:
zimbra_cert_file: /opt/zimbra/conf/smtpd.crt
zimbra_cert_check: off


I searched the forums and tried most of the things specified , but still it didn't work.

Any one got any ideas ?

Thank you


Assaf
__________________
Never ,Ever Cut a Deal With a Dragon
Reply With Quote
  #2 (permalink)  
Old 01-09-2007, 03:49 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Welcome to the forums.

Your saslauthd.conf is missing a url, check the details in this post (obviously put your own server name in there). The url should be http or https depending on the mode you're using.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 01-09-2007, 04:10 AM
Intermediate Member
 
Posts: 16
Default input isn't saved in the files

Thanks for the help , but after i inserted the url to the /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/etc/saslauthd.conf file and saved it.
then i do
bin/zmsaslauthdctl start
saslauthd[21412] :set_auth_mech : failed to initialize mechanism zimbra

and when i open the file again - the url is empty again.
further more , i looked at the file permissions:

ll /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/etc/saslauthd.conf
-rw-r----- 1 zimbra zimbra 128 Jan 9 14:44 /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/etc/saslauthd.conf

then execute as zimbra user :
[zimbra@zimbra ~]$ bin/zmsaslauthdctl start
saslauthd[31621] :set_auth_mech : failed to initialize mechanism zimbra

and then :
[root@zimbra ~]# ll /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/etc/saslauthd.conf
-r--r----- 1 zimbra zimbra 81 Jan 9 14:45 /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/etc/saslauthd.conf
__________________
Never ,Ever Cut a Deal With a Dragon

Last edited by Assaf; 01-09-2007 at 04:48 AM..
Reply With Quote
  #4 (permalink)  
Old 01-09-2007, 05:21 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Try stopping Zimbra first with 'zmcontrol stop', make the change to the file and restart the server and see what happens with that.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 01-09-2007, 05:27 AM
Intermediate Member
 
Posts: 16
Default Still the same issue

i stopped the zimbra suite , changed the permissions on the file and inserted the url
cat /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/etc/saslauthd.conf
zimbra_url: http://zimbra.mydomain.net/service/soap/
zimbra_cert_file: /opt/zimbra/conf/smtpd.crt
zimbra_cert_check: off

then saved and started the zimbra


bin/zmcontrol start
Host zimbra.mydomain.net
Starting ldap...Done.
Starting logger...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting snmp...Done.
Starting spell...Done.
Starting mta...FAILED
saslauthd[11005] :set_auth_mech : failed to initialize mechanism zimbra
zmsaslauthdctl failed to start

then i checked the saslauthd file and it was missing the url again :

[root@zimbra ~]# cat /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/etc/saslauthd.conf
zimbra_url:
zimbra_cert_file: /opt/zimbra/conf/smtpd.crt
zimbra_cert_check: off
[root@zimbra ~]#
__________________
Never ,Ever Cut a Deal With a Dragon
Reply With Quote
  #6 (permalink)  
Old 01-09-2007, 06:37 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

OK, let's have a look at this command:
Code:
 zmprov gs mail.mydomain.com | grep Auth
the 'mail.mydomain.com' should be the FQDN of your server. What does that produce?

Is your /etc/hosts file set-up correctly, can you post the details?
__________________
Regards


Bill

Last edited by phoenix; 01-09-2007 at 06:39 AM..
Reply With Quote
  #7 (permalink)  
Old 01-09-2007, 06:47 AM
Intermediate Member
 
Posts: 16
Default result of test

ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused

and the /etc/hosts is :

cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.

127.0.0.1 localhost.localdomain localhost
192.xxx.xxx.xxx zimbra.mydomain.net zimbra

( names are hidden due to the paranoia of my company).

Assaf
__________________
Never ,Ever Cut a Deal With a Dragon
Reply With Quote
  #8 (permalink)  
Old 01-09-2007, 06:53 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by Assaf View Post
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused
SELinux or Firewall enabled? If they are then you should disable them. Are you absolutely sure that your DNS A & MX records are set correctly? Is your DNS an internal server or externally hosted?
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 01-09-2007, 06:57 AM
Intermediate Member
 
Posts: 16
Default Re : Saslauthd strat up failure

both are disabled , they were disabled at installation time .

these are the open ports i have on my system :
netstat -lpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:768 0.0.0.0:* LISTEN 2706/rpc.statd
tcp 0 0 192.118.55.105:389 0.0.0.0:* LISTEN 10079/slapd
tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 10847/amavisd (mast
tcp 0 0 127.0.0.1:7307 0.0.0.0:* LISTEN 10452/mysqld
tcp 0 0 0.0.0.0:3310 0.0.0.0:* LISTEN 11001/clamd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2686/portmap
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2840/cupsd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2924/sendmail: acce
tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN 18997/1
tcp 0 0 127.0.0.1:6011 0.0.0.0:* LISTEN 12977/2
tcp 0 0 :::7780 :::* LISTEN 10763/httpd
tcp 0 0 :::80 :::* LISTEN 25603/httpd
tcp 0 0 :::22 :::* LISTEN 2871/sshd
tcp 0 0 ::1:6010 :::* LISTEN 18997/1
tcp 0 0 ::1:6011 :::* LISTEN 12977/2
tcp 0 0 :::443 :::* LISTEN 25603/httpd
udp 0 0 0.0.0.0:68 0.0.0.0:* 18922/dhclient
udp 0 0 0.0.0.0:111 0.0.0.0:* 2686/portmap
udp 0 0 0.0.0.0:631 0.0.0.0:* 2840/cupsd
udp 0 0 0.0.0.0:762 0.0.0.0:* 2706/rpc.statd
udp 0 0 192.118.55.105:123 0.0.0.0:* 2904/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 2904/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 2904/ntpd
udp 0 0 0.0.0.0:765 0.0.0.0:* 2706/rpc.statd
udp 0 0 :::123 :::* 2904/ntpd


Assaf
__________________
Never ,Ever Cut a Deal With a Dragon
Reply With Quote
  #10 (permalink)  
Old 01-09-2007, 07:03 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

What do the following produce:
Code:
zmcontrol status
host `hostname`
dig mx yourdomain.com
__________________
Regards


Bill
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.