Thread: problem running postmaster

problem running postmaster

From
"pw"
Date:
Hello,

I am having problems running postmaster.
I get the following error:

DEBUG:  invoking IpcMemoryCreate(size=1466368)
PANIC:  invalid checksum in control file


The postmaster then exits.

What control file is it talking about?
Is this a common error?

Thanks for any help

Peter


Re: problem running postmaster

From
Shridhar Daithankar
Date:
pw wrote:

> Hello,
>
> I am having problems running postmaster.
> I get the following error:
>
> DEBUG:  invoking IpcMemoryCreate(size=1466368)
> PANIC:  invalid checksum in control file

$PGDATA/pg_clog

Control files reside in there
>
>
> The postmaster then exits.
>
> What control file is it talking about?
> Is this a common error?

No this is not common. Was there a hard system crash and psotgresql data reside
on a non-journalling file system?

If yes, you are looking at an inconsistent database.

Please confirm.

  Shridhar


Re: problem running postmaster

From
Tom Lane
Date:
"pw" <p.willis@telus.net> writes:
> PANIC:  invalid checksum in control file

> What control file is it talking about?

$PGDATA/global/pg_control

> Is this a common error?

No; I don't think I've ever seen it reported from the field before.
How did you get into this state?

            regards, tom lane