百胜更新后,我的Apache不会启动,我得到了以下错误:
# service httpd restart Stopping httpd: [FAILED] Starting httpd: httpd: Syntax error on line 13 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_authn_alias.so into server: /etc/httpd/modules/mod_authn_alias.so: cannot open shared object file: No such file or directory [FAILED]
第13行如下:
Header: PidFile run/httpd.pid
# MR -- must be disable here because can not overrite! -- importance for proxy-to-apache
# Listen 80 .... Line 13: LoadModule authn_alias_module modules/mod_authn_alias.so
如果你从Apache 2.2更新到Apache 2.4,那么这是有道理的。 这是因为mod_authn_alias不存在了。 其function驻留在mod_authn_core模块中。 注释掉/etc/httpd/conf/httpd.conf中的第13行应该有效。