From: milind <milind@bombay.retortsoft.com>
To: Robinson, Marlena CECOM RDEC I2WD <Marlena.Robinson@mail1.monmouth.army.mil>
To: 'PGSQL Admin' <pgsql-admin@postgresql.org>
Subject: Re: pg_hba.conf file
Date: Fri, 18 Aug 2000 10:44:33 +0530
Message-ID: <003501c008d3$34d0e180$3f64a8c0@bombay.retortsoft.com> (raw)
References: <D1EF46E76E48D411A74F0008C7CF48111E7B40@I2WD_CINDY>
Hi,
Try putting ip address of the system from which you are connecting to
database.
If A is the m/c from which you are connecting to the m/c B on which the
postgres is running,put entry into the pg_hba.conf file for the m/c A.
pg_hba.conf file resides mostly in /var/lib/pgsql/data directory(where
/var/lib/pgsql is the home directory for postgres user).It may happen that
you may have pg_hba.conf file in another directory also but editing that
files wont help you.
Bye...
Milind
----- Original Message -----
From: Robinson, Marlena CECOM RDEC I2WD
<Marlena.Robinson@mail1.monmouth.army.mil>
To: 'PGSQL Admin' <pgsql-admin@postgresql.org>
Sent: Thursday, August 17, 2000 11:11 PM
Subject: [ADMIN] pg_hba.conf file
>
>
> hey I think I nuked my DB, can someone help?
>
> Being the novice that I am (to put it lightly) I was messing around and
> exploring files and I happened upon the file in subject line. I moved a #
> sign, and saved. then I changed my mind about my bold little move and I
put
> it back, and saved again. I swear that is all I did.
>
> I thought all was fine, but then when I went to: createdb [name]
> or went to connect by typing : psql [name]
>
> I get the following error:
>
> Connection to database '[name]' failed.
> Missing or erroneous pg_hba.conf file, see postmaster log for details.
>
> I have wiped out all packages and re-installed the rpms from the disk, I
> have overwritten all files, the last resort would be wiping out the Linux
> install (I am of the windows generation) and putting 6.1 on all over
again.
>
> 3 questions remain:
>
> What should I do, how do I do it, and where is the postmaster log file?
>
> Marlena
>
>
>
>
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: milind@bombay.retortsoft.com, Marlena.Robinson@mail1.monmouth.army.mil
Subject: Re: pg_hba.conf file
In-Reply-To: <003501c008d3$34d0e180$3f64a8c0@bombay.retortsoft.com>
References: <D1EF46E76E48D411A74F0008C7CF48111E7B40@I2WD_CINDY> <003501c008d3$34d0e180$3f64a8c0@bombay.retortsoft.com>
* 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