gpt4 book ai didi

ruby - 重启 nginx : nginx: [alert] Unable to start the Phusion Passenger watchdog because its executable

转载 作者:太空宇宙 更新时间:2023-11-03 16:52:32 30 4
gpt4 key购买 nike

我无法启动我的服务器。收到此错误:

  Restarting nginx: nginx: [alert] Unable to start the Phusion Passenger watchdog because its executable (/usr/local/rvm/gems/ruby-2.0.0-p0/gems/passenger-4.0.0.rc4/agents/PassengerWatchdog) does not exist. This probably means that your Phusion Passenger installation is broken or incomplete, or that your 'passenger_root' directive is set to the wrong value. Please reinstall Phusion Passenger or fix your 'passenger_root' directive, whichever is applicable. (-1: Unknown error)

其实我的rvm list o/p是

rvm rubies

=> ruby-1.9.3-p448 [ i686 ]
* ruby-2.0.0-p0 [ i686 ]

# => - current
# =* - current && default
# * - default

对于当前的应用程序,我使用的是 ruby​​ 1.9.3 和 rails 3.2.12。但是我的乘客正在使用 ruby​​-2.0.0-p0 而不是 ruby​​-1.9.3

谁能帮帮我。我的服务器宕机了:-(

最佳答案

Passenger通过passenger_ruby获取你在nginx.conf文件中设置的内容,例如:

passenger_root /home/dev/.rvm/gems/ruby-1.9.3-p448/gems/passenger-4.0.5;
passenger_ruby /home/dev/.rvm/wrappers/ruby-1.9.3-p448/ruby;

关于ruby - 重启 nginx : nginx: [alert] Unable to start the Phusion Passenger watchdog because its executable,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17761225/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com