During a clean installation of NVBU 11.x on RHEL 7.x the installer exits with the following error:
...
Installing PostgreSQL: initializing database cluster
Error: Problem running post-install step. Installation did not complete
correctly.
Error running su - "netvault-pgsql" -c "\"/usr/netvault/pgsql/bin/initdb\"
--pwfile \"/tmp/3958bfc2-a3c4-41ad-735f-0335471a10cf-pg-1\" -A md5 -U postgres
-D \"/usr/netvault/db/pgsql\" -E \"UTF8\" --locale=\"C\"": su: warning: cannot
change directory to /usr/netvault/pgsql: Permission denied
-bash: /usr/netvault/pgsql/.bash_profile: Permission denied
-bash: /usr/netvault/pgsql/bin/initdb: Permission denied
The installer mamanged to install NetVault and all necessary directory structure, files and packages but fails to initialize the PostgreSQL Server.
After such failed installation, NetVault service will be unable to start and the software must be reinstalled however, any attempt to reinstall will fail with the same error.