After download application_manager14.bin and run with non-root user on RHEL 7.7, failed to initialized postgres database. I run initdb manually after that start postgres and then application manager.
The files belonging to this database system will be owned by user "manageengine".
This user must also own the server process.
The database cluster will be initialized with locale "C".
The default text search configuration will be set to "english".
Failed to initialise the database cluster with initdb
i Oct 04 12:56:42 2019 : Sanity check gets over
Fri Oct 04 12:56:42 2019 : checking for the lib/ext directory
Fri Oct 04 12:56:42 2019 : Updating the setenv script file
Fri Oct 04 12:56:42 2019 : updation over in the setenv file
Fri Oct 04 12:56:42 2019 : About to create the directories needed
Fri Oct 04 12:56:43 2019 : Calling the Enterprise resourcetypes
Fri Oct 04 12:56:43 2019 : Trying to copy the AppplicationDiscovery.xml for the Professional edition
Fri Oct 04 12:56:43 2019 : ApplicationDiscovery.xml has been succssfully copied.
Fri Oct 04 12:56:43 2019 : The properties file going to be initialized is ::: /opt/ManageEngine/AppManager14/working/html/en/EnglishToNative.properties
Fri Oct 04 12:56:43 2019 : ResourceGroupDisplayMap to be returned ::: {SER=Services, APP=Application Servers, SAN=Storage Devices, CIF=Converged Infrastructure, ERP=ERP, MS=Mail Servers, EMO=Site24x7 Monitors, MOM=Middleware/Portal, SYS=Servers, URL=Web Server/Services, CAM=Custom Monitors, HAI=Monitor Group, DBS=Database Servers, NWD=Network Devices, CLD=Cloud Apps, NET=Networks, VIR=Virtualization}
Fri Oct 04 12:56:43 2019 : *******************************************************
Fri Oct 04 12:56:43 2019 : The Build edition is the Enterprise
Fri Oct 04 12:56:43 2019 : *******************************************************
Fri Oct 04 12:56:43 2019 : isconsole false
Fri Oct 04 12:56:43 2019 : StartServer : main() : initPGSQLDB.sh : InputStream ===================>
The files belonging to this database system will be owned by user "manageengine".
This user must also own the server process.
The database cluster will be initialized with locale "C".
The default text search configuration will be set to "english".
Failed to initialise the database cluster with initdb
Fri Oct 04 12:56:43 2019 : StartServer : main() : initPGSQLDB.sh : ErrorStream ===================>
initdb: directory "/opt/ManageEngine/AppManager14/working/pgsql/data/amdb" exists but is not empty
If you want to create a new database system, either remove or empty
the directory "/opt/ManageEngine/AppManager14/working/pgsql/data/amdb" or run initdb
with an argument other than "/opt/ManageEngine/AppManager14/working/pgsql/data/amdb".
Fri Oct 04 12:56:43 2019 : waiting for the connection in the database for Postgresql host : localhost, port : 15433
Fri Oct 04 12:56:44 2019 : waiting for the connection in the database for Postgresql host : localhost, port : 15433
Fri Oct 04 12:56:45 2019 : waiting for the connection in the database for Postgresql host : localhost, port : 15433
Fri Oct 04 12:56:46 2019 : waiting for the connection in the database for Postgresql host : localhost, port : 15433