My kamailio start script has the following BEGIN INIT INFO:
#
### BEGIN INIT INFO
# Provides: kamailio
# Required-Start: $syslog $network $local_fs $time mysql
# Required-Stop: $syslog $network $local_fs mysql
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Should-Start: postgresql mysql radius
# Should-Stop: postgresql mysql radius
# Short-Description: Start the Kamailio SIP proxy server
# Description: Start the Kamailio SIP proxy server
### END INIT INFO
However, when I boot my server Kamailio will start before mysql. So, after boot I can start Kamalio but at boot time it will fail.
Any hints how to fix it? I am running Ubuntu server 12.04 LTS - 64 bits. All the code has been compiled at the server.
Cheers!
Moacir