<p>Ubuntu 18.04 & Kamailio V 5.1</p>
<p>I am unable to start kamailio services due the below error.</p>
<p>● kamailio.service - Kamailio (OpenSER) - the Open Source SIP Server<br>
Loaded: loaded (/lib/systemd/system/kamailio.service; enabled; vendor preset: enabled)<br>
Active: failed (Result: exit-code) since Tue 2019-01-08 22:36:49 UTC; 12s ago<br>
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)<br>
Main PID: 12877 (code=exited, status=0/SUCCESS)</p>
<p>Jan 08 22:36:49 kamatl03 kamailio[12933]:              udp: kamatl03:5060<br>
Jan 08 22:36:49 kamatl03 kamailio[12933]:              udp: localhost:5060<br>
Jan 08 22:36:49 kamatl03 kamailio[12933]:              udp: localhost.localdomain:5060<br>
Jan 08 22:36:49 kamatl03 /usr/sbin/kamailio[12955]: INFO: carrierroute [carrierroute.c:213]: mod_init(): use file as configuration source<br>
Jan 08 22:36:49 kamatl03 /usr/sbin/kamailio[12955]: ERROR: carrierroute [carrierroute.c:215]: mod_init(): can't stat config file<br>
Jan 08 22:36:49 kamatl03 /usr/sbin/kamailio[12955]: ERROR:  [core/sr_module.c:986]: init_mod(): Error while initializing module carrierroute (/usr/lib/x86_64-linu<br>
Jan 08 22:36:49 kamatl03 /usr/sbin/kamailio[12955]: INFO:  [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized<br>
Jan 08 22:36:49 kamatl03 systemd[1]: kamailio.service: Control process exited, code=exited status=255<br>
Jan 08 22:36:49 kamatl03 systemd[1]: kamailio.service: Failed with result 'exit-code'.<br>
Jan 08 22:36:49 kamatl03 systemd[1]: Failed to start Kamailio (OpenSER) - the Open Source SIP Server.</p>
<p>********<em><strong><strong><strong><strong><strong><strong><strong>Here is the Module Selection in configuraiton file</strong></strong></strong></strong></strong></strong></strong></em></p>
<p>####### Modules Section ########</p>
<h1>set paths to location of modules (to sources or installation folders)</h1>
<p>#!ifdef WITH_SRCPATH<br>
mpath="/usr/local/lib64/kamailio/modules"<br>
#!else<br>
mpath="/usr/lib/x86_64-linux-gnu/kamailio/modules/"<br>
#!endif</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1798">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZQOwBwyK8zvCjJBxTDa5yydBW7eoks5vBSLvgaJpZM4Z2b_k">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZahZnTD4lo4WYh_BkKdRoHSoAQRxks5vBSLvgaJpZM4Z2b_k.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Error while initializing module carrierroute (#1798)"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1798"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1798",
"url": "https://github.com/kamailio/kamailio/issues/1798",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>