pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: nageswara Bandla <nag.bandla@gmail.com>
Cc: George Neuner <gneuner2@comcast.net>
Cc: pgsql-general@postgresql.org
Subject: Re: Pgagent is not reading pgpass file either in Windows or Linux.
Date: Tue, 5 Jun 2018 17:09:16 -0700
Message-ID: <cbb34611-14a4-afed-eaf0-c5a35bc3c432@aklaver.com> (raw)
In-Reply-To: <CADJadRBmJx55Qrp7kBviT=HVL_KCcnR6jD9XdkPOdZDmE7MfKg@mail.gmail.com>
References: <CADJadRDCoHALsJQv8ySQiO2QdgWnfqVL+iX-v72QxA6pFtgYtg@mail.gmail.com>
	<5595335e-32e8-80da-9c65-8d79fce554a7@aklaver.com>
	<ppfugdp0kau1a9178injuk52b0eqg29i3o@4ax.com>
	<CADJadRAd7=5z9DcoOvDCQKb1Lyi7VHNRBbuVsQ1x398s_isRdw@mail.gmail.com>
	<e4c0hdhkoflpsfvqdbel5q4ouh3lnuvme3@4ax.com>
	<CADJadRBjBpZHqEOn68miwES1sTQp5TMa0qTwVm83X-cf6LD5=g@mail.gmail.com>
	<cls0hdps5fv0pj5jt1mhp9ij5in8bj4aq7@4ax.com>
	<CADJadRBHo-sFCeyy-2TWP4VFM9eNDrcxWYyjrCBRv5z290f_ww@mail.gmail.com>
	<CADJadRAVwknPiB3i85XKoQLu7jBXWN=bDUEh6bQhHRsDMnUWcQ@mail.gmail.com>
	<5f99abf5-1d6c-d559-ff4d-f461ec5408ba@aklaver.com>
	<CADJadRBmJx55Qrp7kBviT=HVL_KCcnR6jD9XdkPOdZDmE7MfKg@mail.gmail.com>

On 06/05/2018 07:53 AM, nageswara Bandla wrote:
> Adrian,
> 
> I think, it's not problem with pg_hba.conf.  /etc/hosts is configured 
> correctly. psql works fine and is inline with libpq, where as pgagent is 
> not.
> 
> pgagent still fails when we use hostaddr and host.
> usr/bin/pgagent_96 -f -l 2 hostaddr=127.0.0.1  host=localhost 
> dbname=linuxpostgresdb user=postgres port=5432
> 
>

Well so much for that idea. Will have to see what the answer to the 
filed issue is.


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (20+ messages)

Message-ID: <cbb34611-14a4-afed-eaf0-c5a35bc3c432@aklaver.com>
Permalink:  ../cbb34611-14a4-afed-eaf0-c5a35bc3c432@aklaver.com/
Also on:    postgresql.org/message-id/cbb34611-14a4-afed-eaf0-c5a35bc3c432@aklaver.com

 · 

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-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, nag.bandla@gmail.com, gneuner2@comcast.net
  Subject: Re: Pgagent is not reading pgpass file either in Windows or Linux.
  In-Reply-To: <cbb34611-14a4-afed-eaf0-c5a35bc3c432@aklaver.com>
  References: <CADJadRDCoHALsJQv8ySQiO2QdgWnfqVL+iX-v72QxA6pFtgYtg@mail.gmail.com> <5595335e-32e8-80da-9c65-8d79fce554a7@aklaver.com> <ppfugdp0kau1a9178injuk52b0eqg29i3o@4ax.com> <CADJadRAd7=5z9DcoOvDCQKb1Lyi7VHNRBbuVsQ1x398s_isRdw@mail.gmail.com> <e4c0hdhkoflpsfvqdbel5q4ouh3lnuvme3@4ax.com> <CADJadRBjBpZHqEOn68miwES1sTQp5TMa0qTwVm83X-cf6LD5=g@mail.gmail.com> <cls0hdps5fv0pj5jt1mhp9ij5in8bj4aq7@4ax.com> <CADJadRBHo-sFCeyy-2TWP4VFM9eNDrcxWYyjrCBRv5z290f_ww@mail.gmail.com> <CADJadRAVwknPiB3i85XKoQLu7jBXWN=bDUEh6bQhHRsDMnUWcQ@mail.gmail.com> <5f99abf5-1d6c-d559-ff4d-f461ec5408ba@aklaver.com> <CADJadRBmJx55Qrp7kBviT=HVL_KCcnR6jD9XdkPOdZDmE7MfKg@mail.gmail.com> <cbb34611-14a4-afed-eaf0-c5a35bc3c432@aklaver.com>

* 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