<div dir="ltr"><div><div>If i remove '  loadmodule "app_python.so"   ',  Kamailio starts just fine. This only appears when the app_python module is loaded. <br><br></div><div>Is there anything else than mysql to enable when using the app_python ? <br>
</div><div><br></div><div>Here is the ouput when I only enable mysql. The module is loaded and there are no issues...<br><br></div>*snip*<br>^[[0;39;49m 0(3113) DEBUG: <core> [cfg/cfg.c:178]: DEBUG: register_cfg_def(): new config group has been registered: 'core' (num=49, size=196)<br>
^[[0;39;49m^[[0;39;49m 0(3113) DEBUG: <core> [cfg/cfg.c:178]: DEBUG: register_cfg_def(): new config group has been registered: 'tcp' (num=26, size=104)<br>^[[0;39;49m^[[0;39;49m 0(3113) DEBUG: <core> [timer.c:272]: init_timer: starting with *ticks=195301735<br>
^[[0;39;49m^[[0;39;49m 0(3113) DEBUG: <core> [timer.c:314]: init_timer: timer_list between 0x7fa54af1ba20 and 0x7fa54af5fa20<br>^[[0;39;49m^[[0;36;49m 0(3113) INFO: <core> [tcp_main.c:4846]: init_tcp: using epoll_lt as the io watch method (auto detected)<br>
^[[0;39;49m^[[0;39;49m 0(3113) DEBUG: <core> [daemonize.c:575]: core dump limits set to 18446744073709551615<br>^[[0;39;49m^[[0;39;49m 0(3113) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: db_mysql<br>^[[0;39;49m^[[0;39;49m 0(3113) DEBUG: db_mysql [km_db_mysql.c:92]: MySQL client version is 5.1.69<br>
^[[0;39;49m^[[0;39;49m 0(3113) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: mi_fifo<br>^[[0;39;49m^[[0;39;49m 0(3113) DEBUG: mi_fifo [mi_fifo.c:124]: testing mi_fifo existance ...<br>^[[0;39;49m^[[0;39;49m 0(3113) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: kex<br>
^[[0;39;49m^[[0;39;49m 0(3113) DEBUG: <core> [sruid.c:100]: root for sruid is [srid-51b9d186-c29-] (0 / 18)<br>^[[0;39;49m^[[0;39;49m 0(3113) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: corex<br>^[[0;39;49m^[[0;39;49m 0(3113) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: tm<br>
^[[0;39;49m^[[0;39;49m 0(3113) DEBUG: tm [tm.c:751]: TM - (sizeof cell=4872, sip_msg=1624) initializing...<br>^[[0;39;49m^[[0;39;49m 0(3113) DEBUG: tm [callid.c:105]: Call-ID initialization: '2c32dacb59169bda'<br>
</div>*snip*<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 13, 2013 at 9:48 AM, Andrew Mortensen <span dir="ltr"><<a href="mailto:admorten@isc.upenn.edu" target="_blank">admorten@isc.upenn.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On Jun 13, 2013, at 7:23 AM, phil lemelin <<a href="mailto:phil.lemelin@gmail.com">phil.lemelin@gmail.com</a>> wrote:<br>
<br>
> Good morning,<br>
><br>
> I'm trying to use the app_python module with Kamailio but i'm unable to even reach a point where it loads my python module.<br>
<br>
</div>It's actually failing even before that. It's unable to load the db_mysql module:<br>
<div class="im"><br>
> 0(751) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: db_mysql<br>
>  0(751) ERROR: <core> [sr_module.c:939]: init_mod(): Error while initializing module db_mysql (/usr/lib64/kamailio/modules/db_mysql.so)<br>
<br>
</div>Fix that first.<br>
<span class="HOEnZb"><font color="#888888"><br>
andrew<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Philippe-Alexandre Lemelin
</div>