Received: from alice.bombay.retortsoft.com ([203.197.60.32]) by hub.org (8.10.1/8.10.1) with ESMTP id e7I57hm35057 for ; Fri, 18 Aug 2000 01:07:44 -0400 (EDT) Received: from devstudio ([192.168.100.63]) by alice.bombay.retortsoft.com (8.9.3/8.9.3) with SMTP id KAA25985; Fri, 18 Aug 2000 10:45:02 +0530 Message-ID: <003501c008d3$34d0e180$3f64a8c0@bombay.retortsoft.com> From: "milind" To: "Robinson, Marlena CECOM RDEC I2WD" , "'PGSQL Admin'" References: Subject: Re: pg_hba.conf file Date: Fri, 18 Aug 2000 10:44:33 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Archive-Number: 200008/28 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 To: 'PGSQL Admin' 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 > > > >