Index: [Article Count Order] [Thread]

Date:  Mon, 25 Jun 2007 13:55:43 -0700
From:  "Michael Aronoff" <ma (at mark) ciic.com>
Subject:  [coba-e:10239] Problem with saslauthd
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <0d9e01c7b76b$33d2b8a0$3946460a@CIIC2>
X-Mail-Count: 10239

I have been having a problem recently where on one server users cannot use
smtp-auth.  It just stops working.  In the logs I get 
Jun 25 12:56:57 sb sendmail[32536]: cannot connect to saslauthd server:
Connection refused
Jun 25 12:57:03 sb sendmail[32555]: cannot connect to saslauthd server:
Connection refused
Jun 25 12:57:08 sb sendmail[32568]: cannot connect to saslauthd server:
Connection refused

If I use a script I made for the dovecot problem it starts working again.

#!/bin/sh
service dovecot stop
sleep 2
service xinetd stop
sleep 2
killall -9 dovecot-auth
sleep 2
killall -9 pop3-login
sleep 2
killall -9 saslauthd
sleep 2
service dbrecover stop
sleep 2
service saslauthd stop
sleep 2
service dbrecover start
sleep 2
service saslauthd start
sleep 2
service xinetd start
sleep 2
service dovecot start

It seems to behave like a pam issue just like the dovecot problem.  

So the question is has anyone else seen this?  I was looking for a small
script I could run every 5 min and if it sees "server: Connection refused"
in the last 5 min it runs the restart script automatically or something like
that.  Anyone else have any ideas?

Thanks,
__________________________________________________________
Michael Aronoff - CIIC, Inc. - ma (at mark) ciic.com - Calabasas, CA