Re: ls /var/lib/pgsql/data nothing - Mailing list pgsql-admin

From Jerry Sievers
Subject Re: ls /var/lib/pgsql/data nothing
Date
Msg-id 87aagbpm1p.fsf@comcast.net
Whole thread Raw
In response to ls /var/lib/pgsql/data nothing  (bilal ghayyad <bilmar_gh@yahoo.com>)
List pgsql-admin
bilal ghayyad <bilmar_gh@yahoo.com> writes:

> Hi All;
>
> I am root and when I do ls  /var/lib/pgsql/data, I do not see anything.

Try the 'locate' command is it's on your system.

If you are able to connect to the DB, show data_directory;

Or, sudo su - postgres and see if $PGDATA is set.

ps -ef might even show something after the -D option for some sites if
DB is running also.

> Why?
>
> I need to find the pg_h.conf file but not able.

Do you mean pg_hba.conf?

> Any help?
> Regards
> Bilal

--
Jerry Sievers
e: gsievers19@comcast.net
p: 305.321.1144

pgsql-admin by date:

Previous
From: Devrim GÜNDÜZ
Date:
Subject: Re: ls /var/lib/pgsql/data nothing
Next
From: bilal ghayyad
Date:
Subject: Re: ls /var/lib/pgsql/data nothing