Re: initdb failure with Postgres 8.4.4 - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: initdb failure with Postgres 8.4.4
Date
Msg-id 4D022205.8070305@dunslane.net
Whole thread Raw
In response to Re: initdb failure with Postgres 8.4.4  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: initdb failure with Postgres 8.4.4  ("BRUSSER Michael" <Michael.BRUSSER@3ds.com>)
List pgsql-hackers

On 12/10/2010 07:32 AM, Robert Haas wrote:
> On Fri, Dec 10, 2010 at 4:08 AM, BRUSSER Michael
> <Michael.BRUSSER@3ds.com>  wrote:
>> - initdb:
>> initdb  -D  /home/<local_path>/pgdata   -L   /home/<local_path>/share -E UTF8 --locale=C  \
>>   -d  2>  log2>  log1
>>
>> log1 ends with line
>>   creating template1 database in /home/<local_path>/pgdata/base/1 ...
>>
>> In log2 I got the same errors as I mentioned earlier:
>>   LOG:  could not open directory "/home/<build-path>/.../share/timezone": No such file or directory
>> ... ...
> Does it really have a pathname with three dots here?
>
> I'd have more confidence we knew what we were looking at if you sent
> the actual log, rather than an edited version of the lines you think
> are most important.
>

And why the heck use initdb's -L? initdb knows quite well where to get 
its files from, if you haven't mucked up the installation. I don't think 
I've ever seen a case in production where it's been necessary.

cheers

andrew


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Anyone for SSDs?
Next
From: Alvaro Herrera
Date:
Subject: Re: BufFreelistLock