Thread: initdb failure

initdb failure

From
"Kevin O'Gorman"
Date:
I'm just catching up to the tip of the current tree, and find
that I have a reported failure in initdb.  It seems to go through
(most of) the steps, and just reports failure.  I can thereafter
start a backend using an old RedHat script (which tries to run
initdb again but can't because the directory is not empty), and
it goes okay.

I've attached a capture of the initdb run.  There's not much to
go on there....

++ kevin


--
Kevin O'Gorman  (805) 650-6274  mailto:kogorman@pacbell.net
Permanent e-mail forwarder:  mailto:Kevin.O'Gorman.64@Alum.Dartmouth.org
At school: mailto:kogorman@cs.ucsb.edu
Web: http://www.cs.ucsb.edu/~kogorman/index.html
Web: http://trixie.kosman.via.ayuda.com/~kevin/index.html

"There is a freedom lying beyond circumstance,
derived from the direct intuition that life can
be grounded upon its absorption in what is
changeless amid change"
   -- Alfred North WhiteheadScript started on Thu Nov  9 10:20:28 2000
[root@glynnis bin]# su postgres
bash$ ./initdb -D /PG/pgsql-7.1/data
This database system will be initialized with username "postgres".
This user will own all the data files and must also own the server process.

Fixing permissions on existing directory /PG/pgsql-7.1/data
Creating directory /PG/pgsql-7.1/data/base
Creating directory /PG/pgsql-7.1/data/global
Creating directory /PG/pgsql-7.1/data/pg_xlog
Creating template database in /PG/pgsql-7.1/data/base/1
Creating global relations in /PG/pgsql-7.1/data/global

Enabling unlimited row width for system tables.
Creating view pg_user.
Creating view pg_rules.
Creating view pg_views.
Creating view pg_tables.
Creating view pg_indexes.
Loading pg_description.
Setting lastsysoid.

initdb failed.
Removing temp file /tmp/initdb.3495.
bash$ exit
[root@glynnis bin]#
Script done on Thu Nov  9 10:21:00 2000

Re: initdb failure

From
Tom Lane
Date:
"Kevin O'Gorman" <kogorman@pacbell.net> writes:
> I'm just catching up to the tip of the current tree, and find
> that I have a reported failure in initdb.

initdb works fine for me (as of CVS from about 11:30AM EST today).
Try running it with -d or -v or whatever the verbose-output option
is to get more info.
        regards, tom lane