Re: BUG #6337: Startup Script

From: Martin Pitt <mpitt(at)debian(dot)org>
To: gabriel(dot)martinez(at)greencore(dot)co(dot)cr
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6337: Startup Script
Date: 2011-12-15 18:12:17
Message-ID: 20111215181217.GA3017@piware.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello Gabriel,

gabriel(dot)martinez(at)greencore(dot)co(dot)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)

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Holec, JPH Software 2011-12-15 20:40:47 user names & non-ASCII
Previous Message Alvaro Herrera 2011-12-15 18:01:52 Re: BUG #6337: Startup Script