Re: Debian and Postgres - Mailing list pgsql-general

From rob stone
Subject Re: Debian and Postgres
Date
Msg-id 1462405093.19731.5.camel@gmail.com
Whole thread Raw
In response to Re: Debian and Postgres  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Debian and Postgres  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: Debian and Postgres  (Zenaan Harkness <zen@freedbms.net>)
List pgsql-general
On Wed, 2016-05-04 at 14:51 -0700, Adrian Klaver wrote:
> 
> > I can connect via psql and issue queries without any problems.
> > Trying
> > to connect via JDBC fails. Trying to connect by an application
> > fails.
> Are you using the same connection parameters?
>
> In particular are you using local for the psql connection and some
> form 
> of host for the others?
>
> I ask because this looks somewhat similar to this thread:
>
> http://www.postgresql.org/message-id/CAM3xazWDA6asEDDYHcKF_5oSFP4SZj8
> taVHwSF68wM=VMY7V-A@mail.gmail.com
>
> where the solution:
>
> http://www.postgresql.org/message-id/CAM3xazWDA6asEDDYHcKF_5oSFP4SZj8
> taVHwSF68wM=VMY7V-A@mail.gmail.com
>
> was:
>
> "That was indeed the root cause. The /etc/hosts file on the server
> had
> incorrect permissions which caused localhost to not resolve."
>
> 

/etc/hosts has a file date of Dec 19 2014.

Everything worked fine yesterday. Absolutely nothing has been altered
except some packages have been removed and none of the log files can
give me a clue as to which ones.

I'll just have to continue hunting around trying to figure out what I
did and probably file a bug report against synaptic for losing the
removal info from its history logs.

Cheers,
Rob


pgsql-general by date:

Previous
From: Vincent Veyron
Date:
Subject: Re: Thoughts on "Love Your Database"
Next
From: Adrian Klaver
Date:
Subject: Re: Debian and Postgres