apache Digest: generating secret for digest authentication ...

今天在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正常启动。原因待查。

原文地址:https://www.cnblogs.com/jiuzhexingfu/p/3029058.html