[OpenSIPS-Users] Question about opensips start and stop
mark morreny
markmorreny at gmail.com
Sat Dec 6 08:10:52 CET 2008
Hi,
I am sorry for asking a dumb question here, but I checked all the
documentation, and still could not find the answer I am looking for.
I need to be able to run multiple instances of opensips in daemon mode (
fork = yes ). It works with these commands here:
opensips -l 192.168.1.109:5030 -f /var/app/config/opensips_1.cfg
opensips -l 192.168.1.109:5040 -f /var/app/config/opensips_2.cfg
opensips -l 192.168.1.109:5050 -f /var/app/config/opensips_3.cfg
However, when the config files are updated, I would like to do a restart. I
tried with
opensips -l 192.168.1.109:5050 -f /var/app/config/opensips_3.cfg restart
and what I am getting is:
Dec 6 15:09:56 [10731] ERROR:core:tcp_init: bind(5, 0x7651fc, 16) on
192.168.1.109:5050 : Address already in use
The only solution I can think of is to use kill to individually kill each
opensips process one by one but it is a very time consuming process.
Does anyone know of a better way of doing it?
Thanks for your help.
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081206/1e7277ef/attachment.htm
More information about the Users
mailing list