<p></p>
<p>I recently installed kamailio and it was enabled & started--> Service is active & running</p>
<p>But once I added users I see kamailio service is failed</p>
<p>[root@rlab111053 kamailio]# systemctl status kamailio<br>
● kamailio.service - Kamailio (OpenSER) - the Open Source SIP Server<br>
Loaded: loaded (/etc/systemd/system/kamailio.service; enabled; vendor preset: disabled)<br>
Active: failed (Result: start-limit) since Wed 2020-04-29 18:47:26 IST; 860ms ago<br>
Process: 16759 ExecStart=/usr/sbin/kamailio -DD -P /var/run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY (code=exited, status=255)<br>
Main PID: 16759 (code=exited, status=255)</p>
<p>Apr 29 18:47:25 rlab111053 systemd[1]: kamailio.service: main process exited, code=exited, status=255/n/a<br>
Apr 29 18:47:25 rlab111053 systemd[1]: Unit kamailio.service entered failed state.<br>
Apr 29 18:47:25 rlab111053 systemd[1]: kamailio.service failed.<br>
Apr 29 18:47:26 rlab111053 systemd[1]: kamailio.service holdoff time over, scheduling restart.<br>
Apr 29 18:47:26 rlab111053 systemd[1]: Stopped Kamailio (OpenSER) - the Open Source SIP Server.<br>
Apr 29 18:47:26 rlab111053 systemd[1]: start request repeated too quickly for kamailio.service<br>
Apr 29 18:47:26 rlab111053 systemd[1]: Failed to start Kamailio (OpenSER) - the Open Source SIP Server.<br>
Apr 29 18:47:26 rlab111053 systemd[1]: Unit kamailio.service entered failed state.<br>
Apr 29 18:47:26 rlab111053 systemd[1]: kamailio.service failed.</p>
<p><strong>I am using below version</strong></p>
<p>[root@rlab111053 kamailio]# kamailio -version<br>
version: kamailio 5.1.10 (x86_64/linux) cfcfd5<br>
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES<br>
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144 MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB<br>
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>
id: cfcfd5<br>
compiled on 15:40:49 Mar  6 2020 with gcc 4.8.5<br>
[root@rlab111053 kamailio]#</p>
<p>Can some help to fix it</p>

<h3>Description</h3>

<h3>Troubleshooting</h3>
<h4>Reproduction</h4>

<h4>Debugging Data</h4>

<pre><code>(paste your debugging data here)
</code></pre>
<h4>Log Messages</h4>

<pre><code>(paste your log messages here)
</code></pre>
<h4>SIP Traffic</h4>

<pre><code>(paste your sip traffic here)
</code></pre>
<h3>Possible Solutions</h3>

<h3>Additional Information</h3>
<ul>
<li><strong>Kamailio Version</strong> - output of <code>kamailio -v</code></li>
</ul>
<pre><code>(paste your output here)
</code></pre>
<ul>
<li><strong>Operating System</strong>:</li>
</ul>

<pre><code>(paste your output here)
</code></pre>

<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/2309">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZKWJEGJ5O4GRXI7XBLRPAZ7ZANCNFSM4MTYROUQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZKSB3EBD37UJUS2OSTRPAZ7ZA5CNFSM4MTYROU2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JCODV2A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2309",
"url": "https://github.com/kamailio/kamailio/issues/2309",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>