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