<p>I have the same issue like <a href="https://github.com/arsenx" class="user-mention">@arsenx</a>: "ERROR: No PID file found (/var/run/kamailio.pid)! Kamailio probably not running", regardless of chmoding or chowning. The error hint points to the /var/run/kamailio.pid but on my system (Debian Jessie 8.9) the location of the pid-file is /var/run/kamailio/kamailio.pid. Is this ok? Every time when I try to restart or stop kamailio (via kamctl), I get the error. I've tested with kamailio 5.0, 4.4 and 4.2 releases and nothing changes. The init-script is already patched (see the post from <a href="https://github.com/linuxmaniac" class="user-mention">@linuxmaniac</a>).</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/231#issuecomment-318019855">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZajXgFlB6raJjQOF1KFCq-eowzKPks5sRxr5gaJpZM4FSFYa">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZaA-uTLCMypTDp4M1sHP4qT7tHgKks5sRxr5gaJpZM4FSFYa.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/kamailio/kamailio/issues/231#issuecomment-318019855"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>
<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://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@am2f5q in #231: I have the same issue like @arsenx: \"ERROR: No PID file found (/var/run/kamailio.pid)! Kamailio probably not running\", regardless of chmoding or chowning. The error hint points to the /var/run/kamailio.pid but on my system (Debian Jessie 8.9) the location of the pid-file is /var/run/kamailio/kamailio.pid. Is this ok? Every time when I try to restart or stop kamailio (via kamctl), I get the error. I've tested with kamailio 5.0, 4.4 and 4.2 releases and nothing changes. The init-script is already patched (see the post from @linuxmaniac)."}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/231#issuecomment-318019855"}}}</script>