Re: BUG #6337: Startup Script - Mailing list pgsql-bugs

From Martin Pitt
Subject Re: BUG #6337: Startup Script
Date
Msg-id 20111215181217.GA3017@piware.de
Whole thread Raw
In response to BUG #6337: Startup Script  (gabriel.martinez@greencore.co.cr)
List pgsql-bugs
Hello Gabriel,

gabriel.martinez@greencore.co.cr [2011-12-15 15:02 +0000]:
> After the installation of postgresql (sudo apt-get install postgresql) isn't
> possible to start the service (sudo /etc/init.d/postgresql-8.4 start),
> simply doesn't happen anything and there is nothing in the logs.

I suppose the package installation did not create a default "8.4/main"
cluster. I guess "pg_lsclusters" is empty? Please create one with
"sudo pg_createcluster 8.4 main --start". (See
/usr/share/doc/postgresql-common/README.Debian.gz)

This happens if there is an already existing configuration for 8.4, or
the package was installed before. The default cluster only gets
created if this is more or less a "clean" install.

Martin
--
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #6337: Startup Script
Next
From: Hans-Henrik Fuxelius
Date:
Subject: Re: BUG #6340: to_timestamp() miscalculates