0

ガイドを使用して 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 operations

乗客.負荷

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

問題はどこですか?

4

1 に答える 1

2

Phusion Passenger が 2 つインストールされています。1 つは YUM/APT でインストールされ、もう 1 つは RubyGems でインストールされます。すべてを削除してから、Phusion Passenger を最初からインストールします。http://www.modrails.com/documentation/Users%20guide%20Apache.html#uninstallingを参照してください。

于 2013-06-06T19:40:24.143 に答える