In a Linux System, services like Apache, mysql write temporary files to /tmp partition. If /tmp partition is full then there is a high chance of service could crash. To overcome this situation, we are going to use tmpwatch utility to clear the /tmp partition. Let’s install tmpwatch utility. If… Continue Reading Using tmpwatch to clear files from /tmp partition

Recently, we have upgraded MSSQL version from Evaluation version to Web Edition. We would like to post the step in this article which will help someone to upgrade MSSQL.   There are few things which we need to consider while upgrading. +  Lets take a backup of all the database.… Continue Reading Upgrade MS Sql Server from Evaluation version to Web Edition

We would like to post few random switch commands that we used in our  day to day life. To get the switch port of a MAC address, use the following command. # show mac address-table address xx:xx:xx:xx:xx:xx Aging time is 300 sec Vlan Mac Address Port Type ——– ——————— ———-… Continue Reading Random useful switch Commands

The following step by step guideline helps to install red5 on Centos Server.   1. Install Java. ======== yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel ======== 2. Install ant. ======== yum list | grep ant  // check whether ant is available in yum yum install ant —- Otherwise cd /root/tmp wget http://apache.mirrors.pair.com/ant/binaries/apache-ant-1.8.2-bin.tar.gz… Continue Reading Red5 Installation on Centos

We can use the following command to calculate the inode usage of a directory. It will be used in troubleshooting the “Disk quota” issue in cPanel server to find out which directory is using highest number of inodes ===== printf “===\nInode usage :$(pwd)\n===\n\n”;for i in `find -maxdepth 1 -type d|cut… Continue Reading Calculate inode usage

Sometimes, we need the mail logs to find out the reason why the mails has been bounced back. The following script will help you to find the same. Actually, this type of script needed for the server which is used for email marketing application.   As most of the email… Continue Reading Script to identify the reason for bounced back emails

CXS is a paid scanner which is more compatible with cPanel servers. The following script is to scan the server using CXS and will send the scan report to your email address. ===== #!/bin/bash DATE=$(date +%F_%H:%M) REPORT=/root/cxs-{DATE}.txt HOST=$(hostname) CXS=$(which cxs) EMAIL_ID=”youremail@domain.tld” $CXS –allusers –generate –report $REPORT if [ -s $REPORT… Continue Reading Script to scan the server using CXS

Sometimes, you would need to give sudo privilege to many users. For providing sudo privilege for a single user, refer the following post.   —– https://blog.pheonixsolutions.com/wheel-user-to-become-as-root-su-without-password/ —–   For providing sudo privilege for many users, create a group and add all the users in that group. So, if we give… Continue Reading Providing sudo privilege for a group.

The below article explains the steps to create an email accounts in cPanel. + Login to cPanel and search email options in search Box as shown in the Below Diagram and click on “Email Accounts”     + Enter that details of your email acocunts.     + Click on… Continue Reading Create an email account in cpanel – demo

The container may not stop some particular time and if you search in the logs, you may not get the exact reason for not stopping the node. ======= $ vzctl stop VEID –fast Stopping container … Unable to stop container: operation timed out =======   The following work around will… Continue Reading Unable to stop container operation timed out