From: | "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com> |
---|---|
To: | madhu(dot)harchandani(at)wipro(dot)com |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: pg_ctl problem |
Date: | 2008-03-04 11:19:35 |
Message-ID: | 65937bea0803040319j63835669t42ad59609fb5f55a@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Tue, Mar 4, 2008 at 4:11 PM, <madhu(dot)harchandani(at)wipro(dot)com> wrote:
>
> When running the pg_ctl command i am facing this error
> pg_ctl: no database directory specified and environment variable PGDATA
> unset
> I use other options also but no solution was found.
> could someone help me on this
>
Thats not enough information to resolve anything. Please be a bit more
descriptive.
Anyway, its pretty clear that you do not have PGDATA set in the environment.
So you need to run the command as follows:
pg_ctl -D /your/postgres/data/directory start
RTFM will definitely help.
--
gurjeet[(dot)singh](at)EnterpriseDB(dot)com
singh(dot)gurjeet(at){ gmail | hotmail | indiatimes | yahoo }.com
EnterpriseDB http://www.enterprisedb.com
17° 29' 34.37"N, 78° 30' 59.76"E - Hyderabad
18° 32' 57.25"N, 73° 56' 25.42"E - Pune *
37° 47' 19.72"N, 122° 24' 1.69" W - San Francisco
Mail sent from my BlackLaptop device
From | Date | Subject | |
---|---|---|---|
Next Message | Gurjeet Singh | 2008-03-04 12:26:47 | Re: pg_ctl problem |
Previous Message | madhu.harchandani | 2008-03-04 10:41:27 | pg_ctl problem |