Unable to open configuration file /etc/psa/psa.conf: Permission denied
unable to open configuration file /etc/psa/psa.conf: Permission denied
Such errors are reported when Panel spam-filter processes incoming mail to mailbox with the Spamassasin feature enabled. Error is reported because spam-filter hook has no permission to access files in the /etc/psa directory. However, Spamassassin still processes messages correctly so this error does not mean Spamassassin is not working.
To workaround the issue it is possible to add the execute permissions for the /etc/psa folder.
Reference: http://parallels.com/
Permission denied error, while executing Nagios binaries
Nagios provides enterprise-class Open Source monitoring of hosts and services.
Make sure that the Nagios user has correct ownership/permissions to Nagios files in the Nagios installation directory.
Check if SElinux is enabled. If it is enabled, the Nagios binaries won’t be executed.
There are 3 alternative solutions for this.
1) Disable SElinux, SELINUX=disable.
2) Make it execute non-built-in services like Nagios by setting, SELINUX=permissive. This would cause the binaries to execute with only warnings logged to /var/log/messages.
If you go for the fix 1 or 2, you would need to reboot the server once.
3) You can change the security context of the Nagios binaries and make them executable with SElinux enabled.
chcon -t sbin_t /usr/local/nagios/sbin
chcon -R -t sbin_t /usr/local/nagios/sbin/
defpackagemng failed: Access is denied.
If you are getting the following error when logging into Plesk control panel (Windows) :
DefPackageMng() constructor failed: defpackagemng failed: Access is denied. Error code 5) at CreateProcess ‘C:\WINDOWS\system32\cmd.exe /c “”C:\Plesk\admin\bin\defpackagemng.exe” –get”‘
at execUtil C:\Plesk\admin\bin\defpackagemng.exe –get on C:\Plesk\admin(PleskSrvClient::execUtil line 420)at execute console command –get(vconsoleapp::start line 128)
at execute C:\Plesk\/admin/bin/defpackagemng –get(vconsoleapp::run line 138)
Solution:
This error occurs when Plesk Control Panel service Apache can’t access to C:\Windows\System32\cmd.exe. This may happen when administrator manually changes permissions on file system. User SERVICE should have Read+Execute; Read on the file.
>> The following permissions should be set on ‘cmd.exe’ to make server work properly:
Administrators - Full Control
System - Full Control
Service - Read+Execute; Read
Interactive - Read+Execute; Read
Restart the plesk service. Try login again.