<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><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 new roman', '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> Faisal Rehman <faisal.rehman22@yahoo.com><br><b><span style="font-weight: bold;">To:</span></b> "users@lists.opensips.org" <users@lists.opensips.org><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="yiv1986202708"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: tahoma, 'new york', times, serif; "><div id="yiv1986202708"><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="yiv1986202708yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span id="yiv1986202708yui_3_2_0_16_131658681628771"><font class="yiv1986202708Apple-style-span" face="tahoma, 'new york', times, serif"><b>Hi Everyone,</b></font></span></div><div id="yiv1986202708yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span id="yiv1986202708yui_3_2_0_16_131658681628776"><font class="yiv1986202708Apple-style-span" face="tahoma, 'new
york', times, serif"><br></font></span></div><div id="yiv1986202708yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span id="yiv1986202708yui_3_2_0_16_131658681628781"><font class="yiv1986202708Apple-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="yiv1986202708yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span id="yiv1986202708yui_3_2_0_16_1316586816287139"><font class="yiv1986202708Apple-style-span" face="tahoma, 'new york', times, serif"><br></font></span></div><div id="yiv1986202708yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif;
"><span id="yiv1986202708yui_3_2_0_16_1316586816287144"><font class="yiv1986202708Apple-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="yiv1986202708yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span><br></span></div><div id="yiv1986202708yui_3_2_0_16_131658681628748" style="font-family: courier, monaco, monospace, sans-serif; "><span id="yiv1986202708yui_3_2_0_16_131658681628795"><div id="yiv1986202708yui_3_2_0_16_131658681628748"><font class="yiv1986202708Apple-style-span" size="2" id="yiv1986202708yui_3_2_0_16_1316586816287103"> /usr/local/sbin/opensips[6616]: ERROR:load_balancer:mod_init: Can't load dialog hooks</font></div><div id="yiv1986202708yui_3_2_0_16_131658681628748"><font class="yiv1986202708Apple-style-span" size="2" id="yiv1986202708yui_3_2_0_16_1316586816287114"> /usr/local/sbin/opensips[6616]: ERROR:core:init_mod: failed to initialize module load_balancer</font></div><div id="yiv1986202708yui_3_2_0_16_131658681628748"><font
class="yiv1986202708Apple-style-span" size="2" id="yiv1986202708yui_3_2_0_16_1316586816287119"> /usr/local/sbin/opensips[6616]: ERROR:core:main: error while initializing modules</font></div><div id="yiv1986202708yui_3_2_0_16_131658681628748"><font class="yiv1986202708Apple-style-span" size="2" id="yiv1986202708yui_3_2_0_16_1316586816287126"> 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="yiv1986202708yui_3_2_0_16_131658681628754" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><br></div><div id="yiv1986202708yui_3_2_0_16_131658681628754" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><font class="yiv1986202708Apple-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="yiv1986202708yui_3_2_0_16_131658681628754" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><font class="yiv1986202708Apple-style-span" face="tahoma, 'new york', times, serif"><br></font></div><div id="yiv1986202708yui_3_2_0_16_131658681628754" style="font-size:10pt;" class="yiv1986202708yui_3_2_0_16_131659975247578"><font class="yiv1986202708Apple-style-span" face="tahoma, 'new york', times, serif"><i>Thank you very much in Advance!!</i></font></div><div id="yiv1986202708yui_3_2_0_16_131658681628754" style="font-size:10pt;" class="yiv1986202708yui_3_2_0_16_131659975247578"><font class="yiv1986202708Apple-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="yiv1986202708Apple-style-span" face="tahoma, 'new york', times,
serif">With Best Regards,<br id="yiv1986202708yui_3_2_0_16_131658681628759"><br id="yiv1986202708yui_3_2_0_16_131658681628762"></font></div><div id="yiv1986202708yui_3_2_0_16_131658681628765" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><font class="yiv1986202708Apple-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 ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br><br><br></div></div></div></body></html>