understood.
so I just need 2 softlinks?
----- Original Message ---- From: Iñaki Baz Castillo ibc@aliax.net To: users@lists.kamailio.org Sent: Friday, April 3, 2009 3:43:24 PM Subject: Re: [Kamailio-Users] another instance of kamailio on the same machine
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.