简体   繁体   English

无法启动Phusion Passenger - 错误的根路径

[英]Unable to start the Phusion Passenger - wrong root path

I'm trying to start up Redmine using their guide but I end up being unable to start up apache with Passenger. 我正在尝试使用他们的向导启动Redmine但我最终无法启动Passenger的apache。 Errorl log: 错误日志:

[Thu Jun 06 19:56:01 2013] [notice] caught SIGTERM, shutting down
[Thu Jun 06 19:56:03 2013] [error] *** Passenger could not be initialized because of this error: Unable to start the Phusion Passenger watchdog because its executable (/usr/agents/PassengerWatchdog) does not exist. This probably means that your Phusion Passenger installation is broken or incomplete, or that your 'PassengerRoot' directive is set to the wrong value. Please reinstall Phusion Passenger or fix your 'PassengerRoot' directive, whichever is applicable.
[Thu Jun 06 19:56:03 2013] [error] *** Passenger could not be initialized because of this error: Unable to start the Phusion Passenger watchdog because its executable (/usr/agents/PassengerWatchdog) does not exist. This probably means that your Phusion Passenger installation is broken or incomplete, or that your 'PassengerRoot' directive is set to the wrong value. Please reinstall Phusion Passenger or fix your 'PassengerRoot' directive, whichever is applicable.
[Thu Jun 06 19:56:03 2013] [notice] Apache/2.2.22 (Debian) Phusion_Passenger/4.0.5 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations

passenger.load passenger.load

LoadModule passenger_module /usr/local/lib/ruby/gems/1.9.1/gems/passenger-4.0.5/libout/apache2/mod_passenger.so
PassengerRoot /usr/lib/phusion-passenger/
PassengerDefaultRuby /usr/local/bin/ruby/
PassengerDefaultUser www-data

And

# find / -name PassengerWatchdog
/usr/lib/phusion-passenger/agents/PassengerWatchdog
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-4.0.5/agents/PassengerWatchdog

Where is problem? 哪里有问题?

You have two Phusion Passenger installations. 你有两个Phusion Passenger装置。 One installed with YUM/APT, the other with RubyGems. 一个安装了YUM / APT,另一个安装了RubyGems。 Remove everything, then install Phusion Passenger from scratch. 删除所有内容,然后从头开始安装Phusion Passenger。 See http://www.modrails.com/documentation/Users%20guide%20Apache.html#uninstalling 请参阅http://www.modrails.com/documentation/Users%20guide%20Apache.html#uninstalling

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM