[sr-dev] [kamailio/kamailio] Error while initializing module carrierroute (#1798)

Gkpanda321 notifications at github.com
Tue Jan 8 23:59:59 CET 2019


Ubuntu 18.04 & Kamailio V 5.1

I am unable to start kamailio services due the below error.



‚óŹ kamailio.service - Kamailio (OpenSER) - the Open Source SIP Server
   Loaded: loaded (/lib/systemd/system/kamailio.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2019-01-08 22:36:49 UTC; 12s ago
  Process: 12933 ExecStart=/usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g $GROUP (code=exited, status=255)
 Main PID: 12877 (code=exited, status=0/SUCCESS)

Jan 08 22:36:49 kamatl03 kamailio[12933]:              udp: kamatl03:5060
Jan 08 22:36:49 kamatl03 kamailio[12933]:              udp: localhost:5060
Jan 08 22:36:49 kamatl03 kamailio[12933]:              udp: localhost.localdomain:5060
Jan 08 22:36:49 kamatl03 /usr/sbin/kamailio[12955]: INFO: carrierroute [carrierroute.c:213]: mod_init(): use file as configuration source
Jan 08 22:36:49 kamatl03 /usr/sbin/kamailio[12955]: ERROR: carrierroute [carrierroute.c:215]: mod_init(): can't stat config file
Jan 08 22:36:49 kamatl03 /usr/sbin/kamailio[12955]: ERROR: <core> [core/sr_module.c:986]: init_mod(): Error while initializing module carrierroute (/usr/lib/x86_64-linu
Jan 08 22:36:49 kamatl03 /usr/sbin/kamailio[12955]: INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
Jan 08 22:36:49 kamatl03 systemd[1]: kamailio.service: Control process exited, code=exited status=255
Jan 08 22:36:49 kamatl03 systemd[1]: kamailio.service: Failed with result 'exit-code'.
Jan 08 22:36:49 kamatl03 systemd[1]: Failed to start Kamailio (OpenSER) - the Open Source SIP Server.



***********************Here is the Module Selection in configuraiton file***************

####### Modules Section ########
# set paths to location of modules (to sources or installation folders)
#!ifdef WITH_SRCPATH
mpath="/usr/local/lib64/kamailio/modules"
#!else
mpath="/usr/lib/x86_64-linux-gnu/kamailio/modules/"
#!endif




-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1798
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190108/f8e2caa3/attachment.html>


More information about the sr-dev mailing list