On 12.04.2011 14:19, Rick Aldred wrote:
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.
Yes. But it is not that urgent as Kamailio will start also without
finding rtpproxy as it will retry some time later again.
regards
klaus
Regards,
Rick
________________________________
From: Klaus Darilion<klaus.mailinglists(a)pernau.at>
To: miconda(a)gmail.com; SIP Router - Kamailio (OpenSER) and SIP Express Router
(SER) - Users Mailing List<sr-users(a)lists.sip-router.org>
Cc: Rick Aldred<eazilyled(a)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