Latest news

How to find/locate a Spammer on a Linux Plesk server?

If you feel emails are saturated in the Plesk Qmail mail queue, there is a possibility that your Plesk server is been used for sending spam emails. On a Plesk server relaying is not allowed by default so following are the ways spamming is mostly done. They are explained below […]

ERROR: Can’t open or parse the config freshclam.conf

Error While updating the ClamAV database using the ‘freshclam’ command, you may receive the “can’t open or parse the config file freshclam.conf” message. root@vps:~# freshclam ERROR: Please edit example config file /usr/local/etc/freshclam.conf ERROR: Can’t open/parse the config file /usr/local/etc/freshclam.conf The reason is, with the default installation, the ‘Example’ variable is […]

cron Error: bad username; while reading /etc/cron.d file on Linux

Error: Iam getting the following error in my cron job log file /var/log/cron.log: Aug 22 01:59:01 server2 cron[7510]: Error: bad username; while reading /etc/cron.d/backups I have job entry as follows to run a job at 00:50 every day for root user: 50 0 * * * /etc/cron.d/backups How do I […]

How to install Tomcat 7 on a cPanel server?

cPanel’s easyapache script by default install Tomcat version 5.5 and provides no option to upgrade to version 7.x if required, so people who requires Tomcat 7 will have to install/upgrade tomcat manually but the newer version won’t be recognized by cPanel by default and people will have to configure domains […]

How to Truncate SQL Server 2012 Transaction Logs

Transaction logs in SQL Server 2012 tend to grow over time, which can sometimes fill all your available disk space. To avoid this, SQL Server has a log truncating operation (free up space in the logical log for reuse of the transaction log). Log files truncate automatically, depending on the recovery model: […]

How to enable quotas on CT Proxmox for use DirectAdmin

Question: How to enable quotas on CT proxmox for use DirectAdmin I want to do it now. [root@host1 ~]# /usr/sbin/repquota /home repquota: Mountpoint (or device) /home not found or has no quota enabled. repquota: Not all specified mountpoints are using quota. [root@host1 ~]# Solution: you ssh on server promox and try following […]

How to Solve WordPress Could Not Create Directory

ERRO: If you’re trying to upgrade WordPress or install a plugin and getting the “could not create directory” error, there are two levels required to solving it. Here’s an example of the error sequence Downloading update from… Unpacking the update… Could not create directory. /wp-content/upgrade/yourplugin.tmp Return to Plugins page […]

unneeded services

Step 1: Now we will remove all software groups, to get Centos to a minimum Step 1.1: Run grouplist to see what software groups that are installed: yum grouplist Step 1.2: Remove all groups that are installed EXCEPT “Yum Utilities” yum groupremove “GroupName” Step 2: Lets disable unneeded services: chkconfig […]

Howto: disable Mod Security for an account

How to Turn off Mod Security OR How to disable Mod Security for an account? Mod_Security for an account is turned off/disabled on depending upon the version of Mod_Security i.e. it can be disabled in .htaccess file in modsecurity1 and have to disable it in VirtualHost entry of a domain […]