Your message dated Sun, 6 Jul 2008 18:13:26 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#489522: postgresql-8.3: old cluster fails to start
after upgrade
has caused the Debian Bug report #489522,
regarding postgresql-8.3: old cluster fails to start after upgrade
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
489522: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=489522
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: postgresql-8.3
Version: 8.3.3-1~bpo40+1
Severity: normal
Hi,
I just upgraded from postgresql-8.2 to postgresql-8.3, and now note that
the old cluster can't be started anymore, or at least, not using the
init script. The problem lies in this statement:
/usr/share/postgresql-common/init.d-functions, function do_ctl_all(),
on line 28:
[ "$start" = "auto" ] || continue
On upgrade, the start.conf of the old cluster is set to "manual", which
causes the actual starting code of this function to be bypassed.
Kind regards,
--Toni++
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (900, 'stable'), (500, 'proposed-updates'), (500, 'unstable'),
(500, 'testing')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-etchnhalf.1-amd64
Locale: LANG=de_DE.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Versions of packages postgresql-8.3 depends on:
ii lib 2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii lib 1.39+1.40-WIP-2006.11.14+dfsg-2etch1 common error description library
ii lib 1.4.4-7etch5 MIT Kerberos runtime libraries
ii lib 2.1.30-13.3 OpenLDAP libraries
ii lib 0.79-5 Pluggable Authentication Modules l
ii lib 8.3.3-1~bpo40+1 PostgreSQL C client library
ii lib 0.9.8c-4etch3 SSL shared libraries
ii lib 2.6.27.dfsg-2 GNOME XML library
ii pos 8.3.3-1~bpo40+1 front-end programs for PostgreSQL
ii pos 88~bpo40+1 PostgreSQL database-cluster manage
ii tzd 2007j-1etch1 Time Zone and Daylight Saving Time
postgresql-8.3 recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi Toni,
Toni Mueller [2008-07-06 17:19 +0200]:
> I just upgraded from postgresql-8.2 to postgresql-8.3, and now note that
> the old cluster can't be started anymore, or at least, not using the
> init script. The problem lies in this statement:
>
> /usr/share/postgresql-common/init.d-functions, function do_ctl_all(),
> on line 28:
>
> [ "$start" = "auto" ] || continue
>
>
> On upgrade, the start.conf of the old cluster is set to "manual", which
> causes the actual starting code of this function to be bypassed.
This is actually deliberate, see man pg_upgradecluster. If you upgrade
a cluster to a new version, the new one gets the old port, the old one
is moved to an unused port and set to manual mode, to avoid starting
both the old and the new one automatically (to prevent
inconsistencies). As the manpage points out, after the upgrade you
should check whether the new cluster works, and if so, remove the old
one; if not, you can pg_dropcluster the new one (8.3) and start all
over again.
Thanks,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
signature.asc
Description: Digital signature
--- End Message ---