几天前,我通过在线升级从 openSuse 11.04 升级到了 openSuse 12.1。现在尝试启动 apache 服务器 -
sudo /etc/init.d/apache2 start
它给出错误如下-
redirecting to systemctl
Job failed. See system logs and 'systemctl status' for details
我也检查过了 -
rtdp@linux-vai9:~> systemctl status apache2.service
apache2.service - apache
Loaded: loaded (/lib/systemd/system/apache2.service; disabled)
Active: failed since Tue, 06 Dec 2011 13:21:11 +0530; 3min 54s ago
Process: 2688 ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -k start (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/apache2.service
即使我尝试声明 ngnix,它也会出现以下错误 -
rtdp@linux-vai9:~> sudo /etc/init.d/nginx start
redirecting to systemctl
并且 ngnix 无法启动。
这可能是什么原因造成的?尝试谷歌搜索,但没有帮助。提前致谢。
答案1
答案2
尝试使用服务器本机脚本 apache2ctl 或 htttpd2