Phusion Passenger未定义符号ap_log_error和重复的Apache版本

我尝试在CentOS 6上安装Phusion Passenger。按照https://www.phusionpassenger.com/library/install/apache/install/oss/el6/上的安装说明

最后一步是重新启动Apache,我得到了..

$ sudo service httpd restart Stopping httpd: [FAILED] Starting httpd: httpd: Syntax error on line 229 of /etc/httpd/conf/httpd.conf: Cannot load /usr/local/rvm/gems/ruby-2.2.2/gems/passenger-5.1.1/buildout/apache2/mod_passenger.so into server: /usr/local/rvm/gems/ruby-2.2.2/gems/passenger-5.1.1/buildout/apache2/mod_passenger.so: undefined symbol: ap_log_error_ [FAILED]

我核实发现mod_passenger.so是在错误信息目录中存在的。 然后我尝试用下面的命令进行validation,并得到这样的东西..

 Final autodetection results * Found Apache 2.2.15! Information: apxs2 : /usr/bin/apxs Main executable: /usr/sbin/httpd Control command: /usr/sbin/apachectl Config file : /etc/httpd/conf/httpd.conf Error log file : unknown To install Phusion Passenger against this specific Apache version: /usr/local/rvm/gems/ruby-2.2.2/wrappers/ruby /usr/local/rvm/gems/ruby-2.2.2/gems/passenger-5.1.1/bin/passenger-install-apache2-module --apxs2-path='/usr/bin/apxs' To start, stop or restart this specific Apache version: /usr/sbin/apachectl start /usr/sbin/apachectl stop /usr/sbin/apachectl restart * Found Apache 2.2.15! Information: apxs2 : /usr/sbin/apxs Main executable: /usr/sbin/httpd Control command: /usr/sbin/apachectl Config file : /etc/httpd/conf/httpd.conf Error log file : unknown To install Phusion Passenger against this specific Apache version: /usr/local/rvm/gems/ruby-2.2.2/wrappers/ruby /usr/local/rvm/gems/ruby-2.2.2/gems/passenger-5.1.1/bin/passenger-install-apache2-module --apxs2-path='/usr/sbin/apxs' To start, stop or restart this specific Apache version: /usr/sbin/apachectl start /usr/sbin/apachectl stop /usr/sbin/apachectl restart WARNING: You have multiple Apache installations on your system! You are strongly recommended to read this section of the documentation: https://www.phusionpassenger.com/install/apache/multiple_apache_installs.html 

根据build议的链接中的信息,似乎我有多个版本的Apache的问题,我可能应该通过运行命令“passenger-install-apache2-module”强制构build并指定APXS2位置。

但是上面的消息显示有Apache 2.2.15的重复版本。

有什么build议,我该怎么做才能弄清楚这个呢?

更新我结束了卸载Apache和Phusion乘客,然后重新安装回来。 现在它运行良好。