In this article we will guide you through the installation of ClamAV on CentOS. Install CalmAV: To install require ClamAV packages,Use the command below: yum install clamav clamd Start the clamd service and set it to auto-start /etc/init.d/clamd on chkconfig clamd on /etc/init.d/clamd start Configure Daily Scan: In this example, we will configure a cronjob […]
How to Install Crontab in CentOS/RHEL
Linux crontab is similar to windows task schedulers. Crontab are very useful for routine tasks like scheduling system scanning, daily backups etc. To check Crontab is installed or not, try to execute crontab -l command: […]
httpd: apr_sockaddr_info_get() failed for “hostname”
When I start httpd service,I get a warning : This error is caused by the improper configuration of hostname of server,to fix it follow the steps below: There are three methods for fixing, choose one as you preferred. 1- Edit Hosts File and add myservername declaration in the end of /etc/hosts : $ sudo nano -w […]
Enable and Disable Ping in Windows Server
You can enable and disable ping on windows server,Go to command prompt. To Enable ping from the command prompt type the following command: […]
PleskFatalException StatInfo->getProductVersion failed linux server
While accessing the Plesk control panel, you may get an error message as follows: This error is mostly caused due to a failed Plesk upgrade OR by removing/installing some Plesk modules. To fix the issue do the following: First, check the Plesk version installed on the server rpm -qi psa Note the version and release values: […]
Plesk error phpMyAdmin file not found while exporting database
If you get the following error while exporting database, you can follow the steps below: Some times the memory limit for php is too low for performing this operation. So we need to increase the memory_limit. For that go to: /usr/local/psa/admin/conf/ Edit the php.ini file and Iincrease the memory_limit for the file. Now restart the plesk by […]
How to add DNS records on Plesk panel:
You can add DNS records on your Plesk panel by following the steps below, Login to your Plesk Panel using the URL https://yourdomain.com:8443 and click on “Domains” to list them. […]
Find Spamming Account in Postfix or Plesk
This following commands sorted a list of the accounts those have the most mail in the queue: mailq|grep ^[A-F0-9]|cut -c 42-80|sort |uniq -c|sort -n|tail grep “status=sent” /var/log/maillog |cut -d “=” -f 2 |cut -d “>” -f 1 |cut -d “<” -f 2 |sort -n |uniq -c grep “dovecot” /var/log/maillog |grep “Aborted login” |cut -d “,” […]
How to Add spf Record in cPanel
To add spf record in cPanel, Go to the option “Email Authentication” under the section “mail” within cPanel. We can now enable SPF protection by clicking the “Enable” button under the SPF. Now the basic SPF record will be setup for our domain. Also we can edit the advanced SPF settings below the enable option. […]
Unable to login to FTP Windows server plesk
If you are unable to login to FTP in windows server using plesk panel.Use the following steps for troubleshooting. ftp cpanelplesk.com Connected to cpanelplesk.com. 220 Microsoft FTP Service User (cpanelplesk.com:(none)): admin 331 Password required for admin. Password: 530-User cannot log in, home directory inaccessible. Win32 error: Access is denied. Error details: Authorization rules denied the access. […]