我刚刚在Centos7中安装了Freeswitch。当我检查我的Freeswitch状态时,它无法启动跟随错误。任何帮助将受到高度赞赏。
我附上了命令和日志文件的副本,也显示了错误
启动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.
需要在/ var / log / freeswitch /目录中检查日志是否有错误。