[SR-Users] start kamailio

SamyGo govoiper at gmail.com
Wed Jul 11 09:43:29 CEST 2012


Hi,

Verify your "mpath="  directive in kamailio.cfg file.
Its just unable to find the directory holding all the modules.
If you're using a 64bit machine then I can only guess that you need to
change mpath to "mpath= /usr/local/lib*64*/kamailio/modules/ "

Regards,
Sammy


On Wed, Jul 11, 2012 at 12:25 PM, Michal Yachimovitz <
michal.yachimovitz at gmail.com> wrote:

> Hello
>
> I installed kamailio version 3.2.0 and followed the instructions in
> http://www.kamailio.org/wiki/install/3.2.x/git web site
>
> Whene I  permormed the command  /etc/init.d/kamailio start   I got the
> following errors.
>
> The modules are in the correct directory so actually I do not understand
> the error.
>
> I will be happy if someone can help me solve this issue:
>
>
>
> [root at kamailio-dev-lab ~]# */etc/init.d/kamailio start
> *
> Not starting Kamailio: invalid configuration file!
>
>  0(8569) ERROR: <core> [sr_module.c:565]: ERROR: load_module: could not
> open module </usr/local/lib/kamailio/modules/db_mysql.so>:
> /usr/local/lib/kamailio/modules/db_mysql.so: undefined symbol: SSL_CTX_free
>  0(8569) : <core> [cfg.y:3529]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 214, column 12-24: failed to
> load module
>  0(8569) ERROR: <core> [sr_module.c:553]: ERROR: load_module: could not
> find module <mi_fifo> in </usr/local/lib/kamailio/modules>
>  0(8569) : <core> [cfg.y:3529]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 217, column 12-23: failed to
> load module
>  0(8569) ERROR: <core> [sr_module.c:553]: ERROR: load_module: could not
> find module <kex> in </usr/local/lib/kamailio/modules>
>  0(8569) : <core> [cfg.y:3529]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 218, column 12-19: failed to
> load module
>  0(8569) ERROR: <core> [sr_module.c:553]: ERROR: load_module: could not
> find module <tmx> in </usr/local/lib/kamailio/modules>
>  0(8569) : <core> [cfg.y:3529]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 220, column 12-19: failed to
> load module
>  0(8569) ERROR: <core> [sr_module.c:553]: ERROR: load_module: could not
> find module <rr> in </usr/local/lib/kamailio/modules>
>  0(8569) : <core> [cfg.y:3529]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 222, column 12-18: failed to
> load module
>  0(8569) ERROR: <core> [sr_module.c:553]: ERROR: load_module: could not
> find module <pv> in </usr/local/lib/kamailio/modules>
>  0(8569) : <core> [cfg.y:3529]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 223, column 12-18: failed to
> load module
>  0(8569) ERROR: <core> [sr_module.c:553]: ERROR: load_module: could not
> find module <maxfwd> in </usr/local/lib/kamailio/modules>
>  0(8569) : <core> [cfg.y:3529]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 224, column 12-22: failed to
> load module
>  0(8569) ERROR: <core> [sr_module.c:553]: ERROR: load_module: could not
> find module <usrloc> in </usr/local/lib/kamailio/modules>
>  0(8569) : <core> [cfg.y:3529]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 225, column 12-22: failed to
> load module
>  0(8569) ERROR: <core> [sr_module.c:553]: ERROR: load_module: could not
> find module <registrar> in </usr/local/lib/kamailio/modules>
>  0(8569) : <core> [cfg.y:3529]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 226, column 12-25: failed to
> load module
>  0(8569) ERROR: <core> [sr_module.c:553]: ERROR: load_module: could not
> find module <textops> in </usr/local/lib/kamailio/modules>
>  0(8569) : <core> [cfg.y:3529]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 227, column 12-23: failed to
> load module
>  0(8569) ERROR: <core> [sr_module.c:553]: ERROR: load_module: could not
> find module <siputils> in </usr/local/lib/kamailio/modules>
>  0(8569) : <core> [cfg.y:3529]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 228, column 12-24: failed to
> load module
>  0(8569) ERROR: <core> [sr_module.c:553]: ERROR: load_module: could not
> find module <xlog> in </usr/local/lib/kamailio/modules>
>  0(8569) : <core> [cfg.y:3529]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 229, column 12-20: failed to
> load module
>  0(8569) ERROR: <core> [sr_module.c:553]: ERROR: load_module: could not
> find module <acc> in </usr/local/lib/kamailio/modules>
>  0(8569) : <core> [cfg.y:3529]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 234, column 12-19: failed to
> load module
>  0(8569) ERROR: <core> [sr_module.c:553]: ERROR: load_module: could not
> find module <auth_db> in </usr/local/lib/kamailio/modules>
>  0(8569) : <core> [cfg.y:3529]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 238, column 12-23: failed to
> load module
>  0(8569) ERROR: <core> [modparam.c:162]: set_mod_param_regex: No module
> matching <mi_fifo> found
>  0(8569) : <core> [cfg.y:3532]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 287, column 54: Can't set module
> parameter
>  0(8569) ERROR: <core> [modparam.c:162]: set_mod_param_regex: No module
> matching <rr> found
>  0(8569) : <core> [cfg.y:3532]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 301, column 35: Can't set module
> parameter
>  0(8569) ERROR: <core> [modparam.c:162]: set_mod_param_regex: No module
> matching <rr> found
>  0(8569) : <core> [cfg.y:3532]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 303, column 35: Can't set module
> parameter
>  0(8569) ERROR: <core> [modparam.c:162]: set_mod_param_regex: No module
> matching <registrar> found
>  0(8569) : <core> [cfg.y:3532]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 307, column 44: Can't set module
> parameter
>  0(8569) ERROR: <core> [modparam.c:162]: set_mod_param_regex: No module
> matching <registrar> found
>  0(8569) : <core> [cfg.y:3532]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 313, column 42: Can't set module
> parameter
>  0(8569) ERROR: <core> [modparam.c:162]: set_mod_param_regex: No module
> matching <acc> found
>  0(8569) : <core> [cfg.y:3532]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 318, column 33: Can't set module
> parameter
>  0(8569) ERROR: <core> [modparam.c:162]: set_mod_param_regex: No module
> matching <acc> found
>  0(8569) : <core> [cfg.y:3532]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 319, column 32: Can't set module
> parameter
>  0(8569) ERROR: <core> [modparam.c:162]: set_mod_param_regex: No module
> matching <acc> found
>  0(8569) : <core> [cfg.y:3532]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 320, column 36: Can't set module
> parameter
>  0(8569) ERROR: <core> [modparam.c:162]: set_mod_param_regex: No module
> matching <acc> found
>  0(8569) : <core> [cfg.y:3532]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 324, column 38: Can't set module
> parameter
>  0(8569) ERROR: <core> [modparam.c:162]: set_mod_param_regex: No module
> matching <acc> found
>  0(8569) : <core> [cfg.y:3532]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 326, column 30: Can't set module
> parameter
>  0(8569) ERROR: <core> [modparam.c:162]: set_mod_param_regex: No module
> matching <acc> found
>  0(8569) : <core> [cfg.y:3532]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 327, column 37: Can't set module
> parameter
>  0(8569) ERROR: <core> [modparam.c:162]: set_mod_param_regex: No module
> matching <acc> found
>  0(8569) : <core> [cfg.y:3532]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 330, column 45: Can't set module
> parameter
>  0(8569) ERROR: <core> [modparam.c:162]: set_mod_param_regex: No module
> matching <acc> found
>  0(8569) : <core> [cfg.y:3532]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 331, column 45: Can't set module
> parameter
>  0(8569) : <core> [cfg.y:3529]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 346, column 30-34: syntax error
>  0(8569) : <core> [cfg.y:3529]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 346, column 30-34: Invalid
> arguments
>  0(8569) : <core> [cfg.y:3532]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 346, column 35:
> ERROR: bad config file (30 errors)
> [root at kamailio-dev-lab ~]#
>
>
> Thanks in advance
>
> Michal Yachimovitz
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120711/163281ec/attachment-0001.htm>


More information about the sr-users mailing list