Trying to start PostgresSQL server failed

Trying to start PostgresSQL server failed

ManageEngine_NetFlowAnalyzer_64bit
ubuntu server 20.04
clean install
netflow home dir 0777



/opt/ManageEngine/OpManager/bin
/opt/ManageEngine/OpManager/troubleshooting
/opt/ManageEngine/OpManager/bin/..
Jun 17, 2020 10:05:14 AM com.manageengine.silentmigration.SilentPatchUpdater getServerHome
INFO: SilentInstallation Home Dir : /opt/ManageEngine/OpManager
/opt/ManageEngine/OpManager/bin/..
/opt/ManageEngine/OpManager/bin/..
Jun 17, 2020 10:05:15 AM com.adventnet.persistence.ConfigurationParser$1 resolveEntity
INFO: Processing all product-config files
Jun 17, 2020 10:05:15 AM com.adventnet.persistence.ConfigurationParser$1 resolveEntity
INFO: Processing /opt/ManageEngine/OpManager/bin/../conf/product-config.xml
Jun 17, 2020 10:05:15 AM com.adventnet.persistence.ConfigurationParser$1 resolveEntity
INFO: Processing /opt/ManageEngine/OpManager/bin/../conf/customer-config.xml

-----------------------------------------
Port          Availability         Module
-----------------------------------------
8060               Yes             Client
13306              Yes             postgres
22                 No              SSHD
69                 Yes             TFTP
514                Yes             Syslog

#####################################################

Please free the port(s) [22] before starting the server

#####################################################


JAVA_HOME   : /opt/ManageEngine/OpManager/bin/../jre
SERVER_HOME : /opt/ManageEngine/OpManager/bin/..
DATE        : Wed 17 Jun 2020 10:05:16 AM +03

Check webServerPort http value : 8060 https Port : null
PortCheckerUtil.getPort : serviceName :NETFLOW_LISTENER_PORT Flag : true
NFAPropFile :/opt/ManageEngine/OpManager/bin/../conf/netflow/nfa.properties
PortValue is : 9996
 Check for NetFlow Port with value :9996
PortCheckerUtil.checkPorts :9996
Starting Server from location: /opt/ManageEngine/OpManager
This evaluation copy is valid for 29 days
inside addon check
This evaluation copy is valid for 29 days
Trying to start PostgresSQL server failed


Problem in starting Netflow Analyzer
For more details, connect to: [ http://netflowu:8060



root@netflowu:/opt/ManageEngine/OpManager/bin# ./gettimezone
Time Zone :: Turkey
Time Zone property added successfully.



root@netflowu:/opt/ManageEngine/OpManager/bin# ./initPgsql.sh
Linux netflowu 5.4.0-37-generic #41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
/opt/ManageEngine/OpManager/bin/..
DB Home :: /opt/ManageEngine/OpManager/pgsql
PostgreSQL Version :: postgres (PostgreSQL) 10.10
Machine Type :: x86_64

** Setting up PostgreSQL Installation Directory

User account 'postgres' already exists

** Resetting Ownership
* Data Directory
* Temp Directory
* Configuration Directory


** Setting local time zone
sh: 1: /opt/ManageEngine/OpManager/bin/../tools/postgres/bin/gettimezone: not found
Failed to set timezone
root@netflowu:/opt/ManageEngine/OpManager/bin#

                New to ADSelfService Plus?