Hi:
I've installed Passenger 4.0.45 on a new linux server running Ubuntu 12.04 LTS. I'm using rbenv to manage ruby versions. I first attempted to install Passenger using the APT repository, but for reasons I now can't recall, I also ended up also installing using Rubygems. This seems to have worked (I was prompted to select Ruby or Python, and I told at the end what lines to add to my apache2.conf file) but may well be the source of my current problems.
I've made the suggested apache2 config changes, and also followed the passenger instructions for deploying an app to a suburi.
Going to the ip address without the suburi gives the default apache2 page. Going to the ip address/suburi gives a 404 error, presumably because my file in sites-available is not being read correctly.
When I try to view passenger-status, I get the following message:
Version: 4.0.45
Date: 2014-06-26 ....
Instance: 2772
*** ERROR: You are not authorized to query the status... Please try again with 'sudo'.
When I try sudo passenger-status, I get:
ERROR: Phusion Passenger doesn't seem to be running.
The last few lines of /var/log/apache2/error.log say:
[ date... time... 2776/hash agents/Watchdog/Main.cpp:728 ]: All Phusion Passenger agents started!
[ date... time...] [notice] Apache/2.2.22 (Ubuntu) Phusion_Passenger/4.0.45 configured -- resuming normal operations
When I do a ps -ef | grep Passenger i see:
root 2776 2772 0 time ? PassengerWatchdog
root 2779 2776 0 time ? PassengerHelperAgent
nobody 2785 2776 0 time ? PassengerLoggingAgent
no sign of any spawn server...
I'd appreciate any advice for getting Passenger running, debugging my configuration files, etc.
Thanks very much!
Dean Richardson
Molex.com