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

- Laszlo


2013/8/29 Danny Dias <[email protected]>

> 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 <[email protected]>
>
>> Hi,
>>
>> On Aug 29, 2013, at 5:55 AM, Danny Dias <[email protected]> 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
>> [email protected]
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
>
> --
> *SIP:* [email protected] <http://www.danntel.net/?page_id=189>
> *Web: *http://www.danntel.net
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 

--
Kind regards,
Laszlo Bekesi
http://voipfreak.net
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to