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 <proje...@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@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@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



-- 
VoIP Embedded, Inc.
http://www.voipembedded.com

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to