On Sat, Feb 28, 2009 at 12:55:30PM +0100, Martin Pitt wrote:
> Bastian Blank [2009-02-20 15:32 +0100]:
> > | Creating new cluster (configuration: /etc/postgresql/8.3/main, data: 
> > /var/lib/postgresql/8.3/main)...
> > | Moving configuration file /var/lib/postgresql/8.3/main/postgresql.conf to 
> > /etc/postgresql/8.3/main...
> > | Moving configuration file /var/lib/postgresql/8.3/main/pg_hba.conf to 
> > /etc/postgresql/8.3/main...
> > | Moving configuration file /var/lib/postgresql/8.3/main/pg_ident.conf to 
> > /etc/postgresql/8.3/main...
> > | Configuring postgresql.conf to use port 5433...
> > | Starting PostgreSQL 8.3 database server: mainThe PostgreSQL server failed 
> > to start. Please check the log output.
> > |  failed!
> 
> So you are saying that this was an undetected port conflict? Do you
> already have another cluster running on 5433 which wasn't detected?
> What does pg_lsclusters show for you?

It was a much simpler error in the end: localhost was unresolvable.

> > | invoke-rc.d: initscript postgresql-8.3, action "start" failed.
> > | dpkg: error processing postgresql-8.3 (--configure):
> > |  subprocess post-installation script returned error exit status 1
> > | Errors were encountered while processing:
> > |  postgresql-8.3
> 
> I think the Debian Policy mandates that postinst fails if the init
> script fails, so that the failure doesn't go unnoticed. Do you think
> it should just go on?

This was the initial installation of the package. It forcibly creates a
cluster where the config is not known to work yet. And it is not easy
to fix this until the package is recorded as installed.

Bastian

-- 
Respect is a rational process
                -- McCoy, "The Galileo Seven", stardate 2822.3



-- 
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