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

Krishna Kurapati kkurapat at gmail.com
Sat Mar 3 00:39:27 CET 2012


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 I increase the connections.

The config file is pretty standard:

loadmodule "msilo.so"
modparam("msilo", "add_date", 0);
modparam("msilo", "db_url", DBURL);  # The DBURL works for other modules...

Here is the Log output:

0(14115) DEBUG: <core> [cfg.y:1684]: loading module msilo.so
 0(14115) DEBUG: <core> [sr_module.c:557]: load_module: trying to load
</usr/local/kamailio-3.2.2/lib64/kamailio/modules_k/msilo.so>

.....

0(14117) DEBUG: <core> [sr_module.c:928]: DEBUG: init_mod: msilo
 0(14117) DEBUG: <core> [sr_module.c:667]: find_export_record: found
<db_bind_api> in module db_mysql
[/usr/local/kamailio-3.2.2/lib64/kamailio/modules/db_mysql.so]
 0(14117) DEBUG: <core> [db.c:212]: using db bind api for db_mysql
 0(14117) DEBUG: <core> [db.c:299]: connection 0x7fc20d1ace60 not found in
pool
 0(14117) DEBUG: db_mysql [km_my_con.c:94]: opening connection:
mysql://xxxx:xxxx@localhost/openser
 0(14117) ERROR: db_mysql [km_my_con.c:109]: driver error: Access denied
for user 'openser'@'localhost' (using password: YES)
 0(14117) ERROR: <core> [db.c:303]: could not add connection to the pool
0(14117) ERROR: msilo [msilo.c:319]: failed to connect to the database
 0(14117) ERROR: <core> [sr_module.c:932]: init_mod(): Error while
initializing module msilo
(/usr/local/kamailio-3.2.2/lib64/kamailio/modules_k/msilo.so)
ERROR: error while initializing modules

Any help?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120302/cf2cbb8d/attachment.htm>


More information about the sr-users mailing list