[OpenSIPS-Users] OpenSIPS Not starting with system startup

Laszlo laszlo at voipfreak.net
Thu Aug 29 13:28:00 CEST 2013


You can try adding /etc/init.d/opensips start to /etc/rc.local

- Laszlo


2013/8/29 Danny Dias <ing.diasdanny at gmail.com>

> I think that the problem is that OpenSIPS is starting before MySQL, that's
> why opensips stops:
>
> *Aug 28 23:15:26 opencomm01 opensips: INFO:core:daemonize: pre-daemon
>> process exiting with -1*
>
> *
> *
> I'm using Debian 7; i'm trying to figure it out how to change the order of
> startup services, but not sure how
>
>
>
> 2013/8/29 Vallimamod ABDULLAH <vallimamod.abdullah at imtelecom.fr>
>
>> Hi,
>>
>> On Aug 29, 2013, at 5:55 AM, Danny Dias <ing.diasdanny at gmail.com> wrote:
>>
>> > Aug 28 23:15:26 opencomm01
>> /usr/local/opensips_proxy/sbin/opensips[3060]:
>> ERROR:db_mysql:db_mysql_connect: driver error(2002): Can't connect to local
>> MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
>>
>>
>> Looks like a mysql connection issue. Check your settings and don't
>> hesitate to share your opensips config file.
>>
>> --
>> Best Regards,
>> Vallimamod
>> .
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
>
> --
> *SIP:* danny at voice.danntel.net <http://www.danntel.net/?page_id=189>
> *Web: *http://www.danntel.net
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 

--
Kind regards,
Laszlo Bekesi
http://voipfreak.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130829/9ec4a8ed/attachment-0001.htm>


More information about the Users mailing list