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 /usr/local/install-dir2/sbin2/kamctl2 ---> /usr/local/install-dir/sbin/kamctl /usr/local/install-dir2/sbin2/kamailio2 --> /usr/local/install-dir/sbin/kamailio I tried running kamailio2 -f /usr/local/install-dir2/etc2/kamailio2/kamailio2.cfg and it failed to start I do not think that I got your idea right, what would be the files that I need to "replicate" as links and how should I start the program? cheers jp ----- Original Message ---- From: Luciano Afranllie <listas.luaf...@gmail.com> To: Iñaki Baz Castillo <i...@aliax.net> Cc: users@lists.kamailio.org Sent: Tuesday, March 31, 2009 1:22:08 PM Subject: Re: [Kamailio-Users] another instance of kamailio on the same machine On Tue, Mar 31, 2009 at 2:52 PM, Iñaki Baz Castillo <i...@aliax.net> wrote: > El Martes 31 Marzo 2009, Juan Perez escribió: >> hi >> To install another instance of kamailio listening in another IP, > > Kamailio *already* supports listening in various IP's/interfaces/protocols. > > >> does one need to do something in particular aside from install it in another >> directory? > > You *don't* need to install it again in other directoy. What I did it a soft > link: > > /usr/sbin/kamailio_2 -> /usr/sbin/kamailio > > And copy /etc/init.d/kamailio to /etc/init.d/kamailio_2, and also > /etc/kamailio to /etc/kamailio_2. And of course, configure these files. > > >> Also, when it is time to run the script to create the mysql >> tables, how can I tell the script to create a db named "openser2" to avoid >> deleting the existing one named by default "openser" ? > > kamdbctl script will ask you for tha DB name. That is not true. If you execute just "kamdbctl create" it will use DBNAME value defined in /etc/kamailio/kamctlrc (or openser as default) >> Just by changing the >> line DBNAME=openser in kamctlrc to DBNAME=openser2? > > This will control which DB is accessed by kamctl command. > > > -- > Iñaki Baz Castillo <i...@aliax.net> > > _______________________________________________ > Kamailio (OpenSER) - Users mailing list > Users@lists.kamailio.org > http://lists.kamailio.org/cgi-bin/mailman/listinfo/users > http://lists.openser-project.org/cgi-bin/mailman/listinfo/users > _______________________________________________ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users _______________________________________________ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users