<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
<div class="moz-cite-prefix">On 11/13/12 6:15 PM, Moacir Ferreira
wrote:<br>
</div>
<blockquote cite="mid:COL125-W3986EA29065F0966C8AE6C86C0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="ltr">
I wish it were that simple... I have done some "reading" and
found that Ubuntu has changed to upstart <a
moz-do-not-send="true"
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>
</div>
</blockquote>
the link to the upstart documentation you gave has quite big
content, couldn't you find a migration guide from classic init.d to
upstart somewhere out there on the web? Might be easier to do it
then.<br>
<br>
Cheers,<br>
Daniel<br>
<blockquote cite="mid:COL125-W3986EA29065F0966C8AE6C86C0@phx.gbl"
type="cite">
<div dir="ltr"> <br>
Moacir<br>
<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:4lists@gmail.com">4lists@gmail.com</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><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
/etc/rc<run-level>.d directory (or the correspondent one), specially in
the S* files and find out the start sequence. There You'll find the answer.
Edson.
Em 09/11/2012 17:03, Moacir Ferreira escreveu:
> 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
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
> <a moz-do-not-send="true" 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>
>
</pre>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>