希望有人能帮助我的服务器问题。 最近我们升级到最新的apache在2个组织框内。 一个是主箱,另一个是故障转移。 升级在主框上进行得很好,但在故障转移框apache无法启动没有错误,正在输出或logging。 这两个盒子有完全相同的configuration,所以发现这有点奇怪。
我重新安装了Apache,并通过检查configuration,没有发现任何明显的错误。 事实上,我对每个包含的configuration文件都进行了语法检查,发现其中一个文件显然有语法错误。
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration Invalid command 'GeoIPEnable', perhaps misspelled or defined by a module not included in the server configuration
我trippled检查所有模块已启用,但仍然失败。 我GOOGLE了这些错误负载的主题,但一直无法罚款的解决scheme。
我想知道是否有人遇到过这样的问题,并可以指出我的解决scheme。
感谢您的帮助提前。
PS:
服务器上的Apache相关版本。
ii apache2 2.2.3-4+etch10 Next generation, scalable, extendable web se ii apache2-mpm-prefork 2.2.3-4+etch10 Traditional model for Apache HTTPD 2.1 ii apache2-utils 2.2.3-4+etch10 utility programs for webservers ii apache2.2-common 2.2.3-4+etch10 Next generation, scalable, extendable web se ii libapache2-mod-geoip 1.1.8-2 GeoIP support for apache2 ii libapache2-mod-php5 5.2.0+dfsg-8+etch15 server-side, HTML-embedded scripting languag
没有configuration文件就不可能发现这个错误,但是在configuration文件的某处有一些简单的错误。 简单来说,我的意思是在configuration文件中缺less像<Directory>或<VirtualHost>标签。 这就是为什么抱怨。 例如,它看到:“sorting拒绝,允许”脱离上下文并报告有关“订单”的错误。 “apache2ctl configtest”将输出一个行号和文件名,可以用来查明语法错误。