Hi <meta charset="utf-8">Toyima,<div><br></div><div>The start-stop-daemon function of the init script returns successfully when launching OpenSIPS as long as your script is syntactically correct and a pidfile can be created. You likely have an external resource (database perhaps) that is required but not available (database credentials??) causing OpenSIPS to exit after the init script exits.</div>
<div><br></div><div>Cheers,</div><div><br></div><div>Mario</div><div><a href="http://advantia.ca">http://advantia.ca</a></div><div><div><br><div class="gmail_quote">On Fri, Jun 3, 2011 at 4:46 AM, Toyima Dias <span dir="ltr"><<a href="mailto:toyimads@gmail.com">toyimads@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><font face="verdana,sans-serif">Hello, </font></div><div><br></div><div><font face="verdana,sans-serif">I've a doubt regarding opensips.init script; it use to happend that restarting opensips with:</font></div>
<div><font face="verdana,sans-serif"></font> </div>
<div><font face="verdana,sans-serif">/etc/init.d/opensips restart</font></div><font face="verdana,sans-serif"><div> </div><div>It returns OK, but checking with ps -ef | grep opensips does not show opensips running, by the way, checking the opensips.log shows many errors for example that the DB does not exist or whatever the issue, my doubt is not regarding why opensips is not able tu up for X reason, my doubt is why /etc/init.d/opensips restart returns OK even if this is not true?</div>
<div> </div><div>Thanks in advance for any help!<br></div></font>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>