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

Problems running initdb on Linux

From: Ralph Schwarten <easralph(at)eldritch(dot)int(dot)gu(dot)edu(dot)au>
To: undisclosed-recipients:;
Subject: Problems running initdb on Linux
Date: 1999-04-14 06:35:06
Message-ID: 199904140635.QAA02464@eldritch.int.gu.edu.au (view raw or flat)
Thread:
Lists: pgsql-ports
Name: Ralph Schwarten
Institution: Griffith University Queensland Australia
OS: Linux ver 2.0.32 Redhat release 5.0
Postgresql Ver 6.4.2

Problem:  The software compiles/installs without error however falls over when
we try and run initdb.

We have checked and re-checked permissions, paths and environment variables.
This is the error:

Amopen: relation pg_database. attrsize 61
initdb: could not log template database

The error returned at the command line is:

Running postgres -boot -C -F -D/usr/local/pgsql/data -Q template1
	syntax error 2305: parse error

The initdb script then falls over with:

Too large allocation request("!(0 < (size) && (size) <= (0xfffffff)):size=0 [0x0]", File: "mcxt.c, line: 232)
!(0 < (size && (size) <= (0xfffffff)) (0)

and then dumps core.

Any help on this would be greatly appreciated as it is for a student project 
for local industry.

Thanks

Ralph Schwarten
School of IT
Griffith University
Gold Coast
Australia.

pgsql-ports by date

Next:From: Pedro J. LoboDate: 1999-04-14 07:56:56
Subject: Re: [PORTS] Port Bug Report: syntax errors in spinlocks (s_lock.h)
Previous:From: Ralph SchwartenDate: 1999-04-14 05:43:22
Subject: Problems running initdb on Linux

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