Re: fallido reinicio postgresql - Disco Duro 100% lleno-base datos corrupta

From: tgutierrez(at)unipamplona(dot)edu(dot)co
To: "Alvaro Herrera" <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: tgutierrez(at)unipamplona(dot)edu(dot)co, pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: fallido reinicio postgresql - Disco Duro 100% lleno-base datos corrupta
Date: 2004-11-02 00:54:47
Message-ID: 1210.64.76.58.163.1099356887.squirrel@correo.unipamplona.edu.co
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Saludos

Monte la base y el error que sale es el siguiente:

nov 1 19:43:13 distup-01 su(pam_unix)[4496]: session opened for user
postgres by (uid=0)
nov 1 19:43:13 distup-01 su(pam_unix)[4496]: session closed for user
postgres
nov 1 19:45:25 distup-01 su(pam_unix)[4544]: session opened for user
postgres by (uid=0)
nov 1 19:45:25 distup-01 su(pam_unix)[4544]: session closed for user
postgres

realizandolo de otra forma el iniciao del motor:

[root(at)distup-01 log]# initdb -D /var/database/pgsql
initdb: cannot be run as root
Please log in (using, e.g., "su") as the (unprivileged) user that will
own the server process.
[root(at)distup-01 log]# su postgres
bash-2.05b$ initdb -D /var/lib/pgsql/data
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale es_ES.UTF-8.

initdb: directory "/var/lib/pgsql/data" exists but is not empty
If you want to create a new database system, either remove or empty
the directory "/var/lib/pgsql/data" or run initdb with an argument other than
"/var/lib/pgsql/data".

Gracias por toda la ayuda que me puedan brindar

Tania

> On Sat, Oct 30, 2004 at 11:24:13AM -0500, tgutierrez(at)unipamplona(dot)edu(dot)co
> wrote:
>
>> > Envia los mensajes de error que arroja. A ciegas no puedo ayudarte.
>>
>> reinicio el postgresql de la siguiente forma:
>> sh postgresql restart
>> el mensaje es solo fallida
>>
>> en el archivo messages muestra:
>
> No nos estamos entendiendo ... no necesito los mensajes del sistema
> operativo sino los de Postgres. Debes tenerlo configurado para que se
> registren ya sea en syslog o directamente en un archivo. Por favor
> revisa la documentacion para determinar como hacer esto.
>

> --
> Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
> "La soledad es compañía"
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: ¿Has buscado en los archivos de las listas de correo?
>
> http://archives.postgresql.org
>

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Antonio Tellez Flores 2004-11-02 01:20:13 Re: fallido reinicio postgresql - Disco Duro 100% lleno-base datos corrupta
Previous Message Leonel Nunez 2004-11-01 18:57:03 Re: [NULL] Insert / UpDate de campo null