pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: acchung@mit.edu
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Missing or Erroneous pg_hba.conf file
Date: Tue, 25 Jun 2002 18:09:39 -0400
Message-ID: <1025042979.3d18ea2325efc@webmail.mit.edu> (raw)

Hi,
I was trying to alter my pg_hba.conf file so that I could
take off trust and use passwords.  I edited it inside wordpad
and saved it but it gave me some warning that said I'm saving it in Text-Only
format and that would remove all formatting. Not know how else to save,
i clicked ok.  then i read that i needed to send a SIGHUP signal for the 
postmaster to recognize the editted files.  I typed in 

pg_ctl reload -D /usr/share/postgresql/data 


postgres@E52BPS588R /
$ pg_ctl reload -D /usr/share/postgresql/data
postmaster successfully signaled

THen when i typed in psql template1, i get

postgres@E52BPS588R /
$ psql template1
psql: FATAL 1:  Missing or erroneous pg_hba.conf file, see postmaster log for de
tails

How do I get my pg_hba.conf file back to normal?  Also in the future, 
how should i send my SIGHUP signal , because my command is not correct.  
PLEASE HELP QUICK!
thank you.

Alex





view thread (5+ messages)  latest in thread

Message-ID: <1025042979.3d18ea2325efc@webmail.mit.edu>
Permalink:  ../1025042979.3d18ea2325efc@webmail.mit.edu/
Also on:    postgresql.org/message-id/1025042979.3d18ea2325efc@webmail.mit.edu

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: acchung@mit.edu
  Subject: Re: Missing or Erroneous pg_hba.conf file
  In-Reply-To: <1025042979.3d18ea2325efc@webmail.mit.edu>
  References: <1025042979.3d18ea2325efc@webmail.mit.edu>

* 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