Do you have spaces in the db dsn? On Mar 23, 2015 8:10 AM, "Komal Sharma" <[email protected]> wrote:
> Hi, > > I am getting the following error while starting the opensips: > > > > root@cdrtool:/etc/opensips# opensipsctl start > > database engine 'MYSQL' loaded > > Control engine 'FIFO' loaded > > > > INFO: Starting OpenSIPS : > > > > ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start > failed > > > > And the related logs for the error are as follows: > > > > > > > > Mar 23 17:29:36 cdrtool /usr/sbin/opensips[8879]: ERROR:core:new_db_id: > error while parsing database URL: 'mysql: / / OpenSIPS: opensipsrw @ > localhost / OpenSIPS' > > Mar 23 17:29:36 cdrtool /usr/sbin/opensips[8879]: ERROR:core:db_do_init: > cannot parse URL 'mysql: / / OpenSIPS: opensipsrw @ localhost / OpenSIPS' > > Mar 23 17:29:36 cdrtool /usr/sbin/opensips[8879]: > ERROR:usrloc:register_udomain: failed to open database connection > > Mar 23 17:29:36 cdrtool /usr/sbin/opensips[8879]: > ERROR:registrar:domain_fixup: failed to register domain > > 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 > > Mar 23 17:29:36 cdrtool /usr/sbin/opensips[8879]: CRITICAL:core:fix_expr: > fix_actions error > > Mar 23 17:29:36 cdrtool /usr/sbin/opensips[8879]: ERROR:core:main: failed > to fix configuration with err code -1 > > Mar 23 17:29:36 cdrtool /usr/sbin/opensips[8879]: INFO:core:cleanup: > cleanup > > > > > > > > Can somebody helps me to resolve this issue. > > > > Best Regards. > > Komal Sharma. > "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." > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
