<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    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 class="moz-txt-link-freetext" 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="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer</pre>
    <br>
    On 09/21/2011 01:22 PM, Faisal Rehman wrote:
    <blockquote
      cite="mid:1316600552.98867.YahooMailNeo@web46206.mail.sp1.yahoo.com"
      type="cite">
      <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
        255); 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&nbsp;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>&nbsp;</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 face="Arial"
                size="2">
                <hr size="1"><b><span style="font-weight: bold;">From:</span></b>
                Vlad Paiu <a class="moz-txt-link-rfc2396E" href="mailto:vladpaiu@opensips.org">&lt;vladpaiu@opensips.org&gt;</a><br>
                <b><span style="font-weight: bold;">To:</span></b>
                <a class="moz-txt-link-abbreviated" 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="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">&nbsp;/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">&nbsp;/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">&nbsp;/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">&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="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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true"
                ymailto="mailto:Users@lists.opensips.org"
                href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
              <a moz-do-not-send="true"
                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>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </body>
</html>