Bug#672471: postgresql: apt-get upgrade fails while trying to restart postgres server

2012-05-11 Thread Fernando Fernandez
Package: postgresql
Version: 8.4.11-0squeeze1
Severity: critical
Justification: breaks unrelated software


The upgrade process failed on package postgres while restarting the server.
The error message was: 
The PostgreSQL server failed to start. Please check the log output: 
2012-05-11 11:13:33 WEST FATAL: could not open lock file 
/var/run/postgresql/.s.PGSQL.5432.lock: Permission denied

Same error appears whe trying to start the package by hand, running 
/etc/init.d/postgres start

Tried to chmod 777 /var/run/postgresql but permissions are reset when 
restarting the server. 
Permissions on /var/run/postgresql are:
drwxrwsr-x 2 postgres postgres 4096 May 11 10:21 /var/run/postgresql



-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages postgresql depends on:
pn  postgresql-8.4none (no description available)

postgresql recommends no packages.

postgresql suggests no packages.



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Processed: Re: Bug#672471: postgresql: apt-get upgrade fails while trying to restart postgres server

2012-05-11 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 severity 672471 important
Bug #672471 [postgresql] postgresql: apt-get upgrade fails while trying to 
restart postgres server
Severity set to 'important' from 'critical'
 tag 672471 unreproducible
Bug #672471 [postgresql] postgresql: apt-get upgrade fails while trying to 
restart postgres server
Added tag(s) unreproducible.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
672471: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672471
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#672471: postgresql: apt-get upgrade fails while trying to restart postgres server

2012-05-11 Thread Christoph Berg
severity 672471 important
tag 672471 unreproducible
thanks

Hi,

Fernando Fernandez supo...@moredata.pt schrieb:
 chmod 777 /var/run/postgresql but permissions are reset when
restarting the server. 
Permissions on /var/run/postgresql are:
   drwxrwsr-x 2 postgres postgres 4096 May 11 10:21 /var/run/postgresql

The permissions are correct here. How did the files in the directory look? Were 
/var and /var/run accessible? Was the passwd file correct for the postgresql 
user?

Christoph



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org