X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 8EBAE475D91 for ; Thu, 17 Apr 2003 10:40:53 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id DD68B475C3D for ; Thu, 17 Apr 2003 10:40:52 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h3HEetU6010548; Thu, 17 Apr 2003 10:40:55 -0400 (EDT) To: "Greg Kelley" Cc: pgsql-admin@postgresql.org Subject: Re: Require Assistance Solving Problem - erroneous pg_hba.conf In-reply-to: <01e501c304d4$28732b00$3501a8c0@greg> References: <01e501c304d4$28732b00$3501a8c0@greg> Comments: In-reply-to "Greg Kelley" message dated "Thu, 17 Apr 2003 07:26:15 -0400" Date: Thu, 17 Apr 2003 10:40:55 -0400 Message-ID: <10547.1050590455@sss.pgh.pa.us> From: Tom Lane X-Spam-Status: No, hits=-32.5 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/247 X-Sequence-Number: 8402 "Greg Kelley" writes: > pgsql log shows: > FATAL: Missing or erroneous pg_hba.conf file, see postmaster log for > details > "OG: parse_hba: invalid syntax in pg_hba.conf file at line 31, token " > Even the log entry doesn't look right - double quotes - and the .conf file > certainly doesn't have 31 lines! Indeed. I think it's a Windows-newline issue: you probably edited the config file with something that put in \r\n instead of \n. The overstruck LOG is a dead giveaway... I thought we had fixed the various config file parsers to be reasonably impervious to stray \r's, but you may have found a corner case where it's not recognized as whitespace. Try getting rid of the \r's. regards, tom lane