<div dir="ltr"><div>You can try adding /etc/init.d/opensips start to /etc/rc.local<br><br></div>- Laszlo<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/29 Danny Dias <span dir="ltr"><<a href="mailto:ing.diasdanny@gmail.com" target="_blank">ing.diasdanny@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small">I think that the problem is that OpenSIPS is starting before MySQL, that's why opensips stops:</div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small">
<br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small"><div class="im"><blockquote class="gmail_quote" style="font-family:arial,sans-serif;font-size:13px;margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<i><font face="trebuchet ms, sans-serif"><b style="background-color:rgb(255,255,0)">Aug 28 23:15:26 opencomm01 opensips: INFO:core:daemonize: pre-daemon process exiting with -1</b></font></i></blockquote><div><i><font face="trebuchet ms, sans-serif"><b style="background-color:rgb(255,255,0)"><br>
</b></font></i></div></div><div>I'm using Debian 7; i'm trying to figure it out how to change the order of startup services, but not sure how<br></div><div><br></div></div></div><div class="gmail_extra"><div><div class="h5">
<br><br><div class="gmail_quote">
2013/8/29 Vallimamod ABDULLAH <span dir="ltr"><<a href="mailto:vallimamod.abdullah@imtelecom.fr" target="_blank">vallimamod.abdullah@imtelecom.fr</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<div><br>
On Aug 29, 2013, at 5:55 AM, Danny Dias <<a href="mailto:ing.diasdanny@gmail.com" target="_blank">ing.diasdanny@gmail.com</a>> wrote:<br>
<br>
> Aug 28 23:15:26 opencomm01 /usr/local/opensips_proxy/sbin/opensips[3060]: ERROR:db_mysql:db_mysql_connect: driver error(2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)<br>
<br>
<br>
</div>Looks like a mysql connection issue. Check your settings and don't hesitate to share your opensips config file.<br>
<span><font color="#888888"><br>
--<br>
Best Regards,<br>
Vallimamod<br>
.<br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div dir="ltr"><div><font><font face="trebuchet ms, sans-serif"><b>SIP:</b> </font><a href="http://www.danntel.net/?page_id=189" style="font-family:'trebuchet ms',sans-serif" target="_blank">danny@voice.danntel.net</a></font></div>
<font><font face="trebuchet ms, sans-serif"><b>Web: </b></font><a href="http://www.danntel.net/" style="font-family:'trebuchet ms',sans-serif" target="_blank">http://www.danntel.net</a></font></div>
</font></span></div>
<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><br clear="all"><br>-- <br><div dir="ltr"><div><div><div><br>--<br></div>Kind regards,<br></div>Laszlo Bekesi<br></div><a href="http://voipfreak.net" target="_blank">http://voipfreak.net</a><br>
</div>
</div>