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