有时候我收到这个错误,然后我无法重新加载页面或打开的页面,其中包括这个错误的文件.我有这样的错误后,我无法重新启动apache
Restarting web server: apache2(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available,shutting downUnable to open logs
Action ‘start’ Failed.
The Apache error log may have more information.
Failed!
在apache日志文件中:
[Wed Nov 21 15:07:55 2012] [warn] child process 4020 still did not exit,sending a SIGTERM
[Wed Nov 21 15:07:55 2012] [warn] child process 4021 still did not exit,sending a SIGTERM
[Wed Nov 21 15:07:55 2012] [warn] child process 4022 still did not exit,sending a SIGTERM
[Wed Nov 21 15:07:57 2012] [error] child process 1309 still did not exit,sending a SIGKILL
[Wed Nov 21 15:07:57 2012] [error] child process 1310 still did not exit,sending a SIGKILL
[Wed Nov 21 15:07:57 2012] [error] child process 1311 still did not exit,sending a SIGKILL
和主机日志:
[Wed Nov 21 12:21:24 2012] [error] [client 127.0.0.1] PHP Fatal error: require(): unable to unlock pthread lock in ~/www/yii/yii-1.1.11.58da45/framework/base/CApplication.PHP on line 127
有
$config=require($config);
要么:
[Wed Nov 14 21:04:26 2012] [error] [client 127.0.0.1] PHP Fatal error: require_once(): unable to unlock pthread lock in ~/projects/politiya/index.PHP on line 14
有:
require_once($game_loader);