From: | JaeWon Lee <thejaewon(at)gmail(dot)com> |
---|---|
To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
Cc: | "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: .pgpass not working ( centos7, pgagent_96 ) |
Date: | 2017-10-16 16:23:07 |
Message-ID: | CAC+TV7HCYaEKoMGDR+HSrTMc1EiOoKD64+R9iFsUo5wAz4g8_Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Thanks ^^
I tested same thing for OS user 'root' (/root), 'postgres' (/var/lib/pgsql
), and other two normal users who has home directory in /home.
But I got same error.
---- [ pgagent_96.log ]
WARNING: Couldn't create the primary connection (attempt 10): fe_sendauth:
no password supplied
ERROR: Stopping pgAgent: Couldn't establish the primary connection with the
database server.
2017-10-17 0:17 GMT+09:00 David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>:
> On Mon, Oct 16, 2017 at 1:02 AM, JaeWon Lee <thejaewon(at)gmail(dot)com> wrote:
>
>>
>> 5. Checked my .pgpass file. ( .pgpass is in frank's home directory.
>> /home/frank )
>>
>
> Frankly[1], this is probably your problem. pgAgent is most likely not
> running as user "frank". You need to identify what O/S user the
> application is running under and place the .pgpass file in that user's home
> directory.
>
> David J.
>
> 1. pun intended...
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Payal Singh | 2017-10-16 18:01:55 | Re: .pgpass not working ( centos7, pgagent_96 ) |
Previous Message | David G. Johnston | 2017-10-16 15:17:00 | Re: .pgpass not working ( centos7, pgagent_96 ) |