Installation on Rocky9 linux

Installation on Rocky9 linux

I've been trying to install PMP on Rocky 9.3 (with SELINUX enabled) but it does not work.

1) should it be installed as root ? under /root/ManageEngine/PMP/ ? 
    Usually it's a bad idea to install under root but ok. You will have problems with permissions of all sorts.
    postgres will not be able to su - into its directory /root/ManageEngine/PMP/pgsql and more.


2) Seems the ManageEngine/PMP/tools/postgres/bin/gettimezone is a 32bit executable
     /root/ManageEngine/PMP/tools/postgres/bin/gettimezone: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.2.5, with debug_info, not stripped

3) When starting up PMP using the pmp.service, after installing it with pmp.sh install two lines jump at me in journal

pmp.service: Changing to the requested working directory failed: Permission denied
pmp.service: Failed at step CHDIR spawning /root/ManageEngine/PMP/bin/wrapper: Permission denied

4) So I tried starting it manually as it would be by the pmp.service scripts
/root/ManageEngine/PMP/bin/wrapper -c /root/ManageEngine/PMP/bin/../conf/wrapper_lin.conf
wrapper  | --> Wrapper Started as Console
wrapper  | Java Service Wrapper Professional Edition 64-bit 3.5.25
wrapper  |   Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
wrapper  |     http://wrapper.tanukisoftware.com
wrapper  |   Licensed to Zoho Corporation Pvt. Ltd. for Password Manager Pro
wrapper  |
wrapper  | The configured wrapper.java.command could not be found, attempting to launch anyway: ../jre/bin/java


wrapper  | Launching a JVM...
jvm 1    | WrapperManager: Initializing...
jvm 1    | Starting Server from location: /root/ManageEngine/PMP
jvm 1    | This evaluation copy is valid for 29 days
jvm 1    | Trying to start PostgresSQL server failed
jvm 1    |
jvm 1    |
jvm 1    |
jvm 1    | Problem while Starting Server
jvm 1    | System halted
wrapper  | <-- Wrapper Stopped

So the PostgresSQL server can't start,
might be because postgres user cant access things under /root ?

su - postgres
su: warning: cannot change directory to /root/ManageEngine/PMP/pgsql: Permission denied
-bash: /root/ManageEngine/PMP/pgsql/.bash_profile: Permission denied

anybody have a guide on how to install on linux ????

                New to ADSelfService Plus?