Re: No se puede hacer Start a la Bd Postgres

From: Mario Gonzalez <gonzalemario(at)gmail(dot)com>
To: Nicolas Recabarren <nrecabarren(at)adexus(dot)cl>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: No se puede hacer Start a la Bd Postgres
Date: 2005-10-27 02:27:33
Message-ID: 2065a6cf0510261927hd2d8817r@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On 26/10/05, Nicolas Recabarren <nrecabarren(at)adexus(dot)cl> wrote:
> Por algun motivo no uedo levantar el servicio de postgres, descibo a
> continuacion el porceso y los mensajes
>
> Desarrollo:/var/lib/postgres# /etc/init.d/postgresql start
> Starting PostgreSQL database server: postmaster(FAILED)
> ERROR: cat: /var/lib/postgres/data/postmaster.pid: Permission denied
> pg_ctl: Another postmaster may be running. Trying to start postmaster
> anyway.

Creo que la salida del error nos da la respuesta.

1) Permission denied: debes ser super usuario para levantar un
servicio en un *nix
2) pg_ctl: Another postmaster may be running: El postgres ya esta
corriendo en tu maquina.

Me inclino mas por el punto 1.

> sed: can't read /var/lib/postgres/data/postmaster.pid: Permission denied
> ERROR: PostgreSQL postmaster did not start because of an unknown reason.
> PostgreSQL's init script (/etc/init.d/postgresql) attempted
> to start the postmaster, however, this failed because of an unknown
> reason.
>
> This should not happen and is a serious problem. Please examine the
> situation (please take a look at the log files). If you know the
> reason why it failed and, then please file a bug report to Debian
> (unless the reason is something obvious like a full disk).
>
> Debian PostgreSQL
> **************************************
>
> eso es, los permisos de postmaster son -rwxrwxrwx 1 postgres postgres 47
> Oct 24 11:44 postmaster.pid
>
ok, si esta el archivo es que el postgres esta corriendo actualmente
o que hubo un mal apagado de la maquina y ese archivo quedo ahi. Si es
lo ultimo solo borralo.

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Alvaro Herrera 2005-10-27 03:08:27 Re: No se puede hacer Start a la Bd Postgres
Previous Message Juan Pablo Yañez 2005-10-27 02:04:56 get diagnostics row_count y cursores