[lxc-users] Freeswitch refuses to start in Debian Jessie

Rajil Saraswat rajil.s at gmail.com
Mon Jan 8 04:15:19 UTC 2018


On 01/07/2018 07:46 PM, Stéphane Graber wrote:
> Anything weird going on with your /var/run?
>
> Looks like what's failing is:
>
>     /bin/mkdir -p /var/run/freeswitch/
Here is what I have,

# ls -la /var/run
lrwxrwxrwx 1 root root 4 Jan  6 00:51 /var/run -> /run

# ls -la /var/run/freeswitch
ls: cannot access /var/run/freeswitch: No such file or directory

I can create the directory manually and give it correct permissions as
required by systemd script.

# /bin/mkdir -p /var/run/freeswitch/
root at jessie:~# chown -R www-data:www-data /var/run/freeswitch
root at jessie:~# ls -la /var/run/freeswitch
total 0
drwxr-xr-x  2 www-data www-data  40 Jan  8 04:11 .
drwxr-xr-x 13 root     root     480 Jan  8 04:11 ..

However, Freeswitch still fails,

# systemctl start freeswitch.service
Job for freeswitch.service failed. See 'systemctl status
freeswitch.service' and 'journalctl -xn' for details.
root at jessie:~# systemctl status freeswitch.service
● freeswitch.service - freeswitch
   Loaded: loaded (/lib/systemd/system/freeswitch.service; enabled)
   Active: failed (Result: start-limit) since Mon 2018-01-08 04:14:16
UTC; 1s ago
  Process: 453 ExecStartPre=/bin/mkdir -p /var/run/freeswitch/
(code=exited, status=214/SETSCHEDULER)

Jan 08 04:14:16 jessie systemd[1]: Failed to start freeswitch.
Jan 08 04:14:16 jessie systemd[1]: Unit freeswitch.service entered
failed state.
Jan 08 04:14:16 jessie systemd[1]: freeswitch.service holdoff time over,
scheduling restart.
Jan 08 04:14:16 jessie systemd[1]: Stopping freeswitch...
Jan 08 04:14:16 jessie systemd[1]: Starting freeswitch...
Jan 08 04:14:16 jessie systemd[1]: freeswitch.service start request
repeated too quickly, refusing to start.
Jan 08 04:14:16 jessie systemd[1]: Failed to start freeswitch.
Jan 08 04:14:16 jessie systemd[1]: Unit freeswitch.service entered
failed state.


More information about the lxc-users mailing list