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

Re: initdb: The password file was not generated.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Erik Rijkers" <er(at)xs4all(dot)nl>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: initdb: The password file was not generated.
Date: 2009-09-03 01:41:40
Message-ID: 5387.1251942100@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
I wrote:
> "Erik Rijkers" <er(at)xs4all(dot)nl> writes:
>> While test building from CVS head on fedora 10 (also on fedora 6), I get:
>> initializing pg_authid ... ok
>> setting password ... ok
>> initdb: The password file was not generated. Please report this problem.
>> initdb: removing data directory "/home/super/pg_stuff/pg_installations/pgsql.cvs_vanilla/data"

> [ blink... ]  initdb is looking for the flat password file.  Which is
> not there anymore.  I guess the real question is not why it fails for
> you, but why it works for anyone else!?  Will investigate.  In the
> meantime, just dike out that test in initdb.c...

Ah: the answer is that that test is only made when --pwfile or
--pwprompt is specified.  I guess you're the first one to try those
since the no-flatfiles patch went in.  Thanks for reporting;
fix is committed.

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Itagaki TakahiroDate: 2009-09-03 01:52:09
Subject: Triggers on columns
Previous:From: Josh BerkusDate: 2009-09-03 01:31:29
Subject: Re: Schedule for 8.5 Development

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