当我尝试使用bellow命令启动Freeswitch时:
/etc/init.d/frees女巫
它产生错误:-
……启动freeswitch (通过systemctl):freeswitch.serviceJob for freeswitch.service失败。有关详细信息,请参阅“systemctl status freeswitch.service”和“journalctl-xn”。失败!
然后,我运行了systemctl状态freeswitch.service命令--这一次它给了我这个错误:
loaded (/lib/systemd/ freeswitch.service /freeswitch.service;已启用)活动:自Tue 2016-03-29 00:52:08 EDT以来活动:失败(结果:启动限制) 处理: 25997 ExecStart=/usr/bin/freeswitch -u freeswitch -g freeswitch -ncwait $DAEMON_OPTS (code=exited,status=1/FAILURE) 3月29日00:52:07 systemd1:未能启动自由开关。3月29日00:52:07 systemd1:单元freeswitch.service进入失败状态。systemd1: freeswitch.service启动请求重复过快,拒绝启动。3月29日00:52:08 systemd1:未能启动自由开关。3月29日00:52:08 media03 systemd1: Unit freeswitch.service进入失败状态。
然后我运行-xn命令--它给出了以下错误:
-原木开始时间为2016-03-22 15:12:38,结束时间为2016-03-29 01:17:01。-3月29日01:05:54 freeswitch26066: FreeSWITCH26066错误启动系统!pid:26067 3月29日01:05:54 systemd1: freeswitch.service:控制过程退出,code=exited status=1 Mar 29 01:05:54 systemd1:启动失败。-主题:单元freeswitch.service失败--定义为: systemd - freeswitch.service单元失败了。 --结果失败了3月29日01:05:54 systemd1:单元freeswitch.service进入失败状态。CRON26073: pam_unix(cron: session ):为用户根打开的会话(uid=0) Mar 29 01:17:01 CRON26074:( root ) CMD ( cd /& run-parts -report /etc/cron.hourly) Mar 29 :17:01 CRON26073: pam_unix(cron: session ):为用户根关闭的会话
Freeswitch.log
2016-03-18 13:13:16.027486 [NOTICE] switch_loadable_module.c:1183 Deleting File Format 'ul'
2016-03-18 13:13:16.027486 [NOTICE] switch_loadable_module.c:1183 Deleting File Format 'ulaw'
2016-03-18 13:13:16.027486 [NOTICE] switch_loadable_module.c:1183 Deleting File Format 'al'
2016-03-18 13:13:16.027486 [NOTICE] switch_loadable_module.c:1183 Deleting File Format 'alaw'
2016-03-18 13:13:16.027486 [NOTICE] switch_loadable_module.c:1183 Deleting File Format 'adpcm'
2016-03-18 13:13:16.027486 [NOTICE] switch_loadable_module.c:1183 Deleting File Format 'vox'
2016-03-18 13:13:16.027486 [CONSOLE] switch_loadable_module.c:2008 Stopping: mod_sndfile
2016-03-18 13:13:16.027486 [DEBUG] switch_loadable_module.c:1330 Write lock interface 'en' to wait for existing references.
2016-03-18 13:13:16.027486 [NOTICE] switch_loadable_module.c:1338 Deleting Say interface 'en'
2016-03-18 13:13:16.027486 [CONSOLE] switch_loadable_module.c:2011 mod_say_en has no shutdown routine发布于 2016-03-29 10:33:37
此问题与您的init脚本工作不正常有关。所以试着在下面
/usr/local/freeswitch/bin/freeswitch如果仍然存在问题,只需尝试killall自由切换过程。然后再一次启动自由女巫
https://stackoverflow.com/questions/36275884
复制相似问题