当我尝试从 ubuntu 重启 apache 服务器时,它显示为失败... 我输入的命令是 $service apache2 重启
显示
- 正在重新启动网络服务器 apache2 [失败]
当我检查日志文件时,在 var/apache2/errorlog 中提供的描述是,
[mpm_prefork:notice] [pid 1263] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.5 configured -- resuming normal operations
最佳答案
很有可能是因为你在运行命令的时候没有使用sudo,试试:
sudo service apache2 restart
关于ubuntu - Apache2 在 ubuntu 上重启失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27164724/