<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div><span><b>Hi Vlad,</b></span></div><div><span><br></span></div><div><span>So I have to just add the line loadmodule "dialog.so" or do I have to make other changes as well like any modpram relevant to dialog.so??</span></div><div><span><br></span></div><div><span><br></span></div><div> </div><div>With Best Regards,<br><br></div><div><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> Vlad Paiu <vladpaiu@opensips.org><br><b><span style="font-weight: bold;">To:</span></b> users@lists.opensips.org<br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, September 21, 2011 3:14
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="yiv1849186848">
Hello,<br>
<br>
The load_balancer module is complaining about not being able to bind
to the dialog module API.<br>
Make sure to load the dialog module before the load_balancer module.<br>
<br>
Regards,<br>
<pre class="yiv1849186848moz-signature">Vlad Paiu
OpenSIPS Developer</pre>
<br>
On 09/21/2011 01:11 PM, Faisal Rehman wrote:
<blockquote type="cite">
<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="yiv1849186848">
<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="yiv1849186848yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span id="yiv1849186848yui_3_2_0_16_131658681628771"><font class="yiv1849186848Apple-style-span" face="tahoma, 'new york',
times, serif"><b>Hi Everyone,</b></font></span></div>
<div id="yiv1849186848yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span id="yiv1849186848yui_3_2_0_16_131658681628776"><font class="yiv1849186848Apple-style-span" face="tahoma, 'new york',
times, serif"><br>
</font></span></div>
<div id="yiv1849186848yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span id="yiv1849186848yui_3_2_0_16_131658681628781"><font class="yiv1849186848Apple-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="yiv1849186848yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span id="yiv1849186848yui_3_2_0_16_1316586816287139"><font class="yiv1849186848Apple-style-span" face="tahoma, 'new york',
times, serif"><br>
</font></span></div>
<div id="yiv1849186848yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span id="yiv1849186848yui_3_2_0_16_1316586816287144"><font class="yiv1849186848Apple-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="yiv1849186848yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span><br>
</span></div>
<div id="yiv1849186848yui_3_2_0_16_131658681628748" style="font-family: courier, monaco, monospace, sans-serif; "><span id="yiv1849186848yui_3_2_0_16_131658681628795">
<div id="yiv1849186848yui_3_2_0_16_131658681628748"><font class="yiv1849186848Apple-style-span" id="yiv1849186848yui_3_2_0_16_1316586816287103" size="2"> /usr/local/sbin/opensips[6616]:
ERROR:load_balancer:mod_init: Can't load dialog
hooks</font></div>
<div id="yiv1849186848yui_3_2_0_16_131658681628748"><font class="yiv1849186848Apple-style-span" id="yiv1849186848yui_3_2_0_16_1316586816287114" size="2"> /usr/local/sbin/opensips[6616]:
ERROR:core:init_mod: failed to initialize module
load_balancer</font></div>
<div id="yiv1849186848yui_3_2_0_16_131658681628748"><font class="yiv1849186848Apple-style-span" id="yiv1849186848yui_3_2_0_16_1316586816287119" size="2"> /usr/local/sbin/opensips[6616]:
ERROR:core:main: error while initializing modules</font></div>
<div id="yiv1849186848yui_3_2_0_16_131658681628748"><font class="yiv1849186848Apple-style-span" id="yiv1849186848yui_3_2_0_16_1316586816287126" size="2"> 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="yiv1849186848yui_3_2_0_16_131658681628754" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><br>
</div>
<div id="yiv1849186848yui_3_2_0_16_131658681628754" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><font class="yiv1849186848Apple-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="yiv1849186848yui_3_2_0_16_131658681628754" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><font class="yiv1849186848Apple-style-span" face="tahoma, 'new york',
times, serif"><br>
</font></div>
<div id="yiv1849186848yui_3_2_0_16_131658681628754" style="font-size:10pt;" class="yiv1849186848yui_3_2_0_16_131659975247578"><font class="yiv1849186848Apple-style-span" face="tahoma, 'new york',
times, serif"><i>Thank you very much in Advance!!</i></font></div>
<div id="yiv1849186848yui_3_2_0_16_131658681628754" style="font-size:10pt;" class="yiv1849186848yui_3_2_0_16_131659975247578"><font class="yiv1849186848Apple-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="yiv1849186848Apple-style-span" face="tahoma, 'new york',
times, serif">With Best Regards,<br id="yiv1849186848yui_3_2_0_16_131658681628759">
<br id="yiv1849186848yui_3_2_0_16_131658681628762">
</font></div>
<div id="yiv1849186848yui_3_2_0_16_131658681628765" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><font class="yiv1849186848Apple-style-span" face="tahoma, 'new york',
times, serif"><b>Faisal Rehman</b></font></div>
</div>
</div>
</div>
<pre><fieldset class="yiv1849186848mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a rel="nofollow" class="yiv1849186848moz-txt-link-abbreviated" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a rel="nofollow" class="yiv1849186848moz-txt-link-freetext" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</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></div></body></html>