一个apache问题,无法重启,提示:apachectl: line 78: 5160 段错误 $HTTPD -k $ARGV
我在 /etc/rc.d/rc.local 中加入一条
/usr/local/apache2/bin/apachectl start
在我重新启动机器,apache都是可以正常运行,但我想在命令行用命令重新启动关闭等都不行。如:
[root@localhost mysc]# /usr/local/apache2/bin/apachectl stop
/usr/local/apache2/bin/apachectl: line 78: 5153 段错误 $HTTPD -k $ARGV
[root@localhost mysc]# /usr/local/apache2/bin/apachectl restart
/usr/local/apache2/bin/apachectl: line 78: 5160 段错误 $HTTPD -k $ARGV
我查了apache的日a志,没看什么问题来:
[root@localhost lsc]# cat /usr/local/apache2/logs/error_log
[Wed Dec 03 13:42:02 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Dec 03 13:42:03 2008] [warn] No JkShmFile defined in httpd.conf. Using default /usr/local/apache2/logs/jk-runtime-status
[Wed Dec 03 13:42:03 2008] [notice] Digest: generating secret for digest authentication ...
[Wed Dec 03 13:42:03 2008] [notice] Digest: done
[Wed Dec 03 13:42:04 2008] [warn] No JkShmFile defined in httpd.conf. Using default /usr/local/apache2/logs/jk-runtime-status
[Wed Dec 03 13:42:04 2008] [notice] Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8h DAV/2 SVN/1.5.0 PHP/5.2.6 mod_jk/1.2.26 configured -- resuming normal operations
请教大家,这是什么情况? 怎么解决呢? 谢谢!