<p dir="ltr">Do you have spaces in the db dsn? </p>
<div class="gmail_quote">On Mar 23, 2015 8:10 AM, &quot;Komal Sharma&quot; &lt;<a href="mailto:komal.sharma@aricent.com">komal.sharma@aricent.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal">  I am getting the following error while starting the opensips:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">root@cdrtool:/etc/opensips# opensipsctl start<u></u><u></u></p>
<p class="MsoNormal"><span style="color:red">database engine &#39;MYSQL&#39; loaded<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:red">Control engine &#39;FIFO&#39; loaded<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:red"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:red">INFO: Starting OpenSIPS :<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:red"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:red">ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start failed<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:red"><u></u> <u></u></span></p>
<p class="MsoNormal">And the related logs for the error are as follows:<u></u><u></u></p>
<p class="MsoNormal"><span style="color:red"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:red"><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="color:red">Mar 23 17:29:36 cdrtool /usr/sbin/opensips[8879]: ERROR:core:new_db_id: error while parsing database URL: &#39;mysql: / / OpenSIPS: opensipsrw @ localhost / OpenSIPS&#39;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:red">Mar 23 17:29:36 cdrtool /usr/sbin/opensips[8879]: ERROR:core:db_do_init: cannot parse URL &#39;mysql: / / OpenSIPS: opensipsrw @ localhost / OpenSIPS&#39;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:red">Mar 23 17:29:36 cdrtool /usr/sbin/opensips[8879]: ERROR:usrloc:register_udomain: failed to open database connection<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:red">Mar 23 17:29:36 cdrtool /usr/sbin/opensips[8879]: ERROR:registrar:domain_fixup: failed to register domain<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:red">Mar 23 17:29:36 cdrtool /usr/sbin/opensips[8879]: ERROR:core:fix_actions: fixing failed (code=-1) at /usr//etc/opensips/opensips.cfg:233<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:red">Mar 23 17:29:36 cdrtool /usr/sbin/opensips[8879]: CRITICAL:core:fix_expr: fix_actions error<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:red">Mar 23 17:29:36 cdrtool /usr/sbin/opensips[8879]: ERROR:core:main: failed to fix configuration with err code -1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:red">Mar 23 17:29:36 cdrtool /usr/sbin/opensips[8879]: INFO:core:cleanup: cleanup<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:red"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:red"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:red"><u></u> <u></u></span></p>
<p class="MsoNormal">Can somebody helps me to resolve this issue.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Best Regards.<u></u><u></u></p>
<p class="MsoNormal">Komal Sharma.<u></u><u></u></p>
</div>
&quot;DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what
 it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this
 message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus.&quot;
</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>