- 已关闭。**此问题为not about programming or software development。当前不接受答案。
此问题似乎与a specific programming problem, a software algorithm, or software tools primarily used by programmers无关。如果您认为此问题与another Stack Exchange site的主题有关,您可以留下评论,说明在何处可以回答此问题。
2天前关闭。
Improve this question
我的Asterisk成功安装在Ubuntu上,但它永远无法启动。
sudo systemctl起始星号
Job for asterisk.service failed because the control process exited with error code.
See "systemctl status asterisk.service" and "journalctl -xe" for details.
sudo systemctl启用星号
asterisk.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable asterisk
sudo systemctl状态星号
● asterisk.service - LSB: Asterisk PBX
Loaded: loaded (/etc/init.d/asterisk; generated)
Active: failed (Result: exit-code) since Thu 2022-12-22 23:11:56 UTC; 2min 2s ago
Docs: man:systemd-sysv-generator(8)
Dec 22 23:11:56 freepbx systemd[1]: Starting LSB: Asterisk PBX...
Dec 22 23:11:56 freepbx asterisk[1573]: [60B blob data]
Dec 22 23:11:56 freepbx systemd[1]: asterisk.service: Control process exited, code=exited, status=1>
Dec 22 23:11:56 freepbx systemd[1]: asterisk.service: Failed with result 'exit-code'.
Dec 22 23:11:56 freepbx systemd[1]: Failed to start LSB: Asterisk PBX.
我在Ubuntu 20.04.5上尝试了星号18和星号19。但是我的星号开始结果是一样的。
我的问题是什么,如何解决?
谢谢。
1条答案
按热度按时间bjp0bcyl1#
1.检查是否具有在/etc/asterisk/asterster.conf文件中引用所有目录,且所有目录都具有星号用户的权限
1.检查/var/log/asterisk/full或/var/log/asterisk/消息以查找错误
1.尝试从控制台运行星号并看到错误
su星号-c“星号-vvvgc”