Unclean shutdown of previous Apache run?

简介:

apache自己停止了服务,然后再也启动不了了,查看error.log发现报错如下:


[Thu Jul 11 03:28:44 2013] [warn] pid file D:/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

[Thu Jul 11 03:28:44 2013] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 32 bytes)

[Thu Jul 11 03:28:44 2013] [notice] mod_bw : Version 0.8 - Initialized [0 Confs]

[Thu Jul 11 08:37:14 2013] [warn] pid file D:/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

[Thu Jul 11 08:37:14 2013] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 32 bytes)

[Thu Jul 11 08:37:14 2013] [notice] mod_bw : Version 0.8 - Initialized [0 Confs]

[Thu Jul 11 08:37:33 2013] [warn] pid file D:/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

[Thu Jul 11 08:37:34 2013] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 32 bytes)

[Thu Jul 11 08:37:34 2013] [notice] mod_bw : Version 0.8 - Initialized [0 Confs]

[Thu Jul 11 08:38:02 2013] [warn] pid file D:/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

[Thu Jul 11 08:38:02 2013] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 32 bytes)

[Thu Jul 11 08:38:02 2013] [notice] mod_bw : Version 0.8 - Initialized [0 Confs]

[Thu Jul 11 08:38:40 2013] [warn] pid file D:/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

[Thu Jul 11 08:38:40 2013] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 32 bytes)

[Thu Jul 11 08:38:40 2013] [notice] mod_bw : Version 0.8 - Initialized [0 Confs]


马上google百度下,原来是php.ini里面开启的扩展有问题。要么根本就加载不了,要么版本不兼容。


调试方法:首先将php.ini底部加载的所有扩展动态库(extension modules),看能否正常启动apache。如果不行就一个一个开启扩展测试。直到找到不兼容的extension。

我这里是php_openssl.dll扩展出了问题。下载的版本没有和当前php版本对应,导致php无法加载。





      本文转自许琴 51CTO博客,原文链接:http://blog.51cto.com/xuqin/1246220,如需转载请自行联系原作者



相关文章
|
应用服务中间件
Tomcat报错:The required Server component failed to start so Tomcat is unable to start
Tomcat报错:The required Server component failed to start so Tomcat is unable to start
235 0
Error running Application. Command line is too long.
【2月更文挑战第2天】Error running Application. Command line is too long. 问题处理
Error:svn:E155037:Previous operation has not finished; run ‘cleanup‘ if it was interrupted(完美解决)
Error:svn:E155037:Previous operation has not finished; run ‘cleanup‘ if it was interrupted(完美解决)
421 0
Error:svn:E155037:Previous operation has not finished; run ‘cleanup‘ if it was interrupted(完美解决)
|
资源调度
yarn start error Command failed with exit code 1解决
yarn start error Command failed with exit code 1解决
1123 0
‘Client‘ is not allowed to run in parallel.Would you like to stop the running one?
‘Client‘ is not allowed to run in parallel.Would you like to stop the running one?
570 0
‘Client‘ is not allowed to run in parallel.Would you like to stop the running one?
svn报错:“Previous operation has not finished; run ‘cleanup‘ if it was interrupted“ 的解决办法
svn报错:“Previous operation has not finished; run ‘cleanup‘ if it was interrupted“ 的解决办法
252 0
svn报错:“Previous operation has not finished; run ‘cleanup‘ if it was interrupted“ 的解决办法
|
分布式计算 Hadoop 容器
|
NoSQL 数据库 Redis
|
网络协议 Java 容器
【报错】项目启动,仅仅报错 One or more listeners failed to start. Full details will be found in the appropriate container log file
今天spring4.3.13 项目,整合ActiveMQ的时候,项目启动在自动部署到tomcat下的时候,不能正常的部署,仅仅报错如下: Connected to server [2017-12-08 03:57:12,428] Artifact springDemo:war exploded: Artifact is being deployed, please wait.
6329 0