<div dir="ltr">
<p class=""></p><p class="">
</p><p class="">Thanks for responding and for the help. I am checking on this as well, would this be a reason for opensips service not starting? <br></p><p class=""></p><p class=""><br></p><p class="">-----Original Message-----<br>
From: <a href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a>
[mailto:<a href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a>] On Behalf Of Ovidiu Sas<br>
Sent: Saturday, February 08, 2014 1:44 PM<br>
To: OpenSIPS users mailling list<br>
Subject: Re: [OpenSIPS-Users] opensips dead</p>
<p></p><p class=""><br></p><p class="">Your logs are telling you that the db is not up.</p>
<p class="">Check if your MySQL server is up and running.</p>
<p class=""> </p>
<p class="">Regards,</p>
<p class="">Ovidiu Sas</p>
<p class=""> </p>
<p class="">On Sat, Feb 8, 2014 at 4:20 PM, Freddi Guerrero <<a href="mailto:projek7r@hotmail.com">projek7r@hotmail.com</a>> wrote:</p>
<p class="">> </p>
<p class="">> </p>
<p class="">> Hi guys, after I rebooted my server I am unable to
start osips.</p>
<p class="">> </p>
<p class="">> I get msg "opensips dead but subsys locked"</p>
<p class="">> </p>
<p class="">> Here are some of the logs, im new to all this so im
wondering if </p>
<p class="">> someone can point me in the right direction, as it
appears to be cfg file related?</p>
<p class="">> </p>
<p class="">> [root@osips ~]# tail -f /var/log/messages Feb<span style> </span>8 13:20:59 osips </p>
<p class="">> /usr/sbin/opensips[3931]: INFO:textops:hname_fixup</p>
<p class="">> : using hdr type name <P-hint></p>
<p class="">> Feb<span style> </span>8
13:20:59 osips /usr/sbin/opensips[3931]: </p>
<p class="">> ERROR:db_mysql:db_mysql_</p>
<p class="">> connect: driver error(2003): Can't connect to MySQL
server on '192.168.1.13'</p>
<p class="">> (<span style> </span><span style> </span>111)</p>
<p class="">> Feb<span style> </span>8
13:20:59 osips /usr/sbin/opensips[3931]: </p>
<p class="">> ERROR:db_mysql:db_mysql_</p>
<p class="">> new_connection: initial connect failed Feb<span style> </span>8 13:20:59 osipsr </p>
<p class="">> /usr/sbin/opensips[3931]: ERROR:core:db_do_init: c
ould not add </p>
<p class="">> connection to the pool Feb<span style> </span>8 13:20:59 osips /usr/sbin/opensips[3931]: </p>
<p class="">> ERROR:usrloc:register_ud</p>
<p class="">> omain: failed to open database connection Feb<span style> </span>8 13:20:59 osips </p>
<p class="">> /usr/sbin/opensips[3931]: ERROR:registrar:domain_f</p>
<p class="">> ixup: failed to register domain</p>
<p class="">> Feb<span style> </span>8
13:20:59 osips /usr/sbin/opensips[3931]: ERROR:core:fix_actions:</p>
<p class="">> fixing failed (code=-1) at cfg line 493 Feb<span style> </span>8 13:20:59 osips </p>
<p class="">> /usr/sbin/opensips[3931]: CRITICAL:core:fix_expr:</p>
<p class="">> fix_actions error</p>
<p class="">> Feb<span style> </span>8
13:20:59 osips /usr/sbin/opensips[3931]: ERROR:core:main: </p>
<p class="">> failed to fix configuration with err code -1
Feb<span style> </span>8 13:20:59 osips </p>
<p class="">> opensips: INFO:core:daemonize: pre-daemon process
exiting with -1</p>
<p class="">> </p>
<p class="">> Here is lines 492-493</p>
<p class="">> </p>
<p class="">><span style>
</span>xlog("L_NOTICE", "*!!!!!!!New user location :
$hdr(Contact) !!!!!!!</p>
<p class="">> @ \n");</p>
<p class="">><span style> </span>if
(!save("location"))</p>
<p class="">> </p>
<p class="">> </p>
<p class="">> _______________________________________________</p>
<p class="">> Users mailing list</p>
<p class="">> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a></p>
<p class="">> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></p>
<p class="">> </p>
<p class=""> </p>
<p class=""> </p>
<p class=""> </p>
<p class="">--</p>
<p class="">VoIP Embedded, Inc.</p>
<p class=""><a href="http://www.voipembedded.com">http://www.voipembedded.com</a></p>
<p class=""> </p>
<p class="">_______________________________________________</p>
<p class="">Users mailing list</p>
<p class=""><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a></p>
<p class=""><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></p>
</div>