Hi, what is the best way to start kamailio at boot? the example in the install is not working for me....
if chkconfig isn't working you can add the kamalio startup command in etc/rc.local file.
On Mon, Oct 24, 2011 at 6:03 PM, Uri Shacked ushacked@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@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
On 10/24/2011 09:23 AM, Sammy Govind wrote:
if chkconfig isn't working you can add the kamalio startup command in etc/rc.local file.
Yes, but there is a reason why a service management layer exists on all Linux distributions. Many things can go wrong by starting complex services ad hoc that way, especially services with dependencies.
If you want to be creative, be creative, but don't encourage poor practices to newbies.
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@gmail.com wrote:
Hi, what is the best way to start kamailio at boot? the example in the install is not working for me....
On 10/24/2011 10:00 AM, 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?
Sounds like you are trying to use the Debian init script. Use the one intended for CentOS/Redhat environments instead.
It is located in: sip-router/pkg/kamailio/rpm
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@gmail.com mailto:ushacked@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@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
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@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@gmail.com mailto:ushacked@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@lists.sip-router.org http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**usershttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
______________________________**_________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**usershttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hi. I already checked it all. The kamailio start and stop command did not work. The init script i used was for debian. Now i use another script, for centos. It works. I add the kamailio proccess with chkconfig tool. Thanks.
On 10/25/11, Sammy Govind govoiper@gmail.com wrote:
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@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@gmail.com mailto:ushacked@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@lists.sip-router.org http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**usershttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
______________________________**_________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**usershttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hi again....
i installed kamailio 3.2.2 today. i used the chkconfig tool to get kamailio run at boot. i edited both /etc/init.d/kamailio and /etc/default/kamailio files to run with 2048Mg of memory. now, when i run /etc/init.d/kamailio start, it starts with the right amount of memory. when i rum "kamailio" only, it starts with 32Mb....
i use centos 6.2 64bit. any ideas?
On Tue, Oct 25, 2011 at 1:18 PM, Uri Shacked ushacked@gmail.com wrote:
Hi. I already checked it all. The kamailio start and stop command did not work. The init script i used was for debian. Now i use another script, for centos. It works. I add the kamailio proccess with chkconfig tool. Thanks.
On 10/25/11, Sammy Govind govoiper@gmail.com wrote:
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@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@gmail.com mailto:ushacked@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@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%3E
______________________________**_________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@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%3E
-- Sent from my mobile device
Hi Sammy,
When you use the init script, it is starting Kamailio with the correct arguments to get the environment you wish (-m 2048 probably). If however, you just call kamailio these args are not there. Im not sure why you are running with kamailio command directly. Why don't you add your init script to the appropriate runlevel for auto startup?
Cheers Jason
On Wed, Feb 1, 2012 at 3:06 PM, Uri Shacked ushacked@gmail.com wrote:
Hi again....
i installed kamailio 3.2.2 today. i used the chkconfig tool to get kamailio run at boot. i edited both /etc/init.d/kamailio and /etc/default/kamailio files to run with 2048Mg of memory. now, when i run /etc/init.d/kamailio start, it starts with the right amount of memory. when i rum "kamailio" only, it starts with 32Mb....
i use centos 6.2 64bit. any ideas?
On Tue, Oct 25, 2011 at 1:18 PM, Uri Shacked ushacked@gmail.com wrote:
Hi. I already checked it all. The kamailio start and stop command did not work. The init script i used was for debian. Now i use another script, for centos. It works. I add the kamailio proccess with chkconfig tool. Thanks.
On 10/25/11, Sammy Govind govoiper@gmail.com wrote:
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@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@gmail.com mailto:ushacked@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@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%3E
______________________________**_________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@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%3E
-- Sent from my mobile device
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
This email is subject to the disclaimer of Smile Communications (PTY) Ltd. at http://www.smilecoms.com/disclaimer