Klaus, Daniel,
Thanks for responding. I am trying to understand what went wrong
during the install. I Installed Kamailio 3.2.0 From GIT and followed
the instructions in the wiki. According to the wiki Kamailio modules
are installed in: /usr/local/lib/kamailio/modules/ and
/usr/local/lib/kamailio/modules_k/. Then I wanted to test tls and
installed kamailio-tls-modules. I added deb
http://deb.kamailio.org/kamailio32 squeeze main and deb-src
http://deb.kamailio.org/kamailio32 squeeze main to
/etc/apt/sources.list, then run apt-get install kamailio-tls-modules.
I guess maybe what happened is that all the Debian packages got
installed again in /usr/lib/kamailio/. In the config file I changed
the mpath
from="/usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/modules/"
to "/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/" and
everything is working now. Is this the right way to install the
kamailio-tls-module? How do I clean this since I have all the modules
installed again in usr/lib/kamailio/modules/. Also the config file is
present both in /etc/kamailio and /usr/local/etc/kamailio/. Which one
I should keep editing? I thought using the GIT install method is
better cause it's easy to pull changes in the future. Thanks for your
inputs and all the work you're doing.
Regards,
Mokhtar
On Tue, Nov 15, 2011 at 1:38 AM, Klaus Darilion
<klaus.mailinglists(a)pernau.at> wrote:
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@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@Kamalio:/usr/local/lib/kamailio/modules_k#
root@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(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users