Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 6BA8D476820 for ; Wed, 26 Jun 2002 11:20:53 -0400 (EDT) Mailbox-Line: From nickf@ontko.com Wed Jun 26 11:20:53 2002 Received: from shire.ontko.com (shire.ontko.com [199.164.165.1]) by postgresql.org (Postfix) with ESMTP id C4A824767AA for ; Wed, 26 Jun 2002 10:01:07 -0400 (EDT) Received: from nick (bilbo.ontko.com [199.164.165.101]) by shire.ontko.com (8.9.3/8.9.3/Debian 8.9.3-21) with SMTP id JAA14531; Wed, 26 Jun 2002 09:01:10 -0500 X-Authentication-Warning: shire.ontko.com: Host bilbo.ontko.com [199.164.165.101] claimed to be nick Reply-To: From: "Nick Fankhauser" To: , Subject: Re: Missing or Erroneous pg_hba.conf file Date: Wed, 26 Jun 2002 09:04:32 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <1025042979.3d18ea2325efc@webmail.mit.edu> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Status: No, hits=-4.1 required=5.0 tests=IN_REP_TO,X_AUTH_WARNING version=2.30 X-Spam-Level: X-Archive-Number: 200206/210 X-Sequence-Number: 4644 Alex It sounds like perhaps you were using a windows editor?? You were correct to tell it you want no formatting, but I'd guess that even in text-only mode, your file got saved with DOS/Windows EOL markers, rendering it unreadable on your Unix box. I'll send a plain vanilla pg_hba.conf to you off-list, and you can use it as a starting point to edit again, (using a unix editor this time ). Or alternately, you can probably use a dos->unix filter on the old file. Regards, -Nick -------------------------------------------------------------------------- Nick Fankhauser nickf@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ > -----Original Message----- > From: pgsql-admin-owner@postgresql.org > [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of acchung@mit.edu > Sent: Tuesday, June 25, 2002 5:10 PM > To: pgsql-admin@postgresql.org > Subject: [ADMIN] Missing or Erroneous pg_hba.conf file > > > 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 > > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > >