今天在Linux服务器上启动apache,结果发现启动不起来,打开log看,如下:

[Thu Apr 18 16:55:42 2013] [notice] Digest: generating secret for digest authentication ...
[Thu Apr 18 16:55:42 2013] [notice] Digest: done
[Thu Apr 18 16:55:43 2013] [warn] pid file /home/xxxx/xxxx/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Apr 18 16:55:43 2013] [error] (13)Permission denied: could not create /home/xxxx/xxxx/logs/httpd.pid
[Thu Apr 18 16:55:43 2013] [error] httpd: could not log pid to file /home/xxxx/xxxx/logs/httpd.pid

大致的意思是,pid文件权限不够,那就给他权限,最后,apache正常启动。原因待查。

相关文章:

  • 2021-08-15
  • 2022-02-28
  • 2021-08-18
  • 2021-07-20
  • 2022-01-04
  • 2022-12-23
  • 2021-06-01
  • 2021-11-24
猜你喜欢
  • 2022-12-23
  • 2022-01-07
  • 2022-01-20
  • 2022-01-23
相关资源
相似解决方案