<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thanks for reporting back, taking the chance to forward this email
    from sr-dev to sr-users since the thread was cross-posted to some
    point, for the benefit of future reads of the archive to show the
    solution of this case.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    On 6/21/11 7:19 PM, laura testi wrote:
    <blockquote
      cite="mid:BANLkTi=XE1D66NKKfQeSk+tn8p5ZXf=zyg@mail.gmail.com"
      type="cite">Found the problem after some investigation based on
      your suggestions. In the openldap configuration file
      /etc/openldap/ldap.conf, the entry TLS_CACERT is pointed to a
      certificate file in a directory which is accessible only by root
      user. After I move the file to a directory which all user can
      access it, now it works. I can start the kamailio as a service
      with "service kamailio start" with the running user and group is
      kamailio.<br>
      <br>
      Thank you all for your helps and suggestions!<br>
      <br>
      Best Regards,<br>
      Laura<br>
      <br>
      <div class="gmail_quote">On Tue, Jun 21, 2011 at 5:44 PM, laura
        testi <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:lau.testi@gmail.com">lau.testi@gmail.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex;">The SELinux
          is disabled.
          <div>
            <div class="h5"><br>
              <br>
              <br>
              <br>
              <div class="gmail_quote">On Tue, Jun 21, 2011 at 5:26 PM,
                Andrew Pogrebennyk <span dir="ltr">&lt;<a
                    moz-do-not-send="true"
                    href="mailto:andrew.pogrebennyk@portaone.com"
                    target="_blank">andrew.pogrebennyk@portaone.com</a>&gt;</span>
                wrote:<br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div>On <a moz-do-not-send="true"
                      href="tel:21.06.2011%2017" value="+12106201117"
                      target="_blank">21.06.2011 17</a>:30, laura testi
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      Should I need to set a some special environment
                      variable to load ldap.so<br>
                      in the /etc/init.d/kamailio?<br>
                    </blockquote>
                    <br>
                  </div>
                  The env output for root does not confirm my theory :)
                  I'm not sure what is preventing kamailio from
                  communication with LDAP, could it be that SELinux is
                  enabled and denying it in some way?<br>
                  <br>
                  -- <br>
                  Sincerely,<br>
                  <font color="#888888">
                    Andrew Pogrebennyk<br>
                  </font></blockquote>
              </div>
              <br>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
sr-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>