[OpenSIPS-Users] opensips dead

Freddi Guerrero projek7r at hotmail.com
Mon Feb 10 20:29:20 CET 2014


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.

/etc/init.d/opensips start
Starting opensips:                                         [  OK  ]



On Sat, Feb 8, 2014 at 3:04 PM, Schneur Rosenberg
<rosenberg11219 at gmail.com>wrote:

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


-- 
Thanks,

Freddi Guerrero
"weakness in attitude becomes weakness of character" -Albert Einstein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140210/32e76548/attachment.htm>


More information about the Users mailing list