关键字:[notice] child pid  exit signal segmentation fault site:*.apache.org

问题如下图:

【QA3】apache2启动失败问题

在apache官网找到如下:https://issues.apache.org/bugzilla/show_bug.cgi?id=20421

此问题在2003年的时候就出现过,持续到现在,约十年之久,却被我又遇到。接下来想办法解决:

(1).检查配置文件,依赖moudle等,gdb得到apache-core,但是内存崩溃,也未解决问题。

(2).卸载apache,重装:

1、sudo apt-get remove apache2
2、sudo apt-get remove apache2.2-common
3、sudo apt-get autoremove (此命令会自动卸载PHP)

还在继续尝试中,问题解决之后继续补充。

=====================================================

错误:

sudo service apache2 start  * Starting web server apache2  

Syntax error on line 160 of /etc/apache2/apache2.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration Action 'start' failed. The Apache error log may have more information. 

解决方法:

在终端里输入如下命令即可:

sudo a2enmod authz_host;

------------------------------------------------------------------------------------

今天使用 CodeIgniter的时候出现了HTTP 500错误,查看日志发现以下错误

CodeIgniter_2.0.2/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

解决办法:

RewriteEngine命令需要rewrite mod的支持,

打开apache的配置文件httpd.conf ,取消 LoadModule rewrite_module modules/mod_rewrite.so前的注释

相关文章:

  • 2021-11-11
  • 2021-05-12
  • 2021-05-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-06
  • 2021-06-10
猜你喜欢
  • 2021-10-31
  • 2021-09-14
  • 2021-05-26
  • 2021-05-16
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案