Re: Initdb panic: invalid record offset at 0/0 creating template1] - Mailing list pgsql-general

From Tom Lane
Subject Re: Initdb panic: invalid record offset at 0/0 creating template1]
Date
Msg-id 17043.1137768964@sss.pgh.pa.us
Whole thread Raw
In response to Initdb panic: invalid record offset at 0/0 creating template1]  (DANTE ALEXANDRA <ALEXANDRA.DANTE@BULL.NET>)
Responses Re: Initdb panic: invalid record offset at 0/0 creating  (DANTE ALEXANDRA <ALEXANDRA.DANTE@BULL.NET>)
List pgsql-general
DANTE ALEXANDRA <ALEXANDRA.DANTE@BULL.NET> writes:
> we recompiled and built an RPM on IA64, release of postgresql : 8.1.1,
> on RHEL4 update 2,
> the installation of the rpm seem to be good,
> we install with --nodeps , and we indicate the path for the library's
> /opt/intel_cc_80/lib
> but when trying to init with the user account "pg_811",
> it fall in panic,

Whose RPM did you use, and did you use any special options?  Why did
you feel it necessary to use --nodeps?

> DEBUG:  invoking IpcMemoryCreate(size=11083776)
> LOG:  database system was shut down at 2006-01-20 07:13:57 CET
> LOG:  invalid primary checkpoint link in control file
> PANIC:  invalid record offset at 0/0
> child process was terminated by signal 6

Hm, I wonder what's getting written into the files ... would you run
initdb with --noclean and then post the results of
    * pg_controldata $PGDATA
    * od -x $PGDATA/pg_xlog/000000010000000000000000
(I'm assuming that the file is there and od won't produce much output
... if it comes to megabytes don't post it ...)

            regards, tom lane

pgsql-general by date:

Previous
From: Neil Brandt
Date:
Subject: Re: mac os x compile failure
Next
From: "Matthew T. O'Connor"
Date:
Subject: Re: autovacuum and temporary tables