<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&nbsp;get the Kamailio community to&nbsp;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>&nbsp;<BR>Any help?<BR>&nbsp;<BR>Moacir<BR>&nbsp;<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&lt;run-level&gt;.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>&gt; My kamailio start script has the following BEGIN INIT INFO:<br>&gt;<br>&gt; #<br>&gt; ### BEGIN INIT INFO<br>&gt; # Provides:          kamailio<br>&gt; # Required-Start:    $syslog $network $local_fs $time mysql<br>&gt; # Required-Stop:     $syslog $network $local_fs mysql<br>&gt; # Default-Start:     2 3 4 5<br>&gt; # Default-Stop:      0 1 6<br>&gt; # Should-Start:      postgresql mysql radius<br>&gt; # Should-Stop:       postgresql mysql radius<br>&gt; # Short-Description: Start the Kamailio SIP proxy server<br>&gt; # Description:       Start the Kamailio SIP proxy server<br>&gt; ### END INIT INFO<br>&gt;<br>&gt; However, when I boot my server Kamailio will start before mysql. So,<br>&gt; after boot I can start Kamalio but at boot time it will fail.<br>&gt;<br>&gt; Any hints how to fix it? I am running Ubuntu server 12.04 LTS - 64 bits.<br>&gt; All the code has been compiled at the server.<br>&gt;<br>&gt; Cheers!<br>&gt;<br>&gt; Moacir<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>&gt; sr-users@lists.sip-router.org<br>&gt; <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>&gt;<br> <br> <br></pre></div>                                               </div></body>
</html>