[SR-Users] Kamailio service not starting on reboot when using mysql database

Klaus Darilion klaus.mailinglists at pernau.at
Wed Apr 13 10:31:43 CEST 2011



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 at pernau.at>
> To: miconda at gmail.com; SIP Router - Kamailio (OpenSER) and SIP Express Router
> (SER) - Users Mailing List<sr-users at lists.sip-router.org>
> Cc: Rick Aldred<eazilyled at 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
>



More information about the sr-users mailing list