<p></p>
<blockquote>
<p>all files under <code>/var/run/</code> (a symbolic link to <code>/run</code>) must be created from scratch on server reboot.<br>
Could you make a test:</p>
<pre><code>1. systemctl disable kamailio
2. reboot
3. ls -ld /var/run/kamailio
4. ls -l /var/run/kamailio
5. systemctl enable --now kamailio
6. ls -ld /var/run/kamailio
7. ls -l /var/run/kamailio
</code></pre>
<p>And paste here output of these commands.</p>
</blockquote>
<p>This is without the problematic cfg parameter:</p>
<p>root@kam01:/home/henning# systemctl disable kamailio<br>
Synchronizing state of kamailio.service with SysV service script with /lib/systemd/systemd-sysv-install.<br>
Executing: /lib/systemd/systemd-sysv-install disable kamailio<br>
Removed /etc/systemd/system/multi-user.target.wants/kamailio.service.<br>
reboot</p>
<p>root@kam01:/home/henning# ls -ld /var/run/kamailio<br>
ls: cannot access '/var/run/kamailio': No such file or directory</p>
<p>root@kam01:/home/henning# ls -l /var/run/kamailio<br>
ls: cannot access '/var/run/kamailio': No such file or directory</p>
<p>root@kam01:/home/henning# systemctl enable --now kamailio<br>
Synchronizing state of kamailio.service with SysV service script with /lib/systemd/systemd-sysv-install.<br>
Executing: /lib/systemd/systemd-sysv-install enable kamailio<br>
Created symlink /etc/systemd/system/multi-user.target.wants/kamailio.service → /lib/systemd/system/kamailio.service.</p>
<p>root@kam01:/home/henning# ls -ld /var/run/kamailio<br>
drwxr-x--- 2 kamailio kamailio 120 Jul  5 10:46 /var/run/kamailio</p>
<p>root@kam01:/home/henning# ls -l /var/run/kamailio<br>
total 4<br>
srw------- 1 kamailio kamailio 0 Jul  5 10:46 kamailio_ctl<br>
-rw-r--r-- 1 kamailio kamailio 5 Jul  5 10:46 kamailio.pid<br>
prw-rw---- 1 kamailio kamailio 0 Jul  5 10:46 kamailio_rpc.fifo<br>
srw-rw---- 1 kamailio kamailio 0 Jul  5 10:46 kamailio_rpc.sock</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/2391#issuecomment-653872669">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMTE7X4F2HALU7RFKLR2BK7LANCNFSM4OQZWM4A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZK7CSSNBFRH2DD2X23R2BK7LA5CNFSM4OQZWM4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE34U4HI.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/2391#issuecomment-653872669",
"url": "https://github.com/kamailio/kamailio/issues/2391#issuecomment-653872669",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>