Bug #422

Problem With Nginx Phusion Passenger Module After Package Upgrade

Added by Daniel Curtis almost 10 years ago. Updated over 9 years ago.

Web Server
Target version:
Start date:
Due date:
% Done:


Estimated time:
1.00 h
Spent time:


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


Updated by Daniel Curtis almost 10 years ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

Updated by Daniel Curtis over 9 years ago

  • Project changed from 90 to FreeBSD Administration
  • Category set to Web Server
  • Target version set to FreeBSD 9

Also available in: Atom PDF