Project

General

Profile

Bug #422

Problem With Nginx Phusion Passenger Module After Package Upgrade

Added by Daniel Curtis about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Server
Target version:
Start date:
07/14/2014
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:

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

History

#1 Updated by Daniel Curtis about 6 years ago

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

#2 Updated by Daniel Curtis over 5 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