[DRE-maint] [Bug 1026601] Re: passenger-status no longer works after upgrade to precise

Michael Mönch 1026601 at bugs.launchpad.net
Wed Oct 24 12:52:45 UTC 2012


The problem seems to be with the PID that is used for the temp-
directory:

ps:
root      7558     1  0 14:35 ?        00:00:00 /usr/sbin/apache2 -k start
root      7572  7558  0 14:35 ?        00:00:00 /usr/lib/phusion_passenger/ApplicationPoolServerExecutable 0 /usr/lib/phusion_passenger/passenger-spawn-server  /usr/bin/ruby  /tmp/passenger.7538

The directory should be /tmp/passenger.7558 (the PID of the Apache main
process) not 7538. If you rename the directory you can successfully
execute the passenger-status program and it will return the correct
information. But I don't know if this will break the application at some
other point.

-- 
You received this bug notification because you are subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1026601

Title:
  passenger-status no longer works after upgrade to precise

Status in “passenger” package in Ubuntu:
  Confirmed

Bug description:
  After upgrading from Lucid to Precise, passenger itself is working,
  but passenger-status no longer works at all:

  | root at redcurrant:~# passenger-status 
  | *** Cleaning stale folder /tmp/passenger.904
  | ERROR: Phusion Passenger doesn't seem to be running.
  | root at redcurrant:~# passenger-status 904
  | /usr/sbin/passenger-status:43:in `show_status': undefined method `status' for nil:NilClass (NoMethodError)
  |         from /usr/sbin/passenger-status:121:in `start'
  |         from /usr/sbin/passenger-status:125
  | root at redcurrant:~# ls -lR /tmp/passenger.904/
  | /tmp/passenger.904/:
  | total 4
  | d-ws-wx-wx 2 puppet puppet 4096 Jul 19 12:58 backends
  | 
  | /tmp/passenger.904/backends:
  | total 0
  | srw------- 1 root root 0 Jul 19 12:58 backend.trololololololololololololololololololololololololololololololololololo
  | srw------- 1 root root 0 Jul 19 12:58 backend.trololololololololololololololololololololololololololololololololololo
  | srw------- 1 root root 0 Jul 19 12:58 backend.trololololololololololololololololololololololololololololololololololo
  | srw------- 1 root root 0 Jul 19 12:58 backend.trololololololololololololololololololololololololololololololololololo
  | root at redcurrant:~# 

  passenger-memory-status also doesn't appear to be working as expected.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/passenger/+bug/1026601/+subscriptions





More information about the Pkg-ruby-extras-maintainers mailing list