[SR-Users] best way to start kamailio at boot

Sammy Govind govoiper at gmail.com
Tue Oct 25 13:00:49 CEST 2011


Thanks Alex,

Hey Uri, can you check if you've /etc/init.d/kamailio file exists - open
that file if exists and cross verify few parameters.
Few of these are as follows

PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=*/usr/local/sbin/kamailio*
NAME=kamailio
DESC=kamailio
HOMEDIR=/var/run/
*PIDFILE*=$HOMEDIR/$NAME.pid
DEFAULTS=*/etc/default/kamailio.default*
RUN_KAMAILIO=yes

Make sure /etc/default/kamailio.default file exits. here are the contents of
my file.

RUN_KAMAILIO=yes
USER=kamailio
GROUP=kamailio
MEMORY=64
DUMP_CORE=no

On Tue, Oct 25, 2011 at 3:38 AM, Klaus Darilion <
klaus.mailinglists at pernau.at> wrote:

> Test the startupscript if they work:
>
> /etc/init.d/kamailio start
> /etc/init.d/kamailio stop
>
> If this works, then make sure to have proper symlinks from the
> corresponding runlevel to the startup script. Do it manually or use the
> chkconfig tool.
>
> klaus
>
>
> On 24.10.2011 08:00, Uri Shacked wrote:
>
>> hi again,
>> i found out that on my centos 5.4 the command start-stop-daemon that the
>> /etc/init.d/kamailio uses is not recognized.
>> it is kamailio3.2 any ideas?
>>
>>
>> On Mon, Oct 24, 2011 at 3:03 PM, Uri Shacked <ushacked at gmail.com
>> <mailto:ushacked at gmail.com>> wrote:
>>
>>    Hi,
>>    what is the best way to start kamailio at boot?
>>    the example in the install is not working for me....
>>
>>
>>
>>
>> ______________________________**_________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**users<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
>>
>
> ______________________________**_________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**users<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20111025/7d3bc945/attachment.htm>


More information about the sr-users mailing list