I have just installed Freeswitch in Centos7 . when i check my Freeswitch status , its failing to start with following error. Any help would be highly appreciated.
I have attached copy of both command and the logs file showing errors as well
Starting freeswitch
[root@localhost log]# systemctl start freeswitch
[root@localhost log]# systemctl status freeswitch
●Started FreeSWITCH.
Feb 17 22:56:38 localhost freeswitch: ERROR: Failed to set SCHED_FIFO scheduler (Operation not permitted)
Feb 17 22:56:38 localhost freeswitch: ERROR: Could not set nice level
Feb 17 22:56:38 localhost freeswitch: Cannot open pid file /opt/freeswitch/run/freeswitch.pid.
Feb 17 22:56:38 localhost systemd: freeswitch.service: main process exited, code=exited, status=255/n/a
Feb 17 22:56:38 localhost systemd: Unit freeswitch.service entered failed state.
Feb 17 22:56:38 localhost systemd: freeswitch.service failed.