Me parece que você fechou a janela pela qual iniciou o serviço com o
"pg_ctl start...".

Isso ocorreu comigo quando estava testando a versão binária do postgres 8.4 no
windows alguns dias atrás.

Como resolvi:
Quando fui encerrar o banco, abri uma segunda janela e
executei o comando para parar o postgres com o comando "pg_ctl stop..."

Se você conseguir tornar o postgres um serviço do windows,
provavelmente não terá este problema.

A versão do instalável do postgres 8.4 não te serve? Acho que com o
instalador você terá mais sucesso.

http://www.enterprisedb.com/products/pgdownload.do




2009/9/15 Eloi Ribeiro <eloi.ribe...@gmail.com>:
>
>
> 2009/9/15 André Volpato <andre.volp...@ecomtecnologia.com.br>
>>
>> Eloi Ribeiro escreveu:
>>
>> Olá a toda a lista,
>>
>> Tenho um computador com windows (xp prof. ver. 2002 com SP3), PostgreSQL
>> 8.3.5-2 e PostGIS 1.3.5, este computador estava a realizar uma tarefa (de
>> longa duração) de análise em PostgreSQL+PostGIS quando abruptamente o
>> computador foi apagado, ao reiniciar o computador o serviço não arrancou
>> registando no log as seguintes mensagens:
>>
>> 2009-09-15 08:34:38 CEST LOG:  database system was interrupted while in
>> recovery at 2009-09-14 14:06:32 CEST
>> 2009-09-15 08:34:38 CEST HINT:  This probably means that some data is
>> corrupted and you will have to use the last backup for recovery.
>> 2009-09-15 08:34:38 CEST LOG:  database system was not properly shut down;
>> automatic recovery in progress
>> 2009-09-15 08:34:38 CEST LOG:  redo starts at 67/C5C956D8
>> 2009-09-15 08:34:38 CEST LOG:  unexpected pageaddr 67/BDFD0000 in log file
>> 103, segment 197, offset 16580608
>> 2009-09-15 08:34:38 CEST LOG:  redo done at 67/C5FCFFB0
>> 2009-09-15 08:34:38 CEST FATAL:  index "9065509" contains unexpected zero
>> page at block 0
>> 2009-09-15 08:34:38 CEST HINT:  Please REINDEX it.
>> 2009-09-15 08:34:38 CEST LOG:  startup process (PID 3476) exited with exit
>> code 1
>> 2009-09-15 08:34:38 CEST LOG:  aborting startup due to startup process
>> failure
>> (...)
>>
>> Você tentou rodar um REINDEX, como está escrito no log ?
>>
>> []´s, ACV
>
> Não o tinha tentado. Suponho que é assim:
> postgres --single -D "C:\Archivos de programa\PostgreSQL\8.3\data" -P
> nome_da_bd
>
> e depois seria:
> REINDEX SYSTEM nome_da_bd
>
> Mas não consigo arrancar o postmaster, dá-me a seguinte mensagem:
>
> "Execution of PostgreSQL by a user with administrative permissions is not
> permitted.
> The server must be started under an unprivileged user ID to prevent possible
> system security compromises. See the documentation for more information on
> how to properly start thr server."
>
> Reinicio a sessão com um utilizador não administrador, e tenho o seguinte:
> "could  not create lock file "postmaster.pid": Permission denied"
>
> Alguma pista?
>
> eloi
>
> _______________________________________________
> pgbr-geral mailing list
> pgbr-geral@listas.postgresql.org.br
> https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
>
>



-- 
Tarcisio F. Sassara
_______________________________________________
pgbr-geral mailing list
pgbr-geral@listas.postgresql.org.br
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a