Bug #422
Problem With Nginx Phusion Passenger Module After Package Upgrade
Description
I encountered a problem after upgrading my administration node. I upgraded my system using:
pkg update && pkg upgrade
The packages installed successfully, however when I go to restart nginx I receive an error:
2014/07/14 12:16:15 [alert] 55487#0: Unable to start the Phusion Passenger watchdog because it encountered the following error during startup: Unable to start the Phusion Passenger helper agent: it seems to have crashed during startup for an unknown reason, with exit code 1 (-1: Unknown error)
The Fix¶
It turns out that when I upgraded I did not lock the nginx package and the upgrade mucked up the passenger module. To fix this I needed to reinstall nginx with passenger compiled in, like so:
portsnap fetch extract cd /usr/ports/www/rubygem-passenger make reinstall clean cd /usr/ports/www/nginx make config make reinstall clean
NOTE: Make sure to enable the Passenger module when running
make config
when compiling nginx