BUG #6337: Startup Script

Started by Nonameover 14 years ago3 messagesbugs
Jump to latest
#1Noname
gabriel.martinez@greencore.co.cr

The following bug has been logged on the website:

Bug reference: 6337
Logged by: Gabriel Martínez
Email address: gabriel.martinez@greencore.co.cr
PostgreSQL version: 8.4.9
Operating system: Ubuntu 10.04.3 LTS
Description:

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.

Searching in Internet, I found this:
http://ubuntuforums.org/showpost.php?p=5663743&postcount=9

So I changed the startup script and was possible to start the service.

Has anyone else reported this issue?.

#2Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Noname (#1)
Re: BUG #6337: Startup Script

Excerpts from gabriel.martinez's message of jue dic 15 12:02:53 -0300 2011:

The following bug has been logged on the website:

Bug reference: 6337
Logged by: Gabriel Martínez
Email address: gabriel.martinez@greencore.co.cr
PostgreSQL version: 8.4.9
Operating system: Ubuntu 10.04.3 LTS
Description:

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 see no such file in my /etc/init.d. Mine is called simply
"postgresql" (this is Debian, not Ubuntu, but the official packages come
from the same guy in both cases). Are you sure you're using the right
script? What repo does the package come from?

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

#3Martin Pitt
mpitt@debian.org
In reply to: Noname (#1)
Re: BUG #6337: Startup Script

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)