pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff <jeffroberts@telus.net>
To: pgsql-admin@postgresql.org
Subject: Re: One machine connects, the other doesn't???
Date: Tue, 04 Nov 2003 17:40:15 GMT
Message-ID: <3FA7E47E.9000209@telus.net> (raw)
References: <3FA6F94D.9050601@telus.net>
	<22003.1067959150@sss.pgh.pa.us>

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 <jeffroberts@telus.net> 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
> 




view thread (7+ messages)  latest in thread

Message-ID: <3FA7E47E.9000209@telus.net>
Permalink:  ../3FA7E47E.9000209@telus.net/
Also on:    postgresql.org/message-id/3FA7E47E.9000209@telus.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jeffroberts@telus.net
  Subject: Re: One machine connects, the other doesn't???
  In-Reply-To: <3FA7E47E.9000209@telus.net>
  References: <3FA6F94D.9050601@telus.net> <22003.1067959150@sss.pgh.pa.us> <3FA7E47E.9000209@telus.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox