Hello,
check where your modules were actually installed and adapt your cfg module path if
necessary. It can not find the modules as indicated from the error messages.
Cheers,
Henning
-----Original Message-----
From: lm.eng--- via sr-users <sr-users(a)lists.kamailio.org>
Sent: Donnerstag, 25. April 2024 10:59
To: sr-users(a)lists.kamailio.org
Cc: lm.eng(a)live.com
Subject: [SR-Users] Error by installing new Rel. 5.8
Hello,,
I am using this docker file for installaing kamailio. I wana use it with open5gs
for trynig VoNR , I used before it for VoLTE it works but right now I have this
error in installation process.
icscf | 0(34) ERROR: <core> [core/sr_module.c:527]: ksr_locate_module():
could not find module <maxfwd> in </usr/lib64/kamailio/modules_k/:/usr/
lib64/kamailio/modules/:/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/mo
dules/:/usr/lib/x86_64-linux-
gnu/kamailio/modules/:/usr/local/lib64/kamailio/
modules>
icscf | 0(34) CRITICAL: <core> [core/cfg.y:4008]: yyerror_at(): parse error
in
config file /etc/kamailio_icscf/kamailio_icscf.cfg, line 94, colu
mn 12-19: failed to load module
scscf | 0(38) ERROR: <core> [core/sr_module.c:527]: ksr_locate_module():
could not find module <maxfwd> in </usr/lib64/kamailio/modules_k/:/usr/
lib64/kamailio/modules/:/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/mo
dules/:/usr/lib/x86_64-linux-
gnu/kamailio/modules/:/usr/local/lib64/kamailio/
and there is docker file that Im using:
FROM ubuntu:focal
ENV DEBIAN_FRONTEND=noninteractive
# Install updates and dependencies
RUN apt-get update && \
apt-get -y install mysql-server tcpdump screen tmux ntp ntpdate git-core
dkms \
gcc flex bison libmysqlclient-dev make libssl-dev
libcurl4-
openssl-dev \
libxml2-dev libpcre2-dev bash-completion g++
autoconf
libmnl-dev \
libsctp-dev libradcli-dev libradcli4
libjson-c-dev pkg-config
iproute2 net-tools \
iputils-ping
# Fetch Kamailio code (branch 5.3)
RUN mkdir -p /usr/local/src/ && cd /usr/local/src/ && \
git clone
https://github.com/kamailio/kamailio && \
cd kamailio && git checkout 5.8
# Build and Install Kamailio
RUN cd /usr/local/src/kamailio && make cfg COPY modules.lst
/usr/local/src/kamailio/src RUN cd /usr/local/src/kamailio && \
make -j`nproc` Q=0 all | tee make_all.txt && \
make install | tee make_install.txt && \
ldconfig
COPY kamailio_init.sh /
CMD /kamailio_init.sh
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe
send an email to sr-users-leave(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the
sender!
Edit mailing list options or unsubscribe: