简体   繁体   中英

Cant start nginx with passenger

i have nginx compiled with passenger, and i am trying to start it, i get the following error:

Starting nginx: nginx: [alert] Unable to start the Phusion Passenger watchdog because its executable (/home/trusteer/.rvm/gems/ruby-1.9.3-p392/gems/passenger-3.0.19/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)

I have the passenger gem installed, but the agents folder is indeed missing, what could be the reason for that ? I have this gem installed in other machine (i didnt install it there, its old), and i see that the gem include the agents directory, and its the same gem version (3.0.19).

what could be the reason for this issue ?

在Phusion Passenger 4中,目录结构已更改。很有可能,您的Nginx是为Phusion Passenger 3编译的。Nginx 必须为passenger_root指向的相同版本的Phusion Passenger编译。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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