Before installing PEM via an RPM method it is mandatory to disable SELinux. If SELinux is disabled using command : setenforce 0,
this command changes SELinux at runtime.
Initially one can access the PEM web interface through browser and it works without any issue. However, next time when the OS is rebooted SELinux setting will be changed back to Enforcing as it was set at session level earlier.
And there on the PEM web interface will complaint with the below error message and will not allow to login :
could not connect to server: Permission denied Is the server running on host "x.x.x.x" and accepting TCP/IP connections on port 5444 ?
[root@localhost Desktop]# getenforce
To allow Apache to connect to database through SELinux, use below command.()
Use -P option with below command makes the change permanent. Without this option, the boolean would be reset to 0 at reboot.