I am trying to install Postgres Enterprise manager in my Linux distro Ubuntu for my Windows machine by following this tutorial on their official website.
Postgres Enterprise Manger requires two different Postgres to function, first the server it will monitor which can either be the normal Postgres, or the EDB advanced server and second a backend databse which can either still be postgres or EDB advancer server instance where it will store the monitored data. I installed PostgreSQL for this purpose. When I try to configure the PEM server using this command
sudo /usr/edb/pem/bin/configure-pem-server.sh
I keep getting this error despite inputting the path to my postgres
sudo /usr/edb/pem/bin/configure-pem-server.sh
[sudo] password for chidera:
-----------------------------------------------------
EDB Postgres Enterprise Manager
-----------------------------------------------------
Install type: 1:Web Services and Database, 2:Web Services 3: Database [ ] :1
--> [Info] --> [Info] Check apache2 utility commands.
--> [Info] --> [Info] Configure apache2 modules - ssl and gnutls.
Enter local database server installation path (i.e. /usr/edb/as12 , or /usr/pgsql-12, etc.) [ ] :/var/lib/postgresql/15/main
--> [Error]
--> [Error] -----------------------------------------------------
--> [Error] CRITICAL ERROR
--> [Error] -----------------------------------------------------
--> [Error] --> [Error] Script exiting because of the following error:
--> [Error]
Either database server installation path is incorrect or the required psql binary is not installed.
If the psql binary is not installed, then install any one of the following packages:
edb-as<X>-server-client
postgresql<X>
Where, X is version 12 or above.
--> [Error] Current working directory and stack is:
0 /home/chidera
1596 HandleCommandLineArguments /usr/edb/pem/bin/configure-pem-server.sh
1723 InstallPEMServer /usr/edb/pem/bin/configure-pem-server.sh
1935 main /usr/edb/pem/bin/configure-pem-server.sh
--> [Error] --> [Error] Current working directory and stack is:
I have been on this error for days and will appreciate any help I can get.