Re: Uninstall postgresql 9.2 on red hat linux

From: Luca Ferrari <fluca1978(at)infinito(dot)it>
To: Thara Vadakkeveedu <tharagv(at)yahoo(dot)com>
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Uninstall postgresql 9.2 on red hat linux
Date: 2013-09-24 08:00:55
Message-ID: CAKoxK+6TyxmnAMxaUxH1o8vBL8rS-78-kd5OUCQkhq-SgDQ6oA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Tue, Sep 24, 2013 at 3:07 AM, Thara Vadakkeveedu <tharagv(at)yahoo(dot)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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2013-09-24 08:17:04 Re: Uninstall postgresql 9.2 on red hat linux
Previous Message Jayadevan M 2013-09-24 04:29:25 Re: Uninstall postgresql 9.2 on red hat linux