小编use*_*832的帖子

“ apache2.service 未激活,无法重新加载”

运行时sudo service apache2 reload,我收到错误:

apache2.service is not active, cannot reload
Run Code Online (Sandbox Code Playgroud)

输出 sudo service apache2 status

root@gamma:~# sudo service apache2 status
? apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
       ??apache2-systemd.conf
Active: inactive (dead) since Sat 2016-10-15 08:23:11 UTC; 2h 28min ago
 Docs: man:systemd-sysv-generator(8)
Process: 2203 ExecStop=/etc/init.d/apache2 stop (code=exited,     status=0/SUCCESS)
Process: 2185 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)

Oct 15 08:23:10 gamma systemd[1]: Starting LSB: Apache2 web server...
Oct 15 08:23:10 gamma apache2[2185]:  * …
Run Code Online (Sandbox Code Playgroud)

server 16.04

12
推荐指数
1
解决办法
9万
查看次数

标签 统计

16.04 ×1

server ×1