This is the script used to send email when any user logged in to the Linux server. Step 1 : Login to the server Step 2 : vi .bash_profile Step 3 : Copy paste the script below echo ‘ALERT – Root Shell Access (root@IP ADDRESS) on:’ `date` `who` | mail… Continue Reading Shell script – Logged in mail

Linux, Windows, PHP, MySQL, cPanel, Plesk , etc and their fixes: Server load and reduction methods

How to check the server load and methods to reduce it? Methods to check: 1) bash12:~$ w 11:31:50 up  9:15,  8 users,  load average: 0.81, 0.90, 0.91 2) bash12:~$ top -c Tasks: 144 total,   2 running, 141 sleeping,   0 stopped,   1 zombieCpu(s): 28.7%us,  3.0%sy,  0.0%ni, 68.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%stMem:    994376k… Continue Reading Server load and reduction methods

Account Creation Status: failed (out of available ip addresses) Account Creation Status: failed (Your system has run out of available ip addresses, or you do not have permission to use any more ip addresses. (Unable to find an ip address.) ) You receive the “Account Creation Status: failed” error message… Continue Reading cPanel-Account creation failed

Very few people know command line tools used in windows. So this is a little contribution for those. at (windows XP/2000)Scheduling utility. bootcfg (XP only)This utility allows you to set up your boot options, such as your default OS and other loading options. cacls (XP, 2000, & NT4.0)Changes the ACLs… Continue Reading Windows command line

I have moved my domain to new hosting company. I used RVsitebuilder to create my domain in my old hosting provider. After the migration, my domain gives me lot of errors saying that “unable to fetch the file from RVsitebuilder”. I need to download the project from my old server.… Continue Reading Rvsitebuilder- How to import projects of “RVsitebuilder” from one server to another

WHM : Web Host Manager ==================== http://IPaddress:2086 http://IPaddress/whm WHM related files =============== /var/cpanel – whm files + bandwidth/ – rrd files of domains + username.accts – reseller accounts are listed in this files + packages – hosting packages are listed here + root.accts – root owned domains are listed here… Continue Reading Cpanel Back End Files

How to enable/Disable cPanel webmail interface for a user account or in server. Customer wants to enable only the HORDE webmail interface for his domain and disable the rest. Usually there are three (3) webmail clients (horde, squirrel mail, roundcube). However, I was advised to make sure that a specific… Continue Reading cPanel: Enable/disable specific webmail application per user

Unable to delete an email account from cPanel  The e-mail address admin@mydomain.com deleted successfully.Sorry, you do not have access to the domain mydomain.com The error message is displayed when you delete an email account of a domain from cPanel >> ‘Email Accounts’ that is either shifted under another users account… Continue Reading Remove email account at the back end.

HowTo: Add iptable modules on a VPS If you receive the following error on restating iptables on a VPS: error message: from firewall software ~ iptables: Unknown error 4294967295 You need to make sure the required iptable modules are loaded in the host server kernel. You have to use modprobe to… Continue Reading Add IP module in VZCTL