<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div><span><font class="Apple-style-span" face="tahoma, 'new york', times, serif"><b>Hi Vlad,</b></font></span></div><div><span><font class="Apple-style-span" face="tahoma, 'new york', times, serif"><br></font></span></div><div><span><font class="Apple-style-span" face="tahoma, 'new york', times, serif">Its working now, it was DB password mistake in my opensips configuration file.</font></span></div><div><span><font class="Apple-style-span" face="tahoma, 'new york', times, serif"><br></font></span></div><div><span><font class="Apple-style-span" face="tahoma, 'new york', times, serif">Thanks a lot!!</font></span></div><div><font class="Apple-style-span" face="tahoma, 'new york', times, serif"> </font></div><div><font class="Apple-style-span" face="tahoma, 'new york', times, serif">With Best
Regards,<br><br></font></div><div><font class="Apple-style-span" face="tahoma, 'new york', times, serif"><b>Faisal Rehman</b><br></font><div style="font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace, sans-serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><font size="2"><hr size="1"><b style="font-family: 'times new roman', 'new york', times, serif; "><span style="font-weight:bold;">From:</span></b> Vlad Paiu <vladpaiu@opensips.org><br><b style="font-family: 'times new roman', 'new york', times, serif; "><span style="font-weight: bold;">To:</span></b> users@lists.opensips.org<br><b style="font-family: 'times new roman', 'new york', times, serif; "><span style="font-weight: bold;">Sent:</span></b> Wednesday, September 21, 2011 3:25 PM<br><b style="font-family: 'times new roman', 'new york', times, serif; "><span style="font-weight: bold;">Subject:</span></b> Re: [OpenSIPS-Users]
OpenSIPS Load Balancer Module Initialization Error<br></font><br><div id="yiv1815072560" style="font-family: 'times new roman', 'new york', times, serif; ">
Hello,<br>
<br>
Just to get load_balancer to start, all you need is load the
dialog.so before it.<br>
If you need more advanced dialog features ( DB persistence, etc )
check [1]<br>
<br>
[1] <a rel="nofollow" class="yiv1815072560moz-txt-link-freetext" target="_blank" href="http://www.opensips.org/html/docs/modules/devel/dialog.html">http://www.opensips.org/html/docs/modules/devel/dialog.html</a><br>
<br>
Regards,<br>
<pre class="yiv1815072560moz-signature">Vlad Paiu
OpenSIPS Developer</pre>
<br>
On 09/21/2011 01:22 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><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, times, serif; ">
<div style="font-size: 12pt; font-family: times, serif; "><font face="Arial" size="2">
<hr size="1"><b><span style="font-weight:bold;">From:</span></b>
Vlad Paiu <a rel="nofollow" class="yiv1815072560moz-txt-link-rfc2396E" ymailto="mailto:vladpaiu@opensips.org" target="_blank" href="mailto:vladpaiu@opensips.org"><vladpaiu@opensips.org></a><br>
<b><span style="font-weight:bold;">To:</span></b>
<a rel="nofollow" class="yiv1815072560moz-txt-link-abbreviated" ymailto="mailto:users@lists.opensips.org" target="_blank" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><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="yiv1815072560"> 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="yiv1815072560moz-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, times, serif; ">
<div id="yiv1815072560">
<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="yiv1815072560yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span id="yiv1815072560yui_3_2_0_16_131658681628771"><font class="yiv1815072560Apple-style-span" face="tahoma, 'new york', times, serif"><b>Hi
Everyone,</b></font></span></div>
<div id="yiv1815072560yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span id="yiv1815072560yui_3_2_0_16_131658681628776"><font class="yiv1815072560Apple-style-span" face="tahoma, 'new york', times, serif"><br>
</font></span></div>
<div id="yiv1815072560yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span id="yiv1815072560yui_3_2_0_16_131658681628781"><font class="yiv1815072560Apple-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="yiv1815072560yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span id="yiv1815072560yui_3_2_0_16_1316586816287139"><font class="yiv1815072560Apple-style-span" face="tahoma, 'new york', times, serif"><br>
</font></span></div>
<div id="yiv1815072560yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span id="yiv1815072560yui_3_2_0_16_1316586816287144"><font class="yiv1815072560Apple-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="yiv1815072560yui_3_2_0_16_131658681628748" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><span><br>
</span></div>
<div id="yiv1815072560yui_3_2_0_16_131658681628748" style="font-family: courier, monaco, monospace, sans-serif; "><span id="yiv1815072560yui_3_2_0_16_131658681628795">
<div id="yiv1815072560yui_3_2_0_16_131658681628748"><font class="yiv1815072560Apple-style-span" id="yiv1815072560yui_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="yiv1815072560yui_3_2_0_16_131658681628748"><font class="yiv1815072560Apple-style-span" id="yiv1815072560yui_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="yiv1815072560yui_3_2_0_16_131658681628748"><font class="yiv1815072560Apple-style-span" id="yiv1815072560yui_3_2_0_16_1316586816287119" size="2"> /usr/local/sbin/opensips[6616]:
ERROR:core:main: error while
initializing modules</font></div>
<div id="yiv1815072560yui_3_2_0_16_131658681628748"><font class="yiv1815072560Apple-style-span" id="yiv1815072560yui_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="yiv1815072560yui_3_2_0_16_131658681628754" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><br>
</div>
<div id="yiv1815072560yui_3_2_0_16_131658681628754" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><font class="yiv1815072560Apple-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="yiv1815072560yui_3_2_0_16_131658681628754" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><font class="yiv1815072560Apple-style-span" face="tahoma, 'new york', times, serif"><br>
</font></div>
<div id="yiv1815072560yui_3_2_0_16_131658681628754" style="font-size:10pt;" class="yiv1815072560yui_3_2_0_16_131659975247578"><font class="yiv1815072560Apple-style-span" face="tahoma, 'new york', times, serif"><i>Thank
you very much in Advance!!</i></font></div>
<div id="yiv1815072560yui_3_2_0_16_131658681628754" style="font-size:10pt;" class="yiv1815072560yui_3_2_0_16_131659975247578"><font class="yiv1815072560Apple-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="yiv1815072560Apple-style-span" face="tahoma, 'new york', times, serif">With
Best Regards,<br id="yiv1815072560yui_3_2_0_16_131658681628759">
<br id="yiv1815072560yui_3_2_0_16_131658681628762">
</font></div>
<div id="yiv1815072560yui_3_2_0_16_131658681628765" style="font-size: 10pt; font-family: courier, monaco, monospace, sans-serif; "><font class="yiv1815072560Apple-style-span" face="tahoma, 'new york', times, serif"><b>Faisal
Rehman</b></font></div>
</div>
</div>
</div>
<pre><fieldset class="yiv1815072560mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a rel="nofollow" class="yiv1815072560moz-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="yiv1815072560moz-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 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>
<pre><fieldset class="yiv1815072560mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a rel="nofollow" class="yiv1815072560moz-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="yiv1815072560moz-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" style="font-family: 'times new roman', 'new york', times, serif; ">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" style="font-family: 'times new roman', 'new york', times, serif; ">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br><br><br></div></div></div></div></body></html>