[Kamailio-Users] another instance of kamailio on the same machine

Iñaki Baz Castillo ibc at aliax.net
Fri Apr 3 22:43:24 CEST 2009


El Viernes 03 Abril 2009, Juan Perez escribió:
> hi guys , I tried to do it and it wont start
>
> my setup is:
> centos5
> kamailio 1.4
>
> I installed kamailio originally in /usr/local/install-dir/
> Now I created a folder named "install-dir2" and created these 3 soft links:
>
> /usr/local/install-dir2/etc2/kamailio2/kamailio2.cfg  --> /usr/local/install-dir/etc/kamailio/kamailio.cfg

Why do you do it? ^^^^^^^^ 
Doing that kamailio2.cfg is a link to kamailio.cfg, so when you run:

  kamailio2 -f /usr/local/install-dir2/etc2/kamailio2/kamailio2.cfg

You are loading /usr/local/install-dir/etc/kamailio/kamailio.cfg !!!

This is, kamailio2 is trying to bind the same sockets so it cannot start.


-- 
Iñaki Baz Castillo <ibc at aliax.net>



More information about the Users mailing list