Hello, I have posted this question at the Hungarian BSD list and the FreeBSD newbies list as well, a couple of weeks ago, but no one replied to me. I don't know if this is becuase it's such a newbie question or no one knew the answer. Please help me... I have a system running FreeBSD 4.8. After running the make world the following error come up in the /var/log/messages file: saslauthd[296]: FATAL: setting master lock on /var/state/saslauthd/mux.pid: Resource temporarily unavailable I recompiled the whole sasl2, but the error still exist. And of course the file exsits as well. It has a number inside. Thanks...
On Fri, May 30, 2003 at 11:46:54AM +0200, Kov?cs P?ter wrote:> Hello,Hello> I have a system running FreeBSD 4.8. > After running the make world the following error come up in > the /var/log/messages file: > > saslauthd[296]: FATAL: setting master lock on > /var/state/saslauthd/mux.pid: Resource temporarily unavailableThis error message is created if you try to start saslauthd more than once. The corresponding source code can be found in saslauthd-unix.c. Do you by any chance try to start it twice? Martin -- The instructions said to use Windows 98 or better, so I installed FreeBSD. -- Jim Levie in comp.unix.bsd.freebsd.misc --
On Fri, May 30, 2003 at 09:49:23PM +0200, Kov?cs P?ter wrote:> > This error message is created if you try to start > > saslauthd more > > than once. The corresponding source code can be found in > > saslauthd-unix.c. > > Do you by any chance try to start it twice? > I don't think so... > I run it from /etc/rc.local, with this script: > if [ -x /usr/local/sbin/saslauthd ]; then > /usr/local/sbin/saslauthd -a pam > fi > And I use it for IMAP-UW and postfix. > I didn't find any other file in /etc that refered to sasluathd. > grep -ri "saslauthd" /etc/* > Do you have any other guess. Or what else could run the > program again?If you installed saslauthd via the security/cyrus-sasl2 port there is no need to start it from rc.local. The port installs the file saslauthd.sh in /usr/local/etc/rc.d, which is the startup file for saslauthd. As far as i can see it is set "executable" by default, so the first program start comes from your rc.local and the second from saslauthd.sh. I suggest that you remove the lines from rc.local and use the startscript that comes with the port. HTH Martin -- The instructions said to use Windows 98 or better, so I installed FreeBSD. -- Jim Levie in comp.unix.bsd.freebsd.misc --