Thanks Klaus (and Daniel).

That has solved my problem.

I had just discovered the LSB header configuration in the init.d script but was 
missing the update-rc.d call, so thank you!

Since I am using rtpproxy for NAT traversal, maybe I should also add this a 
required service, although it has worked without that so far.

Regards,
Rick

________________________________
From: Klaus Darilion <klaus.mailingli...@pernau.at>
To: mico...@gmail.com; SIP Router - Kamailio (OpenSER) and SIP Express Router 
(SER) - Users Mailing List <sr-users@lists.sip-router.org>
Cc: Rick Aldred <eazily...@yahoo.co.uk>
Sent: Tue, 12 April, 2011 13:03:09
Subject: Re: [SR-Users] Kamailio service not starting on reboot when using 
mysql 

database

> the logs shows that the mysql server is started after kamailio. Be sure
> you set the order at startup to run mysql first, maybe google helps to
> find the proper way.
> 


That's a bug in the init script of Kamailio:


IIRC:


/etc/init.d/kamailio (add mysql):

# Required-Start:    $syslog $network $local_fs $time mysql
# Required-Stop:    $syslog $network $local_fs mysql




# re-create symlinks:
update-rc.d kamailio defaults


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to