pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jerry Sievers <gsievers19@comcast.net>
To: pgsql-admin@postgresql.org
Subject: Re: ls /var/lib/pgsql/data nothing
Date: Thu, 31 Mar 2011 07:27:30 -0400
Message-ID: <87aagbpm1p.fsf@comcast.net> (raw)
In-Reply-To: <782191.71487.qm@web162012.mail.bf1.yahoo.com>
References: <782191.71487.qm@web162012.mail.bf1.yahoo.com>

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



view thread (8+ messages)  latest in thread

Message-ID: <87aagbpm1p.fsf@comcast.net>
Permalink:  ../87aagbpm1p.fsf@comcast.net/
Also on:    postgresql.org/message-id/87aagbpm1p.fsf@comcast.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: gsievers19@comcast.net
  Subject: Re: ls /var/lib/pgsql/data nothing
  In-Reply-To: <87aagbpm1p.fsf@comcast.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox