Re: [SR-Users] [sr-dev] openser db on an external mysql server

2013-02-15 Thread Prakash N
Hi Daniel / Muhammad , Thanks for your great support The problem now only got fixed ,the solution is children=1 changes in kamailio.cfg I have tested Ubuntu 12 and Centos 5.7 both having the issue and solution will be the above I am continuing testing with Asterisk 1.8 Real time

Re: [SR-Users] [sr-dev] openser db on an external mysql server

2013-02-14 Thread Daniel-Constantin Mierla
On 2/14/13 7:09 PM, Daniel-Constantin Mierla wrote: I want to add few details about some case that I encountered in the past. On some specific OS'es, especially centos, seems to be a limit on the number of new connections allowed in the host. To be more precise, it is about a limit on the ra

Re: [SR-Users] [sr-dev] openser db on an external mysql server

2013-02-14 Thread Daniel-Constantin Mierla
I want to add few details about some case that I encountered in the past. On some specific OS'es, especially centos, seems to be a limit on the number of new connections allowed in the host. That results in some kamailio processes being able to connect, some not, with over all result of failing

Re: [SR-Users] [sr-dev] openser db on an external mysql server

2013-02-12 Thread Muhammad Shahzad
.0.0.1:5060" > Feb 12 23:41:30 localhost /usr/local/sbin/kamailio[4283]: : > [main.c:1625]: main_loop: Cannot fork > > With Regards > > N.Prakash > > -- Forwarded message -- >> From: SamyGo >> Date: Tue, Feb 12, 2013 at 5:49 PM >> Subject: Re

Re: [SR-Users] [sr-dev] openser db on an external mysql server

2013-02-12 Thread Prakash N
base >> Feb 12 23:41:30 localhost /usr/local/sbin/kamailio[4283]: ERROR: >> [sr_module.c:896]: init_mod_child(): Error while initializing module >> auth_db (/usr/local/lib64/kamailio/modules_k/auth_db.so) >> Feb 12 23:41:30 localhost /usr/local/sbin/kamailio[4283]: ERROR: >> [

Re: [SR-Users] [sr-dev] openser db on an external mysql server

2013-02-12 Thread Prakash N
N.Prakash -- Forwarded message -- > From: SamyGo > Date: Tue, Feb 12, 2013 at 5:49 PM > Subject: Re: [SR-Users] [sr-dev] openser db on an external mysql server > To: "SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users > Mailing List" >

Re: [SR-Users] [sr-dev] openser db on an external mysql server

2013-02-12 Thread SamyGo
Hi Prakash, Please paste All ERROR appearing and Warnings when you start your kamailio. What is the free memory situation on your server ? Regards, Sammy On Tue, Feb 12, 2013 at 5:12 PM, Prakash N wrote: > Hi Muhammad, > >Yes, I have define Mysql on top in Kamailio.cfg > >DBURL "mys

Re: [SR-Users] [sr-dev] openser db on an external mysql server

2013-02-12 Thread Muhammad Shahzad
What is your connection string in kamailio i.e. DBURL? Also make sure you have defined WITH_MYSQL on the top of kamailio.cfg to load necessary drivers. #!define WITH_MYSQL Thank you. On Tue, Feb 12, 2013 at 12:56 PM, Prakash N wrote: > Hi Shahzad , > > It is not ,We can able to co

Re: [SR-Users] [sr-dev] openser db on an external mysql server

2013-02-12 Thread Muhammad Shahzad
Its not a Kamailio error, it is problem with connecting to mysql server. Error 4 means No MySQL Server Running On Specified Host. May be MySQL server is down or there is some firewall running or MySQL not listening on IP you specified. Thank you. On Tue, Feb 12, 2013 at 12:11 PM, Prakash N wro

Re: [SR-Users] [sr-dev] openser db on an external mysql server

2013-02-12 Thread Prakash N
Hi Muhammad, Yes, I have define Mysql on top in Kamailio.cfg DBURL "mysql://openser:openserrw@192.168.1.170/openser" I have attached Kamailio.cfg ,please advice With Regards N.Prakash On Tue, Feb 12, 2013 at 5:37 PM, Muhammad Shahzad wrote: > What is your connection string in kamail

Re: [SR-Users] [sr-dev] openser db on an external mysql server

2013-02-12 Thread Prakash N
Hi Shahzad , It is not ,We can able to connect remote mysql ( please find the detail below),moreover we can able create openser db from Kamailio server to remote mysql server *Mysql server : 192.168.1.170* *Kamailio server : 192.168.1.101* *Mysql output :* * * *mysql -u openser -h