apache添加模块时报错:module status_module is built-in and can't be loaded
2017-08-08 16:26
756 查看
apache的模块如果没有用到一般都是直接#注释掉的,但有时需要用到
却找不到这个模块,而且还会报类似错误
module status_module is built-in and can't be loaded
先别接着重新编译添加模块,可以查看apache已经内置了那些模块
如何查看apache已经内置了哪些模块呢?
/usr/local/apache2/bin/httpd -l
Compiled in modules:
core.c
mod_authn_file.c
mod_authn_default.c
mod_authz_host.c
mod_authz_groupfile.c
mod_authz_user.c
mod_authz_default.c
mod_auth_basic.c
mod_include.c
mod_filter.c
mod_log_config.c
mod_env.c
mod_setenvif.c
prefork.c
http_core.c
mod_mime.c
mod_status.c
mod_autoindex.c
mod_asis.c
mod_cgi.c
mod_negotiation.c
mod_dir.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_so.c
当然如果有这个模块,但你还重新编译了一次,不用急,直接用#注释掉就行了,比如:
#LoadModule ssl_module modules/mod_ssl.so
却找不到这个模块,而且还会报类似错误
module status_module is built-in and can't be loaded
先别接着重新编译添加模块,可以查看apache已经内置了那些模块
如何查看apache已经内置了哪些模块呢?
/usr/local/apache2/bin/httpd -l
Compiled in modules:
core.c
mod_authn_file.c
mod_authn_default.c
mod_authz_host.c
mod_authz_groupfile.c
mod_authz_user.c
mod_authz_default.c
mod_auth_basic.c
mod_include.c
mod_filter.c
mod_log_config.c
mod_env.c
mod_setenvif.c
prefork.c
http_core.c
mod_mime.c
mod_status.c
mod_autoindex.c
mod_asis.c
mod_cgi.c
mod_negotiation.c
mod_dir.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_so.c
当然如果有这个模块,但你还重新编译了一次,不用急,直接用#注释掉就行了,比如:
#LoadModule ssl_module modules/mod_ssl.so
相关文章推荐
- apache添加模块时报错:module status_module is built-in and can't be loaded
- Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration info
- Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additio
- “System.IO.FileLoadException: Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 错误
- Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additio
- 解决MYSQL弃用模块错误Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future
- using JS to control two select(html),the data can be loaded from database and XML,and show in the select
- Apache2.4.6添加虚拟主机提示:NameVirtualHost has no effect and will be removed in the next release /usr/local/apache/conf/extra/httpd-vhosts.conf
- An explicit value for the identity column in table can only be specified when a column list is used and IDENTITY_INSERT is ON
- 使用Mono Cecil 动态获取运行时数据 (Atribute形式 进行注入 用于写Log) [此文报考 xxx is declared in another module and needs to be imported的解决方法]-摘自网络
- assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
- java.lang.SecurityException: Filter of class org.apache.catalina.ssi.SSIFilter is privileged and cannot be loaded by this web application
- org.apache.catalina.servlets.InvokerServlet is privileged and cannot be loaded by this web
- 提交时提示错误This Bundle is invalid.New apps and app updates submitted to the App Store must be built wit
- tomcat添加项目(Add and Remove...)出现There are no resources that can be added or removed from the server
- switch 错误:a label can only be part of a statement and a declaration is not a statement
- Please ensure that adb is correctly located at .... and can be executed
- adb.exe被占用,The connection to adb is down, and a severe error has occured.adb.exe' and can be execute
- Android can only be built by versions 3.81 and 3.82
- 多进程---错误解决AttributeError: Can't get attribute 'long_time_task' on <module '__main__' (built-in)>