<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt; "><span><b>Hi Khue,</b></span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt; "><span><br></span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt; "><span>Adding the line&nbsp;loadmodule "dialog.so" in my opensips.cfg gives now the following error which wasn't coming before:</span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt; "><span><br></span></div><div><span><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"><div><font class="Apple-style-span" size="2">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)</font></div><div><font class="Apple-style-span" size="2">Sep 21 15:21:14 m5-24 /usr/local/sbin/opensips[6859]: ERROR:db_mysql:db_mysql_new_connection: initial connect failed</font></div><div><font class="Apple-style-span" size="2">Sep 21 15:21:14 m5-24 /usr/local/sbin/opensips[6859]: ERROR:core:db_do_init: could not add connection to the pool</font></div><div><font class="Apple-style-span" size="2">Sep 21 15:21:14 m5-24 /usr/local/sbin/opensips[6859]: ERROR:load_balancer:init_lb_db: unable to connect to the database</font></div><div><font class="Apple-style-span" size="2">Sep 21 15:21:14 m5-24 /usr/local/sbin/opensips[6859]: ERROR:load_balancer:mod_init: failed to initialize the DB support</font></div><div><font class="Apple-style-span" size="2">Sep 21 15:21:14 m5-24 /usr/local/sbin/opensips[6859]: ERROR:core:init_mod: failed to initialize module load_balancer</font></div><div><font class="Apple-style-span" size="2">Sep 21 15:21:14 m5-24
 /usr/local/sbin/opensips[6859]: ERROR:core:main: error while initializing modules</font></div><div><font class="Apple-style-span" size="2">Sep 21 15:21:14 m5-24 opensips: INFO:core:daemonize: pre-daemon process exiting with -1</font></div><div style="font-size: 10pt; "><br></div></font></span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt; ">&nbsp;</div><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt; ">With Best Regards,<br><br></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt; "><b>Faisal Rehman</b><br><div style="font-size: 10pt; font-family: tahoma, 'new york', times, serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> nguyen khue &lt;minhkhue49da@yahoo.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> Faisal
 Rehman &lt;faisal.rehman22@yahoo.com&gt;; "users@lists.opensips.org" &lt;users@lists.opensips.org&gt;; OpenSIPS users mailling list &lt;users@lists.opensips.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, September 21, 2011 3:15 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [OpenSIPS-Users] OpenSIPS Load Balancer Module Initialization Error<br></font><br><div id="yiv482205899"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div><span>Hi Faisal,</span></div><div><span><br></span></div><div><span>You add line "loadmodule "dialog.so" into your config file and try again.</span></div><div><span><br></span></div><div>regards</div><div>Khue Nguyen</div><div><br></div><div style="font-size: 12pt; font-family: times, serif; "><div style="font-size: 12pt; font-family: times, serif; "><font size="2" face="Arial"><hr
 size="1"><b><span style="font-weight:bold;">From:</span></b> Faisal Rehman &lt;faisal.rehman22@yahoo.com&gt;<br><b><span style="font-weight:bold;">To:</span></b> "users@lists.opensips.org" &lt;users@lists.opensips.org&gt;<br><b><span style="font-weight:bold;">Sent:</span></b> Wednesday, September 21, 2011 5:11 PM<br><b><span style="font-weight:bold;">Subject:</span></b>
 [OpenSIPS-Users] OpenSIPS Load Balancer Module Initialization Error<br></font><br><div id="yiv482205899"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: tahoma, times, serif; "><div id="yiv482205899"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><div id="yiv482205899yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span id="yiv482205899yui_3_2_0_16_131658681628771"><font class="yiv482205899Apple-style-span" face="tahoma, 'new york', times, serif"><b>Hi Everyone,</b></font></span></div><div id="yiv482205899yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span id="yiv482205899yui_3_2_0_16_131658681628776"><font class="yiv482205899Apple-style-span" face="tahoma, 'new
 york', times, serif"><br></font></span></div><div id="yiv482205899yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span id="yiv482205899yui_3_2_0_16_131658681628781"><font class="yiv482205899Apple-style-span" face="tahoma, 'new york', times, serif">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.</font></span></div><div id="yiv482205899yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span id="yiv482205899yui_3_2_0_16_1316586816287139"><font class="yiv482205899Apple-style-span" face="tahoma, 'new york', times, serif"><br></font></span></div><div id="yiv482205899yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span
 id="yiv482205899yui_3_2_0_16_1316586816287144"><font class="yiv482205899Apple-style-span" face="tahoma, 'new york', times, serif">I have tailed the /var/log/messages and got the
 following error:</font></span></div><div id="yiv482205899yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span><br></span></div><div id="yiv482205899yui_3_2_0_16_131658681628748" style="font-family: courier, monaco, monospace, sans-serif; "><span id="yiv482205899yui_3_2_0_16_131658681628795"><div id="yiv482205899yui_3_2_0_16_131658681628748"><font class="yiv482205899Apple-style-span" size="2" id="yiv482205899yui_3_2_0_16_1316586816287103">&nbsp;/usr/local/sbin/opensips[6616]: ERROR:load_balancer:mod_init: Can't load dialog hooks</font></div><div id="yiv482205899yui_3_2_0_16_131658681628748"><font class="yiv482205899Apple-style-span" size="2" id="yiv482205899yui_3_2_0_16_1316586816287114">&nbsp;/usr/local/sbin/opensips[6616]: ERROR:core:init_mod: failed to initialize module load_balancer</font></div><div id="yiv482205899yui_3_2_0_16_131658681628748"><font class="yiv482205899Apple-style-span"
 size="2" id="yiv482205899yui_3_2_0_16_1316586816287119">&nbsp;/usr/local/sbin/opensips[6616]: ERROR:core:main: error while initializing modules</font></div><div id="yiv482205899yui_3_2_0_16_131658681628748"><font class="yiv482205899Apple-style-span" size="2" id="yiv482205899yui_3_2_0_16_1316586816287126">&nbsp;opensips: INFO:core:daemonize: pre-daemon process exiting with -1</font></div><div style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><br></div></span></div><div id="yiv482205899yui_3_2_0_16_131658681628754" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><br></div><div id="yiv482205899yui_3_2_0_16_131658681628754" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><font class="yiv482205899Apple-style-span" face="tahoma, 'new york', times, serif">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.</font></div><div id="yiv482205899yui_3_2_0_16_131658681628754" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><font class="yiv482205899Apple-style-span" face="tahoma, 'new york', times, serif"><br></font></div><div id="yiv482205899yui_3_2_0_16_131658681628754" style="font-size:10pt;" class="yiv482205899yui_3_2_0_16_131659975247578"><font class="yiv482205899Apple-style-span" face="tahoma, 'new york', times, serif"><i>Thank you very much in Advance!!</i></font></div><div id="yiv482205899yui_3_2_0_16_131658681628754" style="font-size:10pt;" class="yiv482205899yui_3_2_0_16_131659975247578"><font class="yiv482205899Apple-style-span" face="tahoma, 'new york', times, serif"><br></font></div><div style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><font class="yiv482205899Apple-style-span" face="tahoma, 'new york', times,
 serif">With Best Regards,<br id="yiv482205899yui_3_2_0_16_131658681628759"><br id="yiv482205899yui_3_2_0_16_131658681628762"></font></div><div id="yiv482205899yui_3_2_0_16_131658681628765" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><font class="yiv482205899Apple-style-span" face="tahoma, 'new york', times, serif"><b>Faisal Rehman</b></font></div></div></div></div></div><br>_______________________________________________<br>Users mailing list<br><a rel="nofollow" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a rel="nofollow" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br><br><br></div></div></div></div><br><br></div></div></div></div></body></html>