Failure controlling PG 9.1 service on Ubuntu 10.04 32-bit

Started by Jack Christensenover 14 years ago3 messagesgeneral
Jump to latest
#1Jack Christensen
jackc@hylesanderson.edu

Just upgraded a machine from PostgreSQL 9.0 to 9.1. I uninstalled the
old version then installed the new one.

Whenever I try to run a service command to start, stop, or restart the
server it fails.

jackc@lizard:~$ sudo service postgresql stop
* Stopping PostgreSQL 9.1 database server
* Error: Could not open /proc/2193/comm
[fail]

It seems to be happening in /usr/share/postgresql-common/PgCommon.pm:542

PostgreSQL is actually running fine, but the only way I can make any
changes is to reboot the server (or kill all the postgres processes I
suppose).

--
Jack Christensen
jackc@hylesanderson.edu

#2Craig Ringer
craig@2ndquadrant.com
In reply to: Jack Christensen (#1)
Re: Failure controlling PG 9.1 service on Ubuntu 10.04 32-bit

On 10/08/2011 02:23 AM, Jack Christensen wrote:

Just upgraded a machine from PostgreSQL 9.0 to 9.1. I uninstalled the
old version then installed the new one.

Whenever I try to run a service command to start, stop, or restart the
server it fails.

jackc@lizard:~$ sudo service postgresql stop
* Stopping PostgreSQL 9.1 database server
* Error: Could not open /proc/2193/comm
[fail]

It seems to be happening in /usr/share/postgresql-common/PgCommon.pm:542

The Upstart scripts and packaging are part of Ubuntu and maintained
separately to PostgreSQL. I suggest you file a bug on Launchpad,
providing as much detail as you can to assist in identifying why the
issue arose.

--
Craig Ringer

#3Jack Christensen
jackc@hylesanderson.edu
In reply to: Craig Ringer (#2)
Re: Failure controlling PG 9.1 service on Ubuntu 10.04 32-bit

On 10/8/2011 1:21 AM, Craig Ringer wrote:

On 10/08/2011 02:23 AM, Jack Christensen wrote:

Just upgraded a machine from PostgreSQL 9.0 to 9.1. I uninstalled the
old version then installed the new one.

Whenever I try to run a service command to start, stop, or restart the
server it fails.

jackc@lizard:~$ sudo service postgresql stop
* Stopping PostgreSQL 9.1 database server
* Error: Could not open /proc/2193/comm
[fail]

It seems to be happening in /usr/share/postgresql-common/PgCommon.pm:542

The Upstart scripts and packaging are part of Ubuntu and maintained
separately to PostgreSQL. I suggest you file a bug on Launchpad,
providing as much detail as you can to assist in identifying why the
issue arose.

It looks like you were right. There was another update released over the
weekend that resolved the problem.

--
Craig Ringer

--
Jack Christensen
jackc@hylesanderson.edu