Search Postgresql Archives

Re: Problem with pgAgent on Ubuntu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"P. Broennimann" <peter.broennimann@xxxxxxxxx> 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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux