After my server rebooted, the database Postgres didn't start for Wily.
Searched the internet how to start the database but no success. Using Red Hat 7.9
Release : 10.7.0
It is giving you the error because you need to put ./ in front of pg_ctl
[postgres@myserver bin]$ pg_ctl -D /opt/Wily/PostgreSQL/data/ -l /opt/Wily/PostgreSQL/data/pg_log/postmaster.log start
-bash: pg_ctl: command not found