Error to send emails: Unable to open file /var/lib/plesk/mail/srs/secret: Permission denied

We were unable to send emails to any email account, below error found in /var/log/maillog:  type=AVC msg=audit(1524598331.078:35761): avc: denied { read } for pid=450 comm=”postfix-srs” name=”secret” dev=dm-0 ino=136160 scontext=unconfined_u:system_r:postfix_master_t:s0 tcontext=unconfined_ u:object_r:mail_spool_t:s0 tclass=file 1- Log in to the server via SSH 2- Install audit2allow utility: # yum install policycoreutils-python 3- Create allows policy for postfix-srs: # grep postfix-srs […]

How to Install WordPress Locally on Windows

A test WordPress website can help us test things like themes, plugins, settings, etc.., before uploading to the main working site. Though you can have a test website created on your server with a sub-domain, But it’s quite handy and feasible to first installed it locally on your computer. Benefits of installing WordPress Locally on […]

Uploading of big file size fails: client intended to send too large body

one of our client trying to upload big file size which fails with the following error in /var/www/vhosts/system/example.com/logs/proxy_error_log file: Nginx support is enabled on the server: /usr/local/psa/admin/bin/nginxmng -s Enabled We try to adjust client_max_body_size in /etc/nginx/nginx.conf but it has no effect. Actually, Value for client_max_body_size directive is overwritten on domain level and is insufficient. To […]

How to Install Plesk Panel for Linux

Today in this post we will see how to install Plesk on Linux server : First of all download the auto installer from the following location : # wget http://autoinstall.plesk.com/plesk-installer Add execute permissions to the auto installer: # chmod +x plesk-installer Launch the auto installer: # ./plesk-installer If upgrading Plesk from a lower version: Command […]

Getting Nginx disabled message while trying to start Nginx service in Plesk

Sometimes we get the following error message, even if Nginx is enabled in plesk. /etc/init.d/nginx start Not starting nginx as it is disabled in config To make sure the nginx service is enabled in the server use the following commands. /usr/local/psa/admin/sbin/nginxmng -s Enabled chkconfig –list | grep nginx nginx 0:off 1:off 2:on 3:on 4:on 5:on […]

Unable to manage service by dnsmng: (‘start’, ‘dns’). Error: dnsmng Service /etc/init.d/bind9 failed to start

Today when i was trying to start the Bind service within plesk, the following error appears: Unable to make action: Unable to manage service by dnsmng: (‘start’, ‘dns’). Error: dnsmng: Service /etc/init.d/bind9 failed to start When i check the log messages into /var/log/messages: kernel: [ 6858.107517] type=1503 audit(1375351936.035:25): operation=”open”pid=21824 parent=21822 profile=”/usr/sbin/named” requested_mask=”::r” denied_mask=”::r” fsuid=107 ouid=0 name=”/var/named/run-root/etc/named.conf” […]