CA API Developer Portal: Portal.sh won't run through AWS User data
Article ID: 105942
CA API Developer PortalCA API Gateway
When adding a shell script to an AWS EC2 Portal instance it will be unable to launch the portal.sh script to configure the product. The script itself will run fine when executed directly on the system.
Release: Component: APIPRD
It has been found that having SELINUX enabled prevents the execution of this script. It will need to be disabled in order to utilize this functionality.
To temporarily stop it, please run. sudo setenforce 0 (zero)
The better and suggested option is to disable it completely as follows, edit (vi) the file /etc/selinux/config and change SELINUX=disabled
Then reboot the host o/s if changing the selinux/config file