[SR-Users] tls-modules in 3.2.0

Klaus Darilion klaus.mailinglists at pernau.at
Tue Nov 15 08:38:42 CET 2011


Your module path is wrong. Take a look at the error message:

   "/usr/local/lib/......"

Debian packages install the libraries in /usr/lib/kamailio/.....

I guess you did a manual installation before and thuse the path is wrong.

regards
Klaus

On 15.11.2011 01:59, Mokhtar Bengana wrote:
> Hello,
>
> I am trying to install the tls module in 3.2.0. I run apt-get update
> before apt-get install kamailio-tls-modules and still can't load the
> tls module and getting the following error. Kamailio can't find the
> tls module even though it's installed? I didn't get any errors when I
> run apt-get install kamailio-tls-modules. Everything else is defined
> in the config file. Has someone tried to install tls in the latest
> release and is having issues? Any help much appreciated.
>
> #!define WITH_TLS
>
> #!ifdef WITH_TLS
> enable_tls=yes
> #!endif
>
> #!ifdef WITH_TLS
> loadmodule "tls.so"
> #!endif
>
> #!ifdef WITH_TLS
> # ----- tls params -----
> modparam("tls", "config", "/etc/kamailio/tls.cfg")
> #!endif
>
> root at Kamalio:/usr/local/lib/kamailio/modules_k# kamailio -c
> loading modules under
> /usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/modules/
>   0(12131) ERROR:<core>  [sr_module.c:553]: ERROR: load_module: could
> not find module<tls>  in
> </usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/modules/>
>   0(12131) :<core>  [cfg.y:3501]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 268, column 12-19: failed
> to load module
>   0(12131) ERROR:<core>  [modparam.c:162]: set_mod_param_regex: No
> module matching<tls>  found
>   0(12131) :<core>  [cfg.y:3504]: parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 422, column 50: Can't set
> module parameter
> ERROR: bad config file (2 errors)
> root at Kamalio:/usr/local/lib/kamailio/modules_k#
>
>
> root at Kamalio:/usr/local/lib/kamailio/modules_k# apt-get install
> kamailio-tls-modules
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following NEW packages will be installed:
>    kamailio-tls-modules
> 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
> Need to get 0 B/399 kB of archives.
> After this operation, 848 kB of additional disk space will be used.
> Selecting previously deselected package kamailio-tls-modules.
> (Reading database ... 30034 files and directories currently installed.)
> Unpacking kamailio-tls-modules (from
> .../kamailio-tls-modules_3.2.0+squeeze1_i386.deb) ...
> Setting up kamailio-tls-modules (3.2.0+squeeze1) ...
>
> Thank you,
>
> _______________________________________________
> 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



More information about the sr-users mailing list