- Plesk for Linux
SELinux is enabled on Plesk server.
On fresh Plesk Onyx 17.5 on CentOS 7 installation some errors are reported by "setroubleshoot" software:
# sealert -a /var/log/audit/audit.log > file.txt
# cat file.txt
SELinux is preventing /usr/local/psa/admin/sbin/autoinstaller from getattr access on the file /usr/local/psa/admin/sbin/deployer.
SELinux is preventing /usr/bin/updatedb from getattr access on the file /usr/local/psa/admin/sbin/deployer.
SELinux is preventing /usr/sbin/setfiles from getattr access on the file deployer
SELinux policies are not configured properly.
- Connect to the server using SSH as root user.
- Reinstall Plesk SELinux policies:
# yum reinstall psa-selinux
If it does not help, generate local policy module with the command:
# grep denied /var/log/audit/audit.log | grep deployer | audit2allow -M plesk_deployer
# semodule -i plesk_deployer.pp