这是我安装Asterisk 13.23.1的状态
[root@localhost asterisk]# /etc/init.d/asterisk status
● asterisk.service - LSB: Asterisk PBX
Loaded: loaded (/etc/rc.d/init.d/asterisk; bad; vendor preset: disabled)
Active: failed (Result: timeout) since mar 2018-11-06 09:05:48 CET; 12min ago
Docs: man:systemd-sysv-generator(8)
Process: 949 ExecStart=/etc/rc.d/init.d/asterisk start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/asterisk.service
├─1096 /bin/sh /usr/sbin/safe_asterisk
└─3004 sleep 4
nov 06 09:00:48 localhost.localdomain systemd[1]: Starting LSB: Asterisk PBX...
nov 06 09:00:50 localhost.localdomain asterisk[949]: Starting asterisk:
nov 06 09:00:50 localhost.localdomain systemd[1]: PID file /var/run/asterisk/asterisk.pid not readable (yet?) after start.
nov 06 09:05:48 localhost.localdomain systemd[1]: asterisk.service start operation timed out. Terminating.
nov 06 09:05:48 localhost.localdomain systemd[1]: Failed to start LSB: Asterisk PBX.
nov 06 09:05:48 localhost.localdomain systemd[1]: Unit asterisk.service entered failed state.
nov 06 09:05:48 localhost.localdomain systemd[1]: asterisk.service failed.
当我尝试使用/etc/init.d/asterisk start命令启动星号时 这也不行,他要花很多时间才能返回答案。
[root@localhost asterisk]# /etc/init.d/asterisk start
Starting asterisk (via systemctl): Job for asterisk.service failed because a timeout was exceeded. See "systemctl status asterisk.service" and "journalctl -xe" for details.
[ÉCHOUÉ]
我的操作系统是CentOs 7.1,他安装在VMWare vsPhere Hypervisor 6.5上
如何修复?