Skip site navigation (1) Skip section navigation (2)

7.3.5 initdb failure on Irix 6.5.18

From: Craig Ruff <cruff(at)ucar(dot)edu>
To: pgsql-bugs(at)postgresql(dot)org
Subject: 7.3.5 initdb failure on Irix 6.5.18
Date: 2004-01-15 18:26:04
Message-ID: 20040115182604.GA14425@ucar.edu (view raw or flat)
Thread:
Lists: pgsql-bugs
I'm trying to use 7.3.5 (for an upgrade of 7.3.2) on Irix 6.5.18 using the
MIPSpro 7.4.1 compiler.  Everything compiles up ok, but 'make check' fails
at the "enabling unlimited row size for system tables..." step with
a core dump of postgres.

The failure is at /backend/access/transam/xlog.c:2544 with an
"unable to locate a valid checkpoint record" panic.  This happens
for both 7.3.4 and 7.3.5, either with -O or -g as the CFLAGS value.

Manually running the command being used by initdb:

	tmp_check/install/stmgr/pgsql-7.3.5/bin/postgres -F \
		-D/stmgr/src/postgresql-7.3.5/src/test/regress/data -O \
		-c search_path=pg_catalog template1

gives:

	LOG:  database system was shut down at 2004-01-15 11:20:44 MST
	LOG:  ReadRecord: invalid magic number 0000 in log file 0, segment 0, offset 32768
	LOG:  invalid primary checkpoint record
	LOG:  ReadRecord: record with zero length at 0/50
	LOG:  invalid secondary checkpoint record
	PANIC:  unable to locate a valid checkpoint record


Interestingly, using a copy of an existing database created by the 7.3.2
installation on the same system works fine.

Has anyone fixed this yet?  If not, does anyone have hints that I can
pursue since I have the source compiled up with debugging enabled?

-- 

Craig Ruff      	NCAR			cruff(at)ucar(dot)edu
(303) 497-1211  	P.O. Box 3000
			Boulder, CO  80307

Responses

pgsql-bugs by date

Next:From: Dennis BjorklundDate: 2004-01-15 21:09:45
Subject: Re: NULL in arrays
Previous:From: Joe ConwayDate: 2004-01-15 18:21:38
Subject: Re: NULL in arrays

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group