Package: postgresql-common
Version: 114
Severity: normal

Hi, I sometimes get errors like the following:

/etc/init.d/postgresql restart
Restarting PostgreSQL 8.4 database server: main.
Restarting PostgreSQL 9.0 database server: mainThe PostgreSQL server failed to 
start. 
Please check the log output: ... failed!
 failed!

However, the 8.4 log showed:

2011-03-07 02:58:05 CST LOG:  database system was shut down at 2011-03-07 02:57:
28 CST
2011-03-07 02:58:05 CST LOG:  database system is ready to accept connections
2011-03-07 02:58:05 CST LOG:  autovacuum launcher started
2011-03-07 02:58:05 CST LOG:  incomplete startup packet

and the 9.0 log showed:

2011-03-07 02:58:56 CST LOG:  database system was shut down at 2011-03-07 02:42:
11 CST
2011-03-07 02:58:56 CST LOG:  database system is ready to accept connections
2011-03-07 02:58:56 CST LOG:  autovacuum launcher started

and both processes are running:

postgres  6127     1  6 02:57 ?        00:00:08 
/usr/lib/postgresql/8.4/bin/postgres -D /var/lib/postgresql/8.4/main -c 
config_file=/etc/postgresql/8.4/main/postgresql.conf
postgres  6167     1  8 02:58 ?        00:00:07 
/usr/lib/postgresql/9.0/bin/postgres -D /var/lib/postgresql/9.0/main -c 
config_file=/etc/postgresql/9.0/main/postgresql.conf

It appears as if sometimes the startup script returns incorrect information
about whether the startup failed or succeeded.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-rc7+ (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages postgresql-common depends on:
ii  adduser                       3.112+nmu2 add and remove users and groups
ii  debconf [debconf-2.0]         1.5.38     Debian configuration management sy
ii  lsb-base                      3.2-27     Linux Standard Base 3.2 init scrip
ii  postgresql-client-common      114        manager for multiple PostgreSQL cl
ii  procps                        1:3.2.8-10 /proc file system utilities
ii  ssl-cert                      1.0.28     simple debconf wrapper for OpenSSL

postgresql-common recommends no packages.

postgresql-common suggests no packages.

-- debconf information:
  postgresql-common/obsolete-major:
  postgresql-common/untransitioned:



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

Reply via email to