<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
I wish it were that simple... I have done some "reading" and found that Ubuntu has changed to upstart <a href="http://upstart.ubuntu.com/cookbook/">http://upstart.ubuntu.com/cookbook/</a>. However, I could not find how I can start a non "upstart" style init script like Kamailio has before the upstart styled ones... I guess that I have to either to get the Kamailio community to create an upstart script or find some help from the Ubuntu community how to overcome the problem. Anyway, I think the Kamailio team should address it as it will become a problem for everyone using Kamailio on Ubuntu.<BR> <BR>Any help?<BR> <BR>Moacir<BR> <BR>From: 4lists@gmail.com<br>To: sr-users@lists.sip-router.org<br>Date: Mon, 12 Nov 2012 14:42:31 -0200<br>Subject: Re: [SR-Users] Returning problem<br><br><BR><div><pre>This is more a system initialization problem, so, take a look in your <br>/etc/rc<run-level>.d directory (or the correspondent one), specially in <br>the S* files and find out the start sequence. There You'll find the answer.<br> <br>Edson.<br> <br>Em 09/11/2012 17:03, Moacir Ferreira escreveu:<br>> My kamailio start script has the following BEGIN INIT INFO:<br>><br>> #<br>> ### BEGIN INIT INFO<br>> # Provides: kamailio<br>> # Required-Start: $syslog $network $local_fs $time mysql<br>> # Required-Stop: $syslog $network $local_fs mysql<br>> # Default-Start: 2 3 4 5<br>> # Default-Stop: 0 1 6<br>> # Should-Start: postgresql mysql radius<br>> # Should-Stop: postgresql mysql radius<br>> # Short-Description: Start the Kamailio SIP proxy server<br>> # Description: Start the Kamailio SIP proxy server<br>> ### END INIT INFO<br>><br>> However, when I boot my server Kamailio will start before mysql. So,<br>> after boot I can start Kamalio but at boot time it will fail.<br>><br>> Any hints how to fix it? I am running Ubuntu server 12.04 LTS - 64 bits.<br>> All the code has been compiled at the server.<br>><br>> Cheers!<br>><br>> Moacir<br>><br>><br>> _______________________________________________<br>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>> sr-users@lists.sip-router.org<br>> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>><br> <br> <br></pre></div>                                            </div></body>
</html>