X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id AE5E6476453 for ; Wed, 14 May 2003 15:35:31 -0400 (EDT) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with ESMTP id 42227-01 for ; Wed, 14 May 2003 15:35:27 -0400 (EDT) Received: from chimta03.algx.net (mta8.algx.net [67.92.168.237]) by postgresql.org (Postfix) with ESMTP id 28EBB475EDF for ; Wed, 14 May 2003 15:35:27 -0400 (EDT) Received: from best.com (ip66-107-38-194.z38-107-66.customer.algx.net [66.107.38.194]) by chimmx03.algx.net (iPlanet Messaging Server 5.2 HotFix 1.10 (built Jan 23 2003)) with ESMTP id <0HEW00IZ06F3DY@chimmx03.algx.net> for pgsql-admin@postgresql.org; Wed, 14 May 2003 14:35:28 -0500 (CDT) Date: Wed, 14 May 2003 12:35:11 -0700 From: jie zhang Subject: authentication error To: pgsql-admin@postgresql.org Message-id: <3EC29A6F.5080307@best.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/185 X-Sequence-Number: 8747 Hi, I try to connect using psql test from localhost. I got: FATAL 1: No pg_hba.conf entry for host localhost, user postgres, database test I double checked that I have done the following: I started server using: postmaster -i -D /var/lib/pgsql/data >logfile 2>&1 & In my pg_hba.conf file I have: host all 127.0.0.1 255.255.255.0 trust local all reject Are there anything else I need to do ? or anything I did wrong ? I try to force the connection go through tcp/ip. Please advice if you can. thanks in advance, Jie