Re: Question on initdb and subsequent start

From: Manoj Patwardhan <manoj(at)expersis(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Question on initdb and subsequent start
Date: 2003-04-09 09:34:58
Message-ID: BAB96182.8D4%manoj@expersis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>> I get the following message:
>> FATAL: invalid value for option 'LC_TIME': 'en'
>
> Do these things:
>
> (a) Complain to Apple about the broken state of their locale support.
> They should not be setting default locale values that their own library
> doesn't cope with.
>
> (b) Re-run initdb with LC_ALL set to C. If you're using tcsh I think
> this goes like
> setenv LC_ALL C
> initdb
> Watch initdb's output to make sure it acknowledges that all locale
> settings are C.
>
> regards, tom lane

Tom,

Thank you for the input.

Actually, I figured out later that I need to always specify my directory in
the initdb call with the name "data". Any other name causes this problem.

Originally I was issuing the following command:
/usr/local/bin/initdb -D /Users/Shared/pgdata

When I changed that to:
/usr/local/bin/initdb -D /Users/Shared/data

it worked fine. Pg_ctl was then able to start up postmaster without any
problems. So, it appears that PostgreSQL requires the name of the data
directory to be "data". This is probably obvious to most people but I am new
to PostgreSQL and didn't figure that out from the documentation.

Thanks for your response.

Regards,

Manoj Patwardhan

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ted Taylor 2003-04-09 09:58:36 Re: Live Link to Oracle?
Previous Message Mark Kirkwood 2003-04-09 08:46:25 Re: Instalation problem