Hi All,
After further Investigating with CA Support with the below steps:
1. Go to EM_HOME/install/database-install/linux
2. Edit install-postgres-as-root.sh
3. Comment "set -e" and add "set -x" instead
4. Run the script like this to capture the output in install.out when it fails
"./install-postgres-as-root.sh /<some_install_directory> postgres postgres true 5432 > installer.out 2>&1"
Got the following Error in installer.out file:
"+ ./postgresql-9.2.9-3-linux-x64.run --serverport 5432 --mode unattended --unattendedmodeui none --prefix /root/CAAPM/Introscopedb/ --datadir /root/CAAPM/Introscopedb//data --superpassword postgres
Error running /tmp/postgresql_installer_82d513b860/prerun_checks.sh : /bin/sh: /tmp/postgresql_installer_82d513b860/prerun_checks.sh: Permission denied"
On further Analyzing this issue in /tmp directory bitrock_installer file got the below error:
umask 0077
mkdir "/tmp/postgresql_installer_82d513b860"
if [ $? -ne 0 ];
then
exit 100
fi
Script stderr:
/bin/sh: /tmp/postgresql_installer_82d513b860/prerun_checks.sh: Permission denied
Error running /tmp/postgresql_installer_82d513b860/prerun_checks.sh : /bin/sh: /tmp/postgresql_installer_82d513b860/prerun_checks.sh: Permission denied
Error running /tmp/postgresql_installer_82d513b860/prerun_checks.sh : /bin/sh: /tmp/postgresql_installer_82d513b860/prerun_checks.sh: Permission denied
Need your help in order to resolve this issue, how can I grant the permission to all the files present or to be part of /tmp directory.
Regards,
Winkle Khurana