~/.accesshash for root /root/.accesshash
Entries Tagged as 'Cpanel and WHM'
Where does cpanel store the whm remote access key?
January 15th, 2011 by EZ linux · No Comments
Tags: Cpanel and WHM
Cpanel based admin mail manager ( mailmanager )
October 27th, 2010 by EZ linux · No Comments
1. wget http://www.configserver.com/free/cmm.tgz 2. Untar the distribution: tar -xzf cmm.tgz 3. cd into the directory created and run the install script: cd cmm/ sh install.sh 4. Login to WHM and scroll to the bottom of the left hand menu and you should see “ConfigServer Mail Manage” If you want to uninstall, simply: rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmm.cgi [...]
Tags: Cpanel and WHM · Linux Software / Scripts
A script to not run back ups on websites over 10 gigs in cpanel
June 23rd, 2010 by EZ linux · No Comments
To avoid sites too big from being back upped, just run this script in a weekly cron from root. #!/bin/bash max_size=”2097152″ # This is 2097152KB or 2GB for u in `ls /var/cpanel/users/`; do size=$(repquota -a | grep ${u}|awk ‘{print $3}’|sort -k 1 -nr|head -1); if [ "${size}" -ge "${max_size}" ]; then echo “${u}” >> /tmp/cpbackup-userskip.conf; [...]
Tags: Cpanel and WHM
Reset default emails to fail in cpanel
June 23rd, 2010 by EZ linux · No Comments
Run each line from Root command: replace :blackhole: :fail: — /etc/valiases/* replace :blackhole :fail: — /etc/valiases/* replace blackhole: :fail: — /etc/valiases/* replace blackhole :fail: — /etc/valiases/* replace ” fail:” ” :fail:” — /etc/valiases/* replace /dev/null :fail: — /etc/valiases/* cd /etc/valiases/ grep fail * | grep -v ” :fail:”
Tags: Cpanel and WHM
Reset an accounts bandwidth in CPanel
June 23rd, 2010 by EZ linux · No Comments
ssh to your server cd /var/cpanel/bandwidth.cache/ vi domainname.com delete the numbers in that file and retype 0 instead of the number save and quit and show bandwidth usage in WHM you will find its 0
Tags: Cpanel and WHM
setroubleshoot bug
May 24th, 2010 by EZ linux · No Comments
There is a bug with the new option in Centos 5 called setroubleshoot. The bug spins the program over and over causing high memory and sometimes CPU use. Unfortunately there is no permanent fix yet, but if you see something like this high in your daily process log: /usr/bin/python -E /usr/sbin/setroubleshootd To fix for now [...]
Tags: Cpanel and WHM · Linux Commands · Linux Software / Scripts
CPanel transfer error
May 8th, 2010 by EZ linux · No Comments
First try to upgrade perl this is the main reason for a cpanel error. http://www.ezlinuxadmin.com/2009/08/upgrading-perl-on-cpanel/ After that if you still have a issue run this: /scripts/perlinstaller –force YAML::Syck or Install the YAML::Syck perl module in whm under module installers.
Tags: Cpanel and WHM
Mod_cband the new Mod_Bandwidth
March 29th, 2010 by EZ linux · 3 Comments
I spent hours trying to get mod_bandwidth to work simply because I have used it for years. But now with Apache 2.0 times have changed and there is a better option for Linux and it’s free. The new mod to regulate bandwidth and more is called Mod_cband I’m not sure what cband means but I [...]
Tags: Cheat Sheets · Cpanel and WHM · Linux Security · Linux Software / Scripts · Linux Tricks
Raise apache 2.0 max clients hard limit in cpanel
March 23rd, 2010 by EZ linux · No Comments
Apache 2.0 makes raising the max client from the default 256 hard limit a little harder now. If you have cpanel then it’s even a little harder or I should you just need to know what to do, figuring it out is a shot in the dark. One main difference is you have raise the [...]
Tags: Cpanel and WHM · Linux Software / Scripts · Linux Tricks
Repair DNS scripts and tips
March 19th, 2010 by EZ linux · No Comments
Fixing DNS is a tricky thing, with cpanel there is a couple steps to try first. DNS failed you are not sure why, try this first: /scripts/cleandns /scripts/rebuildnamedconf Still not working, try this: /scripts/rebuilddnsconfig /scripts/fixdns Basically DNS has about 5 files that need to all be in sync for named DNS to run. I highly [...]
