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

Klaus Darilion klaus.mailinglists at pernau.at
Tue Apr 12 14:03:09 CEST 2011


> 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