Re: initdb failure with Postgres 8.4.4

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: BRUSSER Michael <Michael(dot)BRUSSER(at)3ds(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: initdb failure with Postgres 8.4.4
Date: 2010-12-10 12:50:13
Message-ID: 4D022205.8070305@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/10/2010 07:32 AM, Robert Haas wrote:
> On Fri, Dec 10, 2010 at 4:08 AM, BRUSSER Michael
> <Michael(dot)BRUSSER(at)3ds(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vaibhav Kaushal 2010-12-10 12:52:43 Re: Anyone for SSDs?
Previous Message Robert Haas 2010-12-10 12:38:58 Re: Anyone for SSDs?