<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>set debug=3 in kamailio.cfg and then start again. You should see
      a lot of debug messages that should help identifying what is the
      actual issue -- might be that the path to the script file is
      wrong, or there are not enough access permissions to read the
      file.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 25.01.19 08:18, Prabhat Kumar wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMLPTjwXyOWPyEzWLgCYrYtCC8=Ajpydjcsvc4itSZ_oceGJMg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi,
        <div>I am getting this error message while starting kamailio.</div>
        <div><br>
        </div>
        <div>Enviroment: OS- Ubuntu <span style="color:rgb(0,0,0)">16.04.5
            LTS (Xenial Xerus)</span></div>
        <div><span style="color:rgb(0,0,0)">                    python
            2.7</span></div>
        <div><br>
        </div>
        <div>
          <pre style="color:rgb(0,0,0)">ERROR: app_python [app_python_mod.c:164]: mod_init(): failed to load python script</pre>
          <pre style="color:rgb(0,0,0)">ERROR: <core> [core/sr_module.c:990]: init_mod(): Error while initializing </pre>
          <pre style="color:rgb(0,0,0)">module app_python (/usr/local/lib64/kamailio/modules/app_python.so)</pre>
          <pre style="color:rgb(0,0,0)">
</pre>
          <pre style="color:rgb(0,0,0)">
</pre>
          <div>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr">
                <div dir="ltr">
                  <div dir="ltr">
                    <div dir="ltr">
                      <div
                        style="font-family:sans-serif;font-size:small">
                        <div dir="ltr">
                          <div dir="ltr">
                            <div dir="ltr">
                              <div dir="ltr">
                                <div dir="ltr"><br>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 6-8, 2019 -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a>
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a></pre>
  </body>
</html>