pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgAgent on Windows
6+ messages / 3 participants
[nested] [flat]

* pgAgent on Windows
@ 2018-11-05 13:45 Marcio Meneguzzi <marcio.meneguzzi@gmail.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Marcio Meneguzzi @ 2018-11-05 13:45 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

Hello,

I´m trying use pgAgent on windows 10 and Windows Server 2012 R2.
My version of PostgreSQL is 9.5.1.14
Install and configure pgAgent with sucess, but, when I try run a Job,
status is Failed with a message bellow:

*"Couldn't create the primary connection (attempt 1): fe_sendauth: no
password supplied"*

My %APPDATA%\postgresql\pg_pass.conf is:
localhost:5490:*:postgres:my_pass

Please, any help?

Thank´s,
Márcio.

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* PgAgent on Windows
@ 2018-11-06 13:36 Marcio Meneguzzi <marcio.meneguzzi@gmail.com>
  2018-11-06 13:54 ` Re: PgAgent on Windows Ron <ronljohnsonjr@gmail.com>
  2018-11-06 16:14 ` Re: PgAgent on Windows Stéphane Dunand <s.dunand@sirap.fr>
  0 siblings, 2 replies; 6+ messages in thread

From: Marcio Meneguzzi @ 2018-11-06 13:36 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

Hello,

I´m trying use pgAgent on windows 10 and Windows Server 2012 R2.
My version of PostgreSQL is 9.5.1.14
Install and configure pgAgent with sucess, but, when I try run a Job,
status is Failed with a message bellow:

*"Couldn't create the primary connection (attempt 1): fe_sendauth: no
password supplied"*

My %APPDATA%\postgresql\pg_pass.conf is:
localhost:5490:*:postgres:my_pass

Please, any help?

Thank´s,
Márcio


[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&a...;
Remetente
notificado por
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&a...;
06/11/18
11:36:31

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: PgAgent on Windows
  2018-11-06 13:36 PgAgent on Windows Marcio Meneguzzi <marcio.meneguzzi@gmail.com>
@ 2018-11-06 13:54 ` Ron <ronljohnsonjr@gmail.com>
  2018-11-06 15:24   ` Re: PgAgent on Windows Marcio Meneguzzi <marcio.meneguzzi@gmail.com>
  1 sibling, 1 reply; 6+ messages in thread

From: Ron @ 2018-11-06 13:54 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

On 11/06/2018 07:36 AM, Marcio Meneguzzi wrote:
> Hello,
>
> I´m trying use pgAgent on windows 10 and Windows Server 2012 R2.
> My version of PostgreSQL is 9.5.1.14
> Install and configure pgAgent with sucess, but, when I try run a Job, 
> status is Failed with a message bellow:
> *"Couldn't create the primary connection (attempt 1): fe_sendauth: no 
> password supplied"
> *
>
> My %APPDATA%\postgresql\pg_pass.conf is:
> localhost:5490:*:postgres:my_pass
>
> 	06/11/18 11:36:31 	
>

What do you mean by "run a job"?  Can you interactively log in?


-- 
Angular momentum makes the world go 'round.

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: PgAgent on Windows
  2018-11-06 13:36 PgAgent on Windows Marcio Meneguzzi <marcio.meneguzzi@gmail.com>
  2018-11-06 13:54 ` Re: PgAgent on Windows Ron <ronljohnsonjr@gmail.com>
@ 2018-11-06 15:24   ` Marcio Meneguzzi <marcio.meneguzzi@gmail.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Marcio Meneguzzi @ 2018-11-06 15:24 UTC (permalink / raw)
  To: ronljohnsonjr@gmail.com; +Cc: pgsql-general@lists.postgresql.org

Run a Job is:
In PgAdminit´s right click over the name of job and select option "Run Now".
After, when i open windows log aplication´s, a message like this "*"Couldn't
create the primary connection (attempt 1): fe_sendauth: no password
supplied" is generated.*
*Thank´s.*



[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&a...;
Remetente
notificado por
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&a...;
06/11/18
13:23:59

Em ter, 6 de nov de 2018 às 11:54, Ron <ronljohnsonjr@gmail.com> escreveu:

> On 11/06/2018 07:36 AM, Marcio Meneguzzi wrote:
>
> Hello,
>
> I´m trying use pgAgent on windows 10 and Windows Server 2012 R2.
> My version of PostgreSQL is 9.5.1.14
> Install and configure pgAgent with sucess, but, when I try run a Job,
> status is Failed with a message bellow:
>
> *"Couldn't create the primary connection (attempt 1): fe_sendauth: no
> password supplied" *
>
> My %APPDATA%\postgresql\pg_pass.conf is:
> localhost:5490:*:postgres:my_pass
>
> 06/11/18 11:36:31
>
>
> What do you mean by "run a job"?  Can you interactively log in?
>
>
> --
> Angular momentum makes the world go 'round.
>

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: PgAgent on Windows
  2018-11-06 13:36 PgAgent on Windows Marcio Meneguzzi <marcio.meneguzzi@gmail.com>
@ 2018-11-06 16:14 ` Stéphane Dunand <s.dunand@sirap.fr>
  2018-11-06 16:33   ` Re: PgAgent on Windows Marcio Meneguzzi <marcio.meneguzzi@gmail.com>
  1 sibling, 1 reply; 6+ messages in thread

From: Stéphane Dunand @ 2018-11-06 16:14 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

Le 06/11/2018 à 14:36, Marcio Meneguzzi a écrit :
> Hello,
>
> I´m trying use pgAgent on windows 10 and Windows Server 2012 R2.
> My version of PostgreSQL is 9.5.1.14
> Install and configure pgAgent with sucess, but, when I try run a Job, 
> status is Failed with a message bellow:
> *"Couldn't create the primary connection (attempt 1): fe_sendauth: no 
> password supplied"
> *
>
> My %APPDATA%\postgresql\pg_pass.conf is:
> localhost:5490:*:postgres:my_pass
>
> Please, any help?
>
> Thank´s,
> Márcio
>
>
> Mailtrack 
> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&a...; 
> 	Remetente notificado por
> Mailtrack 
> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&a...; 
> 06/11/18 11:36:31 	
>
Hello,

check
1) the user account who launch pgagent service. %appdata% is relative to 
this user
2) pg_pass.conf must be in folder %appdata%\roaming\postgresql
3) host parameter in pgagent service command line must match hostname in 
pg_pass.conf

Stéphane

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: PgAgent on Windows
  2018-11-06 13:36 PgAgent on Windows Marcio Meneguzzi <marcio.meneguzzi@gmail.com>
  2018-11-06 16:14 ` Re: PgAgent on Windows Stéphane Dunand <s.dunand@sirap.fr>
@ 2018-11-06 16:33   ` Marcio Meneguzzi <marcio.meneguzzi@gmail.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Marcio Meneguzzi @ 2018-11-06 16:33 UTC (permalink / raw)
  To: s.dunand@sirap.fr; +Cc: pgsql-general@lists.postgresql.org

Thank´s Stéphane,
My pg_pass.conf in database_name parameter was postgres, but when I change
for *, then run successful.
Thank´s again,

Márcio.



[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&a...;
Remetente
notificado por
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&a...;
06/11/18
14:32:39

Em ter, 6 de nov de 2018 às 14:15, Stéphane Dunand <s.dunand@sirap.fr>
escreveu:

> Le 06/11/2018 à 14:36, Marcio Meneguzzi a écrit :
>
> Hello,
>
> I´m trying use pgAgent on windows 10 and Windows Server 2012 R2.
> My version of PostgreSQL is 9.5.1.14
> Install and configure pgAgent with sucess, but, when I try run a Job,
> status is Failed with a message bellow:
>
> *"Couldn't create the primary connection (attempt 1): fe_sendauth: no
> password supplied" *
>
> My %APPDATA%\postgresql\pg_pass.conf is:
> localhost:5490:*:postgres:my_pass
>
> Please, any help?
>
> Thank´s,
> Márcio
>
>
> [image: Mailtrack]
> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&a...; Remetente
> notificado por
> Mailtrack
> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&a...; 06/11/18
> 11:36:31
>
> Hello,
>
> check
> 1) the user account who launch pgagent service. %appdata% is relative to
> this user
> 2) pg_pass.conf must be in folder %appdata%\roaming\postgresql
> 3) host parameter in pgagent service command line must match hostname in
> pg_pass.conf
>
> Stéphane
>

^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2018-11-06 16:33 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-11-05 13:45 pgAgent on Windows Marcio Meneguzzi <marcio.meneguzzi@gmail.com>
2018-11-06 13:36 PgAgent on Windows Marcio Meneguzzi <marcio.meneguzzi@gmail.com>
2018-11-06 13:54 ` Re: PgAgent on Windows Ron <ronljohnsonjr@gmail.com>
2018-11-06 15:24   ` Re: PgAgent on Windows Marcio Meneguzzi <marcio.meneguzzi@gmail.com>
2018-11-06 16:14 ` Re: PgAgent on Windows Stéphane Dunand <s.dunand@sirap.fr>
2018-11-06 16:33   ` Re: PgAgent on Windows Marcio Meneguzzi <marcio.meneguzzi@gmail.com>

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