X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id CF828476851 for ; Wed, 14 May 2003 10:33:52 -0400 (EDT) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with ESMTP id 24154-04 for ; Wed, 14 May 2003 10:33:42 -0400 (EDT) Received: from jie.best.vwh.net (jie.best.vwh.net [128.121.105.37]) by postgresql.org (Postfix) with SMTP id 470F3475EDF for ; Wed, 14 May 2003 01:28:41 -0400 (EDT) Received: (qmail 83762 invoked by uid 26917); 14 May 2003 05:28:40 -0000 Received: from unknown (HELO best.com) ([64.168.20.99]) (envelope-sender ) by 128.121.105.37 (qmail-ldap-1.03) with SMTP for ; 14 May 2003 05:28:40 -0000 Message-ID: <3EC1D420.20003@best.com> Date: Tue, 13 May 2003 22:29:04 -0700 From: jie zhang User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: authentication error Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/214 X-Sequence-Number: 8776 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 ? Please advice if you can. thanks in advance, Jie