Hi,
we've come around to test again what happens if we set 'core.shmem' to a size larger than 4G. The original issue has been reported here #2824. We are running Kamailio 5.6 at commit `24989241cfc58c6ba47d48c9a86921251f4ba235`
We are querying the `core.shmen` parameter via RPC and getting the following response from the server:
```
<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value><struct><member><name>total</name><value><int>-80</int></value></member><member><name>free</name><value><int>-66333776</int></value></member><member><name>used</name><value><int>63570392</int></value></member><member><name>real_used</name><value><int>66333696</int></value></member><member><name>max_used</name><value><int>68268896</int></value></member><member><name>fragments</name><value><int>2560</int></value></member></struct>
</value>
</param>
</params>
</methodResponse>
```
As you can see, the issue still persists.
Thanks
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3450
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3450(a)github.com>
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3454
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3454(a)github.com>
ob_load_api(): unable to import bind_ob --> even after including "outbound" module
sctp_core_check_support(): SCTP API not enabled --> even after including "sctp" module
db_check_table_version(): invalid version 4 for table presentity found, expected 5
Docker File
FROM debian:11
#MAINTAINER Yan Grunenberger <yan(a)grunenberger.net>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -o Acquire::Check-Valid-Until=false update
RUN apt-get -yq update
RUN apt-get -yq dist-upgrade
RUN apt-get -yq install git-core
RUN apt-get -yq install gcc
RUN apt-get -yq install flex
RUN apt-get -yq install bison
RUN apt-get -yq install default-libmysqlclient-dev
RUN apt-get -yq install make
RUN apt-get -yq install g++
RUN apt-get -yq install libssl-dev
RUN apt-get -yq install libcurl4-openssl-dev
RUN apt-get -yq install libsctp-dev lksctp-tools
RUN apt-get -yq install libxml2-dev
RUN apt-get -yq install libc6-i386
RUN apt-get -yq install libpcre3-dev
RUN apt-get -yq install build-essential libxslt-dev zip unzip expat zlib1g-dev curl libncurses5-dev libexpat1-dev
RUN apt-get -yq install htmldoc rpm
RUN mkdir -p /usr/local/src/kamailio-master
WORKDIR /usr/local/src/kamailio-master
RUN git clone https://github.com/kamailio/kamailio.git
WORKDIR /usr/local/src/kamailio-master/kamailio
RUN git checkout -b 5.6.2
#RUN make include_modules="db_mysql ims_usrloc_pcscf ims_registrar_pcscf" cfg
RUN make include_modules="db_mysql ims_usrloc_pcscf ims_registrar_pcscf xmlrpc cdp cdp_avp ims_icscf presence ims_usrloc_scscf ims_registrar_scscf ims_auth ims_charging ims_dialog ims_diameter_server ims_isc ims_ocs ims_qos outbound dispatcher" cfg
RUN make all
RUN make install
RUN apt-get -yq install default-mysql-client
#RUN apt-get -yq install mysql-client
ENTRYPOINT ["/usr/local/sbin/kamailio","-f","/usr/local/etc/kamailio/kamailio-scscf.cfg","-D"]
Getting Below error :
docker-IMS-VoLTE$ sudo docker logs 3e61c85f59b7
0(1) INFO: <core> [core/sctp_core.c:74]: sctp_core_check_support(): SCTP API not enabled - if you want to use it, load sctp module
WARNING: no fork mode
0(1) INFO: rr [../outbound/api.h:52]: ob_load_api(): unable to import bind_ob - maybe module is not loaded
0(1) INFO: rr [rr_mod.c:188]: mod_init(): outbound module not available
0(1) ERROR: <core> [db.c:466]: db_check_table_version(): invalid version 4 for table presentity found, expected 5 (check table structure and table "version")
0(1) ERROR: presence [presence.c:421]: mod_init(): Error during version check for db table: presentity, check database structure.
0(1) ERROR: <core> [core/sr_module.c:993]: init_mod(): Error while initializing module presence (/usr/local/lib64/kamailio/modules/presence.so)
ERROR: error while initializing modules
0(1) WARNING: <core> [core/mem/q_malloc.c:487]: qm_free(): WARNING: free(0) called from cdp_avp: cdp_avp_mod.c: cdp_avp_destroy(226)
0(1) INFO: cdp [cdp_mod.c:255]: cdp_exit(): CDiameterPeer child stopping ...
0(1) INFO: cdp [cdp_mod.c:257]: cdp_exit(): ... CDiameterPeer child stopped
0(1) INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
loading modules under config path: /usr/local/lib64/kamailio/modules/
Listening on
udp: scscf.net1.test [172.18.0.3]:6060
Aliases:
*: scscf.net1.test:*
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3455
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3455(a)github.com>
FHOSS
DOCKER File
FROM debian:11
#MAINTAINER Yan Grunenberger <yan(a)grunenberger.net>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -o Acquire::Check-Valid-Until=false update
RUN apt-get -yq update
RUN apt-get -yq dist-upgrade
RUN apt-get -yq install -f
RUN apt-get -qy install ant
RUN apt-get -qy install subversion
RUN apt-get -yq install libc6-i386
RUN apt-get -yq install dos2unix
RUN apt-get -yq install software-properties-common
RUN apt-get -yq install wget -y
RUN wget https://d3pxv6yz143wms.cloudfront.net/8.212.04.2/java-1.8.0-amazon-corretto… && \
apt-get update && apt-get install java-common && apt-get install -y --no-install-recommends apt-utils && \
dpkg --install java-1.8.0-amazon-corretto-jdk_8.212.04-2_amd64.deb
ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-amazon-corretto
ENV PATH $JAVA_HOME/bin:$PATH
RUN mkdir -p /opt/OpenIMSCore
WORKDIR /opt/OpenIMSCore
RUN svn checkout svn://svn.code.sf.net/p/openimscore/code/FHoSS/trunk FHoSS
WORKDIR /opt/OpenIMSCore/FHoSS
RUN JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 ant compile deploy
ENTRYPOINT ["sh", "/root/run.sh"]
**run.sh**
#!/bin/bash
# Starting HSS
/bin/pwd -P
cd /opt/OpenIMSCore/FHoSS/deploy || exit
echo "$PATH"
echo "$JAVA_HOME"
echo "Building Classpath"
CLASSPATH=$CLASSPATH:log4j.properties:.
for i in lib/*.jar; do CLASSPATH="$i":"$CLASSPATH"; done
echo "Classpath is $CLASSPATH."
$JAVA_HOME/bin/java -cp $CLASSPATH de.fhg.fokus.hss.main.HSSContainer $1 $2 $3 $4 $5 $6 $7 $8 $9
I'm getting below error.
ubuntu@ip-172-31-10-118:~/docker-IMS-VoLTE$ sudo docker logs 31f6119eb481
/bin/pwd: ignoring non-option arguments
/opt/OpenIMSCore/FHoSS
/usr/lib/jvm/java-1.8.0-amazon-corretto/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
**/root/run.sh: 27: Syntax error: end of file unexpected (expecting "done")**
/usr/lib/jvm/jdk-20
Building Classpath
Where Syntax seems okay & JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/" -> this was not passing directlt because of Debian version 11.
Please Suggest.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3453
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3453(a)github.com>