From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: prakash.ramakrishnan.ap@nielsen.com
Subject: BUG #15647: pgagent file missing
Date: Thu, 21 Feb 2019 14:42:29 +0000
Message-ID: <15647-8f04fa10218a6e74@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 15647
Logged by: ramakrishnan r
Email address: prakash.ramakrishnan.ap@nielsen.com
PostgreSQL version: 10.4
Operating system: Red Hat Enterprise Linux Server release 7.4 (Maipo
Description:
Hi Team,
I had an issue on one prod server installing pgagent below steps and not
able to create the extesnion please find the below details,
[root@sydrheappp001 postgres]# ./edb_pgagent.bin --mode text
----------------------------------------------------------------------------
Welcome to the pgAgent Setup Wizard.
----------------------------------------------------------------------------
Please select an empty directory for pgAgent installation.
Installation Directory [/opt/pgAgent]: /opt/PostgreSQL/pgAgent
----------------------------------------------------------------------------
Upgrade Mode
Upgrade mode will prevent the installer from modifying the database cluster
by
loading pgAgent SQL scripts, in preparation for upgrading from earlier
releases
of PostgreSQL using the pg_upgrade tool.
Upgrade Mode [y/N]: y
----------------------------------------------------------------------------
PostgreSQL Installation Details
Please verify the PostgreSQL installation details
Host [localhost]: sydrheappp001.enterprisenet.org
User Name [postgres]: postgres
Password :
Port [5432]: 5432
----------------------------------------------------------------------------
pgAgent service account
Please provide the user name of the account under which the pgAgent service
will
run.
The .pgpass file will be created in the account home directory.
If the user account does not exist it will be created.
Operating system username [postgres]: postgres
----------------------------------------------------------------------------
Setup is now ready to begin installing pgAgent on your computer.
Do you want to continue? [Y/n]: y
----------------------------------------------------------------------------
Please wait while Setup installs pgAgent on your computer.
Installing
0% ______________ 50% ______________ 100%
#########################################
----------------------------------------------------------------------------
EnterpriseDB is the leading provider of value-added products and services
for
the Postgres community.
Please visit our website at www.enterprisedb.com
[root@sydrheappp001 postgres]# exit
logout
postgres@sydrheappp001.enterprisenet.org:/home/postgres
postgres@sydrheappp001.enterprisenet.org:/opt/PostgreSQL/pgAgent
==> ls
bin installer lib LICENSE pgAgent_3rd_party_licenses.txt README share
uninstall-pgagent uninstall-pgagent.dat
postgres@sydrheappp001.enterprisenet.org:/opt/PostgreSQL/pgAgent
==> cd
postgres@sydrheappp001.enterprisenet.org:/home/postgres
==> pg_ctl restart -mf
waiting for server to shut down........ done
server stopped
waiting for server to start....2019-02-22 00:45:51.379 AEDT [25253] LOG:
listening on IPv4 address "0.0.0.0", port 5432
2019-02-22 00:45:51.379 AEDT [25253] LOG: listening on IPv6 address "::",
port 5432
2019-02-22 00:45:51.381 AEDT [25253] LOG: listening on Unix socket
"/tmp/.s.PGSQL.5432"
..................2019-02-22 00:46:10.074 AEDT [25253] LOG: redirecting log
output to logging collector process
2019-02-22 00:46:10.074 AEDT [25253] HINT: Future log output will appear in
directory "pg_log".
done
server started
postgres@sydrheappp001.enterprisenet.org:/home/postgres
==> psql -p 5432
psql.bin (10.4)
Type "help" for help.
postgres=# create extension pgagent;
ERROR: could not open extension control file
"/opt/PostgreSQL/10/share/postgresql/extension/pgagent.control": No such
file or directory
postgres=#
postgres=# \q
postgres@sydrheappp001.enterprisenet.org:/home/postgres
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, prakash.ramakrishnan.ap@nielsen.com
Subject: Re: BUG #15647: pgagent file missing
In-Reply-To: <15647-8f04fa10218a6e74@postgresql.org>
References: <15647-8f04fa10218a6e74@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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