<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi, Faisal!<br>
    <br>
    Only the load_balancer table is requiered. Your problem is that you
    didn't specify the db_url parameter for the load_balancer module.
    See
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/devel/load_balancer.html#id249159">http://www.opensips.org/html/docs/modules/devel/load_balancer.html#id249159</a>
    for more details.<br>
    <br>
    Regards,<br>
    <pre class="moz-signature" cols="72">--
R&#259;zvan Crainea
OpenSIPS Developer</pre>
    <br>
    On 01/03/2012 04:15 PM, Faisal Rehman wrote:
    <blockquote
      cite="mid:1325600107.1696.YahooMailNeo@web46215.mail.sp1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:Courier
        New, courier, monaco, monospace, sans-serif;font-size:10pt">
        <div><span style="font-family: tahoma, 'new york', times,
            serif;">Hi Sammy,</span></div>
        <div><span style="font-family: tahoma, 'new york', times,
            serif;"><br>
          </span></div>
        <div><span style="font-family: tahoma, 'new york', times,
            serif;">Is that manadatory, because I think we can put the
            values in load_balancer table only?</span></div>
        <div><span style="font-family: tahoma, 'new york', times,
            serif;"><br>
          </span></div>
        <div><span style="font-family: tahoma, 'new york', times,
            serif;">&nbsp;</span></div>
        <div><span style="font-family: tahoma, 'new york', times,
            serif;">Regards,<br>
            <br>
          </span></div>
        <div><span style="font-family: tahoma, 'new york', times,
            serif;">Faisal Rehman</span><br>
          <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 face="Arial" size="2">
                <hr size="1"> <b><span style="font-weight:bold;">From:</span></b>
                Sammy Govind <a class="moz-txt-link-rfc2396E" href="mailto:govoiper@gmail.com">&lt;govoiper@gmail.com&gt;</a><br>
                <b><span style="font-weight: bold;">To:</span></b>
                Faisal Rehman <a class="moz-txt-link-rfc2396E" href="mailto:faisal.rehman22@yahoo.com">&lt;faisal.rehman22@yahoo.com&gt;</a>;
                OpenSIPS users mailling list
                <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org">&lt;users@lists.opensips.org&gt;</a> <br>
                <b><span style="font-weight: bold;">Sent:</span></b>
                Tuesday, January 3, 2012 7:08 PM<br>
                <b><span style="font-weight: bold;">Subject:</span></b>
                Re: [OpenSIPS-Users] Getting error while Starting
                Opensips<br>
              </font> <br>
              <div id="yiv1849205655">Hi,
                <div>you probably forgot to add destination URIs in some
                  table for dispatcher module.</div>
                <div><br>
                </div>
                <div><span style="background-color:rgb(255,255,255);">&nbsp;ERROR:dispatcher:mod_init:
                    could not initiate a connect to the database</span>&nbsp;</div>
                <div><br>
                </div>
                <div>Regards,</div>
                <div>Sammy.<br>
                  <div><br>
                    <br>
                    <div class="yiv1849205655gmail_quote">On Tue, Jan 3,
                      2012 at 7:04 PM, Faisal Rehman <span dir="ltr">&lt;<a
                          moz-do-not-send="true" rel="nofollow"
                          ymailto="mailto:faisal.rehman22@yahoo.com"
                          target="_blank"
                          href="mailto:faisal.rehman22@yahoo.com">faisal.rehman22@yahoo.com</a>&gt;</span>
                      wrote:<br>
                      <blockquote class="yiv1849205655gmail_quote"
                        style="margin:0 0 0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex;">
                        <div>
                          <div style="color: rgb(0, 0, 0);
                            background-color: rgb(255, 255, 255);
                            font-size: 10pt; font-family: tahoma, 'new
                            york', times, serif; ">
                            <div
                              style="font-family:tahoma,;font-size:10pt;">
                              <span style="font-weight:bold;">Hi
                                Everyone,</span></div>
                            <div
                              style="font-family:tahoma,;font-size:10pt;"><span><br>
                              </span></div>
                            <div><font>I am using Open sips&nbsp;version:
                                opensips 1.7.1-notls (x86_64/linux) for
                                load balancing project, but I am getting
                                the following error while Starting
                                OpenSIPS:</font></div>
                            <div><font><br>
                              </font></div>
                            <div><font><br>
                              </font></div>
                            <div><font>
                                <div><span style="">Jan &nbsp;3 08:52:52
                                    lb-sf-mc
                                    /usr/local/sbin/opensips[16405]:
                                    ERROR:core:parse_uri: uri too short:
                                    &lt;&gt; (0)</span></div>
                                <div><span style="">Jan &nbsp;3 08:52:52
                                    lb-sf-mc
                                    /usr/local/sbin/opensips[16405]:
                                    ERROR:dispatcher:add_dest2list: bad
                                    uri []</span></div>
                                <div><span style="">Jan &nbsp;3 08:52:52
                                    lb-sf-mc
                                    /usr/local/sbin/opensips[16405]:
                                    ERROR:dispatcher:mod_init: could not
                                    initiate a connect to the database</span></div>
                                <div><span style="">Jan &nbsp;3 08:52:52
                                    lb-sf-mc
                                    /usr/local/sbin/opensips[16405]:
                                    ERROR:core:init_mod: failed to
                                    initialize module dispatcher</span></div>
                                <div>
                                  <span style="">Jan &nbsp;3 08:52:52
                                    lb-sf-mc
                                    /usr/local/sbin/opensips[16405]:
                                    ERROR:core:main: error while
                                    initializing modules</span></div>
                                <div><span style="">Jan &nbsp;3 08:52:52
                                    lb-sf-mc opensips:
                                    <a class="moz-txt-link-freetext" href="INFO:core:daemonize:">INFO:core:daemonize:</a> pre-daemon
                                    process exiting with -1</span></div>
                                <div><br>
                                </div>
                              </font></div>
                            <div
                              style="font-family:tahoma,;font-size:10pt;"><span
                                style="font-size:10pt;"><br>
                              </span></div>
                            <div
                              style="font-family:tahoma,;font-size:10pt;">
                              <span style="font-size:10pt;">Any help
                                would be highly appreciated :)</span></div>
                            <div
                              style="font-family:tahoma,;font-size:10pt;">&nbsp;</div>
                            <div
                              style="font-family:tahoma,;font-size:10pt;">
                              Regards,<span class="yiv1849205655HOEnZb"><font
                                  color="#888888"><br>
                                  <br>
                                </font></span></div>
                            <span class="yiv1849205655HOEnZb"><font
                                color="#888888">
                                <div
                                  style="font-family:tahoma,;font-size:10pt;"><span
                                    style="font-weight:bold;">Faisal
                                    Rehman</span></div>
                              </font></span></div>
                        </div>
                        <br>
                        _______________________________________________<br>
                        Users mailing list<br>
                        <a moz-do-not-send="true" rel="nofollow"
                          ymailto="mailto:Users@lists.opensips.org"
                          target="_blank"
                          href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<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><br>
                        <br>
                      </blockquote>
                    </div>
                    <br>
                  </div>
                </div>
              </div>
              <br>
              <br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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>