CA APM EM 10.7 installer fails to execute prerun_checks.sh for the Postgres Install
book
Article ID: 111207
calendar_today
Updated On:
Products
CA Application Performance Management Agent (APM / Wily / Introscope)INTROSCOPE
Issue/Introduction
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
Environment
CA APM 9.x, 10.x Linux/Unix Enterprise Manager install
Cause
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
Resolution
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.