[OpenSIPS-Users] OpenSIPS Load Balancer Module Initialization Error

Faisal Rehman faisal.rehman22 at yahoo.com
Wed Sep 21 12:24:49 CEST 2011


Hi Khue,

Adding the line loadmodule "dialog.so" in my opensips.cfg gives now the following error which wasn't coming before:

Sep 21 15:21:14 m5-24 /usr/local/sbin/opensips[6859]: ERROR:db_mysql:db_mysql_connect: driver error(1045): Access denied for user 'opensips'@'localhost' (using password: YES)
Sep 21 15:21:14 m5-24 /usr/local/sbin/opensips[6859]: ERROR:db_mysql:db_mysql_new_connection: initial connect failed
Sep 21 15:21:14 m5-24 /usr/local/sbin/opensips[6859]: ERROR:core:db_do_init: could not add connection to the pool
Sep 21 15:21:14 m5-24 /usr/local/sbin/opensips[6859]: ERROR:load_balancer:init_lb_db: unable to connect to the database
Sep 21 15:21:14 m5-24 /usr/local/sbin/opensips[6859]: ERROR:load_balancer:mod_init: failed to initialize the DB support
Sep 21 15:21:14 m5-24 /usr/local/sbin/opensips[6859]: ERROR:core:init_mod: failed to initialize module load_balancer
Sep 21 15:21:14 m5-24 /usr/local/sbin/opensips[6859]: ERROR:core:main: error while initializing modules
Sep 21 15:21:14 m5-24 opensips: INFO:core:daemonize: pre-daemon process exiting with -1

 
With Best Regards,


Faisal Rehman


________________________________
From: nguyen khue <minhkhue49da at yahoo.com>
To: Faisal Rehman <faisal.rehman22 at yahoo.com>; "users at lists.opensips.org" <users at lists.opensips.org>; OpenSIPS users mailling list <users at lists.opensips.org>
Sent: Wednesday, September 21, 2011 3:15 PM
Subject: Re: [OpenSIPS-Users] OpenSIPS Load Balancer Module Initialization Error


Hi Faisal,

You add line "loadmodule "dialog.so" into your config file and try again.

regards
Khue Nguyen


________________________________
From: Faisal Rehman <faisal.rehman22 at yahoo.com>
To: "users at lists.opensips.org" <users at lists.opensips.org>
Sent: Wednesday, September 21, 2011 5:11 PM
Subject: [OpenSIPS-Users] OpenSIPS Load Balancer Module Initialization Error


Hi Everyone,

I am trying to start OpenSIPS as Load Balancer but sometimes after configuration changes, OpenSIPS starts with the help of OpenSIPS initialization command but it does not run as a process at the background.

I have tailed the /var/log/messages and got the following error:

 /usr/local/sbin/opensips[6616]: ERROR:load_balancer:mod_init: Can't load dialog hooks
 /usr/local/sbin/opensips[6616]: ERROR:core:init_mod: failed to initialize module load_balancer
 /usr/local/sbin/opensips[6616]: ERROR:core:main: error while initializing modules
 opensips: INFO:core:daemonize: pre-daemon process exiting with -1


I have seen the previous threads relevant to this error but nothing worked fine, so anyone can help and assist me please because I really need its solution.

Thank you very much in Advance!!

With Best Regards,


Faisal Rehman
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110921/2ade18c0/attachment-0001.htm>


More information about the Users mailing list