Hi All,
I'm running redundant kamailio 3.0.4 servers in production, have been for a long time with great success. They were installed on debian Lenny. One of my servers crashed. I can't seem to do a debian lennyy install because that version is archived now. I'm trying to install on debian squeeze but still using kamailio 3.0.4 for compatibility reasons. The install went pretty normal except during boot up, kamailio starts before mysql and networking so it starts then exists.
Once the server is fully booted, kamailio starts with the init script without error.
I have adjusted the init script to check for networking and mysql to start first and performed an 'update-rc.d kamailio defaults' but still no luck.
Any help will be appreciated.
Thanks.
JR
When you restart the service, does it say "using dependency-based boot sequencing", or just restart? In other words, does 'squeeze' use dependency-based boot sequencing? I don't remember.
If it does, read this:
http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot
On 08/08/2012 01:13 PM, JR Richardson wrote:
Hi All,
I'm running redundant kamailio 3.0.4 servers in production, have been for a long time with great success. They were installed on debian Lenny. One of my servers crashed. I can't seem to do a debian lennyy install because that version is archived now. I'm trying to install on debian squeeze but still using kamailio 3.0.4 for compatibility reasons. The install went pretty normal except during boot up, kamailio starts before mysql and networking so it starts then exists.
Once the server is fully booted, kamailio starts with the init script without error.
I have adjusted the init script to check for networking and mysql to start first and performed an 'update-rc.d kamailio defaults' but still no luck.
Any help will be appreciated.
Thanks.
JR
Or, perhaps more to the point:
http://wiki.debian.org/LSBInitScripts/
Another option, if you're feeling lazy, don't care about LSB crap, and just want to solve your problem right now, is to just start Kamailio manually in /etc/init.d/bootmisc.sh. That gets fired up after all the LSB init scripts run.
On 08/08/2012 01:13 PM, JR Richardson wrote:
Hi All,
I'm running redundant kamailio 3.0.4 servers in production, have been for a long time with great success. They were installed on debian Lenny. One of my servers crashed. I can't seem to do a debian lennyy install because that version is archived now. I'm trying to install on debian squeeze but still using kamailio 3.0.4 for compatibility reasons. The install went pretty normal except during boot up, kamailio starts before mysql and networking so it starts then exists.
Once the server is fully booted, kamailio starts with the init script without error.
I have adjusted the init script to check for networking and mysql to start first and performed an 'update-rc.d kamailio defaults' but still no luck.
Any help will be appreciated.
Thanks.
JR