[jadmin] jabberd2 on FreeBSD using MySQL don't startup at boot

Timm Wimmers timm at ticore.de
Mon Jun 11 15:39:38 CDT 2007


Hallo *,

jabberd service runs fine and start up well when I run the start script
by typing: /usr/local/etc/rc.d/jabberd start

Jabberd is also enabled in /etc/rc.conf. After a reboot it tries to
start and dies with a "/tmp/mysql.sock not found error" in the sm.log,
but running the start script directly after reboot works well. So I
assume that at boot time the start script tries connecting the socket,
but "mysql-server" isn't finished yet.

"rcorder /usr/local/etc/rc.d/*" shows me that the start scripts has the
right order, first mysql-server and afterwards jabberd.

The maintainer of the port, has switched to ejabberd and has no time or
no more knowledge of jabberd2, and my knowledge of writing start scripts
is exactly zero (I've tried to insert some sleep statements in the
jabberd script, but that didn't solved anything).

So is here anybody who can help or point me to some good stuff like
"Writing start script in FreeBSD for Dummies", or who can say: "Try
that! No? Ok than this!"? ;-)

Thanks for listening.

-- 
Timm



More information about the JAdmin mailing list