<div dir="ltr">Guys thank you all for your help. I was able to locate and restart the mysql instance and was able to restart opensips, thank you so much.<br><br>/etc/init.d/opensips start<br>Starting opensips: [ OK ]<br>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Feb 8, 2014 at 3:04 PM, Schneur Rosenberg <span dir="ltr"><<a href="mailto:rosenberg11219@gmail.com" target="_blank">rosenberg11219@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">If OpenSIPS is set to use mysql then yes its a reason not to start</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Feb 8, 2014 11:53 PM, "Freddi Guerrero" <<a href="mailto:projek7r@hotmail.com" target="_blank">projek7r@hotmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<p></p><p>
</p><p>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></p><p><br></p><p>-----Original Message-----<br>
From: <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>
[mailto:<a href="mailto:users-bounces@lists.opensips.org" target="_blank">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><br></p><p>Your logs are telling you that the db is not up.</p>
<p>Check if your MySQL server is up and running.</p>
<p> </p>
<p>Regards,</p>
<p>Ovidiu Sas</p>
<p> </p>
<p>On Sat, Feb 8, 2014 at 4:20 PM, Freddi Guerrero <<a href="mailto:projek7r@hotmail.com" target="_blank">projek7r@hotmail.com</a>> wrote:</p>
<p>> </p>
<p>> </p>
<p>> Hi guys, after I rebooted my server I am unable to
start osips.</p>
<p>> </p>
<p>> I get msg "opensips dead but subsys locked"</p>
<p>> </p>
<p>> Here are some of the logs, im new to all this so im
wondering if </p>
<p>> someone can point me in the right direction, as it
appears to be cfg file related?</p>
<p>> </p>
<p>> [root@osips ~]# tail -f /var/log/messages Feb<span> </span>8 13:20:59 osips </p>
<p>> /usr/sbin/opensips[3931]: INFO:textops:hname_fixup</p>
<p>> : using hdr type name <P-hint></p>
<p>> Feb<span> </span>8
13:20:59 osips /usr/sbin/opensips[3931]: </p>
<p>> ERROR:db_mysql:db_mysql_</p>
<p>> connect: driver error(2003): Can't connect to MySQL
server on '192.168.1.13'</p>
<p>> (<span> </span><span> </span>111)</p>
<p>> Feb<span> </span>8
13:20:59 osips /usr/sbin/opensips[3931]: </p>
<p>> ERROR:db_mysql:db_mysql_</p>
<p>> new_connection: initial connect failed Feb<span> </span>8 13:20:59 osipsr </p>
<p>> /usr/sbin/opensips[3931]: ERROR:core:db_do_init: c
ould not add </p>
<p>> connection to the pool Feb<span> </span>8 13:20:59 osips /usr/sbin/opensips[3931]: </p>
<p>> ERROR:usrloc:register_ud</p>
<p>> omain: failed to open database connection Feb<span> </span>8 13:20:59 osips </p>
<p>> /usr/sbin/opensips[3931]: ERROR:registrar:domain_f</p>
<p>> ixup: failed to register domain</p>
<p>> Feb<span> </span>8
13:20:59 osips /usr/sbin/opensips[3931]: ERROR:core:fix_actions:</p>
<p>> fixing failed (code=-1) at cfg line 493 Feb<span> </span>8 13:20:59 osips </p>
<p>> /usr/sbin/opensips[3931]: CRITICAL:core:fix_expr:</p>
<p>> fix_actions error</p>
<p>> Feb<span> </span>8
13:20:59 osips /usr/sbin/opensips[3931]: ERROR:core:main: </p>
<p>> failed to fix configuration with err code -1
Feb<span> </span>8 13:20:59 osips </p>
<p>> opensips: INFO:core:daemonize: pre-daemon process
exiting with -1</p>
<p>> </p>
<p>> Here is lines 492-493</p>
<p>> </p>
<p>><span>
</span>xlog("L_NOTICE", "*!!!!!!!New user location :
$hdr(Contact) !!!!!!!</p>
<p>> @ \n");</p>
<p>><span> </span>if
(!save("location"))</p>
<p>> </p>
<p>> </p>
<p>> _______________________________________________</p>
<p>> Users mailing list</p>
<p>> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a></p>
<p>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></p>
<p>> </p>
<p> </p>
<p> </p>
<p> </p>
<p>--</p>
<p>VoIP Embedded, Inc.</p>
<p><a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a></p>
<p> </p>
<p>_______________________________________________</p>
<p>Users mailing list</p>
<p><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a></p>
<p><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></p>
</div>
<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>
<br></blockquote></div>
</div></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>Thanks,<br><br>Freddi Guerrero<br>"weakness in attitude becomes weakness of character" -Albert Einstein
</div>