rob@ISIS:~/pgagent-git-build$ ./pgagent -f 'hostaddr=172.30.0.16 user=pgagent_login_role password=password' Mon Jun 11 08:17:49 2018 ERROR: Couldn't find the function 'pgagent_schema_version' - please run pgagent_upgrade.sql. rob@ISIS:~/pgagent-3.4.1-build$ ./pgagent -f 'hostaddr=172.30.0.16 user=pgagent_login_role password=password' Mon Jun 11 08:18:01 2018 : WARNING: Couldn't create the primary connection (attempt 1): could not connect to server: Connection refused Is the server running on host "172.30.0.16" and accepting TCP/IP connections on port 5432?