Re: [SR-Users] msilo is failing to in db connection...

2012-03-06 Thread Krishna Kurapati
Thanks for the advice. Krish On Tue, Mar 6, 2012 at 10:35 AM, Henning Westerholt wrote: > On Tuesday 06 March 2012, Krishna Kurapati wrote: > > It finally worked. I reconstructed the config file step by step with the > > same modparam() and it worked. Still not sure what really was wrong > > bef

Re: [SR-Users] msilo is failing to in db connection...

2012-03-06 Thread Henning Westerholt
On Tuesday 06 March 2012, Krishna Kurapati wrote: > It finally worked. I reconstructed the config file step by step with the > same modparam() and it worked. Still not sure what really was wrong > before. > > The other day, I tried to create routes for sending asynchronous messages > to web servic

Re: [SR-Users] msilo is failing to in db connection...

2012-03-06 Thread Krishna Kurapati
Hi, It finally worked. I reconstructed the config file step by step with the same modparam() and it worked. Still not sure what really was wrong before. The other day, I tried to create routes for sending asynchronous messages to web service and the entire system stopped working. The routes becam

Re: [SR-Users] msilo is failing to in db connection...

2012-03-06 Thread Daniel-Constantine Mierla
fwd to the list - reply all failed in first place ... > Hello, > > the module connects in mod init to check the table version, otherwise it does > not do any message storage related operations with the database. It should > work fine at runtime even if mod init does not connect to db. > > B

Re: [SR-Users] msilo is failing to in db connection...

2012-03-03 Thread Krishna Kurapati
Further investigation into the issue revealed that the db_conn in the module_init is failing... When I commented out the code, the module is initialized ok. Not sure if this is will fine. #if 0 db_con = msilo_dbf.init(&ms_db_url); if (!db_con) { LM_ERR("fail

Re: [SR-Users] msilo is failing to in db connection...

2012-03-03 Thread Krishna Kurapati
Hi, Thanks for the response. I looked at the DBURL and it looked just fine. I wanted to test and see if the module is reading the config param or not, I deliberately changed it to modparam("msilo", "db_url", "mysql://root:x@localhost/openser"); When I ran it, the logs shows the user as 'open

Re: [SR-Users] msilo is failing to in db connection...

2012-03-03 Thread Daniel-Constantin Mierla
Hello, the error says the username, password or IP address are invalid to connect to mysql -- access denied. There does not seem like being other connections using same db_url, check for typos in db_url parameter. Cheers, Daniel On 3/3/12 12:39 AM, Krishna Kurapati wrote: Hi all, I am try

[SR-Users] msilo is failing to in db connection...

2012-03-02 Thread Krishna Kurapati
Hi all, I am trying to use msilo module from modules_k. Unfortunately it if failing during DB initialization. Other modules are initializing fine. I am using Kamailio 3.2.2. Not sure why the connection is not found. I tried to increase the MAX mysql connections to 250. I see the same error after