我尝试使用their guide启动Redmine,但最终无法使用Passenger启动apache。错误日志:
[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 operationspassenger.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和
# find / -name PassengerWatchdog
/usr/lib/phusion-passenger/agents/PassengerWatchdog
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-4.0.5/agents/PassengerWatchdog问题出在哪里?
发布于 2013-06-07 03:40:24
您有两个Phusion Passenger安装。一个安装了YUM/APT,另一个安装了RubyGems。删除所有内容,然后从头开始安装Phusion Passenger。请参阅http://www.modrails.com/documentation/Users%20guide%20Apache.html#uninstalling
https://stackoverflow.com/questions/16968210
复制相似问题