ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.
CA APM EM 10.7 installer fails to execute prerun_checks.sh for the Postgres Install
Article ID: 111207
CA Application Performance Management Agent (APM / Wily / Introscope)INTROSCOPE
Using root user and installing APM Enterprise Manager (EM) 10.7 on Amazon Web Services (AWS) under Linux 7.4 the Postgres software install fails. The Introscope_10.7.0.45_InstallLog.log shows messages: Error running /tmp/postgresql_installer_921e97eda4/prerun_checks.sh : /bin/sh: /tmp/postgresql_installer_921e97eda4/prerun_checks.sh: Permission denied Install Postgres failed with exit code 1 Permission Denied
The root user had execute permissions for: /tmp/postgresql_installer_921e97eda4/prerun_checks.sh /tmp/postgresql_installer_921e97eda4 /tmp
Created a test script inside /tmp, set chmod 755 on it but also could not execute it ("Permission denied") Reviewed the mount status of the /tmp filesystem using the command "mount" and discovered it had been mounted with "noexec" option
CA APM 9.x, 10.x Linux/Unix Enterprise Manager install
Edit /etc/fstab file and remove "noexec" option Remount /tmp filesystem with command : mount -o remount /tmp The "mount" command then shows no "noexec" for the /tmp flesystem. The install was then successful.