Re: ls /var/lib/pgsql/data nothing

From: Jerry Sievers <gsievers19(at)comcast(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: ls /var/lib/pgsql/data nothing
Date: 2011-03-31 11:27:30
Message-ID: 87aagbpm1p.fsf@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

bilal ghayyad <bilmar_gh(at)yahoo(dot)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(at)comcast(dot)net
p: 305.321.1144

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Anal Dey 2011-03-31 11:37:27 Restore Backup from Linux to Windows 2003
Previous Message Devrim GÜNDÜZ 2011-03-31 11:27:02 Re: ls /var/lib/pgsql/data nothing