Re: Problem with pgAgent on Ubuntu

From: "P(dot) Broennimann" <peter(dot)broennimann(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with pgAgent on Ubuntu
Date: 2012-01-17 08:11:23
Message-ID: CACm4aU_jztYWyMG48D=HWwcK6ZyZ7ZLMu0Fbw43hZuoureW7GQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Eureka!

I changed 127.0.0.1 for the PG's assiged IP address 192.168..... and now it
works :)

Thx & cheers,
P.

2012/1/16 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>

> "P. Broennimann" <peter(dot)broennimann(at)gmail(dot)com> writes:
> > -> The problem I am having is that I can not start pgagent. When I try:
>
> > cd /usr/bin
> > ./pgagent hostaddr=127.0.0.1 port=5432 dbname=postgres user=postgres
>
> > and I get the following errors:
>
> > /usr/bin$ WARNING: Couldn't create the primary connection (attempt 1):
> > could not connect to server: Connection refused
> > Is the server running on host "127.0.0.1" and accepting
> > TCP/IP connections on port 5432?
>
> "Connection refused" is a kernel-level error, not Postgres refusing the
> connection. Either the postmaster is not actually listening on that
> port, or there is a packet filter rejecting the traffic. I'd bet on the
> latter given what you've said.
>
> regards, tom lane
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tore Halvorsen 2012-01-17 08:26:06 Re: Getting all entries in a single block with ctid
Previous Message Fujii Masao 2012-01-17 03:44:09 Re: PG synchronous replication and unresponsive slave