Hi Daniel,

Thanks for the quick reply.
Unfortunately turning on more verbose debugging doesn't seem to make a difference at all.
I've tried enabling #!define WITH_DEBUG and also setting debug=3 but all I get upon kamailio start is the error message I reported. Here's the full error messages I get on startup:

root@deb7:/usr/lib/i386-linux-gnu/kamailio/modules# /etc/init.d/kamailio debug
Not starting Kamailio SIP server: invalid configuration file! ... failed!
 failed!
0(28488) ERROR: <core> [modparam.c:163]: set_mod_param_regex(): set_mod_param_regex: No module matching <msilo> found 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 8, column 75: Can't set module parameter 0(28488) ERROR: <core> [modparam.c:163]: set_mod_param_regex(): set_mod_param_regex: No module matching <msilo> found 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 9, column 64: Can't set module parameter 0(28488) ERROR: <core> [modparam.c:163]: set_mod_param_regex(): set_mod_param_regex: No module matching <msilo> found 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 10, column 87: Can't set module parameter 0(28488) ERROR: <core> [modparam.c:163]: set_mod_param_regex(): set_mod_param_regex: No module matching <msilo> found 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 11, column 67: Can't set module parameter 0(28488) ERROR: <core> [modparam.c:163]: set_mod_param_regex(): set_mod_param_regex: No module matching <msilo> found 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 12, column 62: Can't set module parameter 0(28488) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command mf_process_maxfwd_header 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 41, column 40: unknown command, missing loadmodule? 0(28488) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command sl_send_reply 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 43, column 43: unknown command, missing loadmodule? 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 49, column 5: syntax error 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 49, column 5: bad command 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 49, column 5: bad command 0(28488) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command save 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 53, column 28: unknown command, missing loadmodule? 0(28488) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command m_dump 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 57, column 24: unknown command, missing loadmodule? 0(28488) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command lookup 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 68, column 30: unknown command, missing loadmodule? 0(28488) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command t_newtran 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 70, column 29: unknown command, missing loadmodule? 0(28488) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command sl_reply_error 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 72, column 32: unknown command, missing loadmodule? 0(28488) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command t_reply 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 78, column 48: unknown command, missing loadmodule? 0(28488) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command sl_reply_error 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 80, column 36: unknown command, missing loadmodule? 0(28488) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command m_store 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 86, column 30: unknown command, missing loadmodule? 0(28488) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command t_reply 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 89, column 47: unknown command, missing loadmodule? 0(28488) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command sl_reply_error 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 91, column 36: unknown command, missing loadmodule? 0(28488) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command t_reply 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 95, column 58: unknown command, missing loadmodule? 0(28488) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command sl_reply_error 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 97, column 36: unknown command, missing loadmodule? 0(28488) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command t_on_failure 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 104, column 25: unknown command, missing loadmodule? 0(28488) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command t_relay 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 105, column 17: unknown command, missing loadmodule? 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 110, column 12: syntax error 0(28488) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 110, column 12: ERROR: bad config file (26 errors) ... failed!
 failed!


On Tue, Jan 28, 2014 at 5:34 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Hello,

are there any other error messages above?

Can you start with debug=3 in config and see if the logs messages give more hints about?

Cheers,
Daniel


On 28/01/14 18:27, Peter Villeneuve wrote:
Hi,

I recently installed kamailio 4.1.1 on debian wheezy (i386) to test and play with.
I managed to get it up and running, but now when trying to use the msilo module kamailio won't start and says it can't find it.

My modules appear to be correctly installed in /usr/lib/i386-linux-gnu/kamailio/modules

I can see them all in there, including msilo.so. I have correctly setup kamailio.cfg with mpath="/usr/lib/i386-linux-gnu/kamailio/modules/"

All the other modules load fine, but when I add 'loadmodule "msilo.so"' and then do a restart, kamailio throws a bunch of errors:

Not starting Kamailio SIP server: invalid configuration file! ... failed!
 failed!
0(27760) ERROR: <core> [modparam.c:163]: set_mod_param_regex(): set_mod_param_regex: No module matching <msilo> found 0(27760) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio-local.cfg, line 3, column 75: Can't set module parameter 0(27760) ERROR: <core>

I don't understand why Kamailio can't seem to find and load the msilo module. It is in the /usr/lib/i386-linux-gnu/kamailio/modules directory and has the same permissions as the other modules which it correctly loads.

Any ideas of what's wrong?

Thanks


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev