Re: Uninstall postgresql 9.2 on red hat linux - Mailing list pgsql-novice

From Luca Ferrari
Subject Re: Uninstall postgresql 9.2 on red hat linux
Date
Msg-id CAKoxK+6TyxmnAMxaUxH1o8vBL8rS-78-kd5OUCQkhq-SgDQ6oA@mail.gmail.com
Whole thread Raw
In response to Re: Uninstall postgresql 9.2 on red hat linux  (Thara Vadakkeveedu <tharagv@yahoo.com>)
List pgsql-novice
On Tue, Sep 24, 2013 at 3:07 AM, Thara Vadakkeveedu <tharagv@yahoo.com> wrote:

> -bash-4.1$ /usr/pgsql-9.2/bin/postgres -D
> /var/lib/pgsql/9.2/data/postgresql.conf
> postgres cannot access the server configuration file
> "/var/lib/pgsql/9.2/data/postgresql.conf/postgresql.conf": Not a directory
>


Pay attention here: you are passing to the -D the full path to the
file, that is then expanded to the full path to the file again, that
is the postgresql.conf appears twice. You have to pass to the -D
(directory) the directory where the configuration file is.

Luca


pgsql-novice by date:

Previous
From: Jayadevan M
Date:
Subject: Re: Uninstall postgresql 9.2 on red hat linux
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: Uninstall postgresql 9.2 on red hat linux