Hello,

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.

Cheers,
Daniel

On 25.01.19 08:18, Prabhat Kumar wrote:
Hi,
I am getting this error message while starting kamailio.

Enviroment: OS- Ubuntu 16.04.5 LTS (Xenial Xerus)
                    python 2.7

ERROR: app_python [app_python_mod.c:164]: mod_init(): failed to load python script
ERROR: <core> [core/sr_module.c:990]: init_mod(): Error while initializing 
module app_python (/usr/local/lib64/kamailio/modules/app_python.so)

          

          


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- www.asipto.com