Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group