Обсуждение: pg_control error!

Поиск
Список
Период
Сортировка

pg_control error!

От
Дата:
   Hi all!
   I'm using postgresql7.0.2
   I did
       ipcclean
   and then
       pg_ctl stop
   then I tried to start up again the DB server as usual
       nohup postmaster -i > pgserver.log 2>&1 &
   I got this error:
   FATAL 2: Read("/usr/local/pgsql/data/pg_control") failed:2
   FATAL 2: Read("/usr/local/pgsql/data/pg_control") failed:2
   Startup failed - abort.

   Thank you for the help,
   bye.
   Rocael

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

Re: pg_control error!

От
Tom Lane
Дата:
<rocael@usa.net> writes:
>    I got this error:
>    FATAL 2: Read("/usr/local/pgsql/data/pg_control") failed:2

This looks like the symptom of an incompatible BLCKSZ setting.
(There's supposed to be a more graceful error message about that,
but it doesn't work quite right in 7.0.* :-(.)  Were you trying to
change BLCKSZ?  If so you need to initdb.

            regards, tom lane