X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id A0372D1CABE for ; Tue, 4 Nov 2003 17:47:22 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 44035-04 for ; Tue, 4 Nov 2003 13:46:52 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 2B03BD1B57D for ; Tue, 4 Nov 2003 13:46:52 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id hA4HknNw049167 for ; Tue, 4 Nov 2003 17:46:51 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id hA4HeVSi048085 for pgsql-admin@postgresql.org; Tue, 4 Nov 2003 17:40:31 GMT Message-ID: <3FA7E47E.9000209@telus.net> From: Jeff Reply-To: jeffroberts@telus.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030716 X-Accept-Language: en-us, en MIME-Version: 1.0 X-Newsgroups: comp.databases.postgresql.admin Subject: Re: One machine connects, the other doesn't??? References: <3FA6F94D.9050601@telus.net> <22003.1067959150@sss.pgh.pa.us> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 38 Date: Tue, 04 Nov 2003 17:40:15 GMT To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/31 X-Sequence-Number: 11019 Thanks Tom! I was editing /usr/local/pgsql/data/pg_hba.conf when I should have been editing /var/lib/pgsql/data/pg_hba.conf Now everything works. Jeff Tom Lane wrote: > Jeff writes: > >>I get: > > >>psql: FATAL 1: No pg_hba.conf entry for host 192.168.24.4, user >>ownerofmydatabase, database mydatabase > > >>My pg_hba.conf file has two lines > > >>local all trust >>host all 192.168.24.0 255.255.255.0 password > > > Hm. Are you sure you are looking at the right pg_hba.conf file? > Did you SIGHUP the postmaster after your latest change to pg_hba.conf? > Try looking in the postmaster log to see if it emits any complaints > about syntax problems in pg_hba.conf when you SIGHUP it and/or connect. > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 8: explain analyze is your friend >