Latest news

/tmp partition full. Howto increase /tmp partition size

/tmp partition full… How to increase /tmp partition? You can create a Virtual partition on Linux in case your server isn’t built with a /tmp partition OR you need to increase the disk space of the partition for some reason, and then you can mount the virtual partition as /tmp. […]

tailwatchd failed: A restart was attempted automagically

An email from a cPanel server with the “tailwatchd failed” warning message indicates that either the cpanel service is offline/down OR the cpanel service was restarted. The complete message looks like the following: tailwatchd failed @ Tue Jan 1 00:00:00 2010. A restart was attempted automagically Service Check Method: [check […]

cPanel domain Bandwidth Limit Exceeded

The message “Bandwidth Limit Exceeded” is received on accessing a website when it exceeds the allotted bandwidth for the domain. Bandwidth Limit Exceeded The server is temporarily unable to service your request due to the site owner reaching his/her bandwidth limit. Please try again later. Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.7a PHP/5.2.9 […]

How to auto-start a VPS on a host server/node reboot?

Sometimes, we need to reboot a host server/node for the new changes to take effect OR if it’s inaccessible. Many a times a VPS don’t auto-start itself once the host node comes online.  The reason is the ONBOOT parameter in the VPS configuration file. The “onboot” parameter decides whether to […]

Unable to start init, probably incorrect template

You may receive an error “Unable to start init, probably incorrect template” while starting a VPS. The “incorrect template” problem occurs when the “init” on the VPS goes missing. The init file resides under /sbin i.e. check ls -la /vz/private/VEID/sbin/init of a VPS. If the file is missing or the […]

Bash For Loop Examples

Question: How do I use bash for loop to repeat certain task under Linux / UNIX operating system? How do I set infinite loops using for statement? How do I use three-parameter for loop control expression? Answer: A ‘for loop’ is a bash programming language statement which allows code to be repeatedly […]

Using tmpfs for MySQL tmpdir setting

This is incredible, by the way. Any time MySQL needs to use a tmp table on disk, you can make it use RAM disk instead. WARNING: if the tmpfs partition you make isn’t big enough, MySQL will not be able to complete queries. Make sure you have enough RAM to […]

List of path to various log files in Plesk

Following is the list of path to different log files on a Plesk server. Plesk Installation Logs: /tmp/autoinstaller3.log Plesk Upgrade Logs including other applications: /tmp/psa-<app-name>…log Plesk Access and Error Logs: /usr/local/psa/admin/logs/httpsd_access_log /var/log/sw-cp-server/error_log Plesk Migration Logs: /usr/local/psa/PMM/logs/migration.log WatchDog Logs on Plesk: /usr/local/psa/var/modules/watchdog/log/monit.log Apache Web Server Logs on Plesk: /var/log/httpd/access_log /var/log/httpd/error_log Apache […]