I have set up kamailio 3.1.2 on an install of Debian Squeeze, using the default
config but with the following defines enabled:
WITH_MYSQLWITH_AUTHWITH_USRLOCDBWITH_NAT
Everything works as expected when starting Kamailio from a terminal,
e.g.service kamailio start
But after a reboot, the service f
Hello,
On 4/12/11 11:34 AM, Rick Aldred wrote:
I have set up kamailio 3.1.2 on an install of Debian Squeeze, using
the default config but with the following defines enabled:
WITH_MYSQL
WITH_AUTH
WITH_USRLOCDB
WITH_NAT
Everything works as expected when starting Kamailio from a terminal, e.g.
s
Hi,
from the log you pasted is clear that the problem is that kamailio is
starting before mysql.
This because, as you said, they have the same priority and so, being the
starting order alphabetical for the same priority, kamailio will start
before mysql and cannot connect to mysql which is still no
> the logs shows that the mysql server is started after kamailio. Be sure
> you set the order at startup to run mysql first, maybe google helps to
> find the proper way.
>
That's a bug in the init script of Kamailio:
IIRC:
/etc/init.d/kamailio (add mysql):
# Required-Start:$syslog $netw
starting on reboot when using
mysql
database
> the logs shows that the mysql server is started after kamailio. Be sure
> you set the order at startup to run mysql first, maybe google helps to
> find the proper way.
>
That's a bug in the init script of Kamailio:
IIRC:
/et
...@gmail.com; SIP Router - Kamailio (OpenSER) and SIP Express Router
(SER) - Users Mailing List
Cc: Rick Aldred
Sent: Tue, 12 April, 2011 13:03:09
Subject: Re: [SR-Users] Kamailio service not starting on reboot when using mysql
database
the logs shows that the mysql server is started after kamailio. Be
On 4/13/11 10:31 AM, Klaus Darilion wrote:
On 12.04.2011 14:19, Rick Aldred wrote:
Thanks Klaus (and Daniel).
That has solved my problem.
I had just discovered the LSB header configuration in the init.d
script but was
missing the update-rc.d call, so thank you!
Since I am using rtpproxy
On 13.04.2011 10:48, Daniel-Constantin Mierla wrote:
On 4/13/11 10:31 AM, Klaus Darilion wrote:
On 12.04.2011 14:19, Rick Aldred wrote:
Thanks Klaus (and Daniel).
That has solved my problem.
I had just discovered the LSB header configuration in the init.d
script but was
missing the upda
On Wednesday 13 April 2011, Klaus Darilion wrote:
> > Maybe someone that knows the right format can send a patch to get the
> > init.d script to the proper LSB header - even better, commit the fix if
> > someone with git write access knows the format.
>
> I think the problem is not the proper form
those used with the
Should-Start keyword.
Regards,
Rick
- Original Message
From: Henning Westerholt
To: sr-users@lists.sip-router.org
Cc: Klaus Darilion ; "mico...@gmail.com"
; Rick Aldred
Sent: Wed, 13 April, 2011 10:30:45
Subject: Re: [SR-Users] Kamailio service not starti
On Wednesday 13 April 2011, Rick Aldred wrote:
> Maybe the fix would be to include mysql under 'Should-Start' (and
> 'Should-Stop') in the LSB
>
> header. That way mysql will be started if it is present, but not prevent
> Kamailio from starting if it is not.
>
> There is actually already a commen
11 matches
Mail list logo