This usually means you need to upgrade Perl on the server. Here is a example of a md5sum error.
The remote server didn’t report a correct md5sum of the archive. Please ensure you selected the correct type of remote server.
To fix upgrade Perl as shown here:
http://www.ezlinuxadmin.com/2009/08/upgrading-perl-on-cpanel/
Entries Tagged as 'Linux Commands'
Getting a md5sum error when tranferring a cpanel account?
March 3rd, 2010 by EZ linux · No Comments
Tags: Cpanel and WHM · Linux Commands · Linux Software / Scripts
My new favorite rsync command
March 3rd, 2010 by EZ linux · No Comments
rsync -vae ssh 12.123.123.123:/home/dwhsbackup/daily/username/ /backup/cpbackup/daily2/username/ –bwlimit=10000 –exclude-from ‘/root/exclude.txt’
Tags: Linux Commands · Linux Software / Scripts · Linux Tricks
Calm down rsync if it overloads your IO memory or CPU
March 3rd, 2010 by EZ linux · No Comments
The trick is to limit I/O bandwidth for rsync.
The –bwlimit option limit I/O bandwidth. You need to set bandwidth using KBytes per second. For example, limit I/O bandwidth to 10000KB/s (9.7MB/s), enter:
rsync –delete –numeric-ids –relative –delete-excluded –bwlimit=10000 /path/to/source /path/to/dest/?
10 megs a second is plenty of speed and will keep the server running smoothly when your [...]
Tags: Cheat Sheets · Linux Commands · Linux Security · Linux Software / Scripts · Linux Tricks
rsync running slow?
March 3rd, 2010 by EZ linux · No Comments
Today I was transferring files through rsync it was taking forever, my guess was the new server or old server was out of memory so I killed some procs and even rebooting the server but still it was crawling. So I thought I would think out of the box and after a couple trial and [...]
Tags: Hardware · Linux Commands · Linux Tricks
Free /usr partition space by a symlink to domlogs
February 10th, 2010 by EZ linux · No Comments
First move the domlogs folder to the backup partition:
mv /usr/local/apache/domlogs /backup
Then create a symbolic link to it:
ln -s /backup/domlogs /usr/local/apache/domlogs
Tags: Linux Commands · Linux Tricks
Who command
February 4th, 2010 by EZ linux · No Comments
This command will show who is logged into your system.
who
Tags: Linux Commands
Show All Running Processes in Linux
January 21st, 2010 by EZ linux · No Comments
To see every process type:
ps -A
To see every process except what’s running from root type:
ps -U root -u root -N
Tags: Cheat Sheets · Linux Commands · Linux Tricks
Flushing iptables
January 21st, 2010 by EZ linux · No Comments
iptables can block many different things and often it will block good servers inside of a network. The best to see if it’s a iptables issue. Try to clean them out with this if you have CSF on the server:
csf -f
If you still have a issue try to stop iptables like this:
service iptables stop
Tags: Linux Commands · Linux Security · Linux Tricks
Rebooting a linux server
December 29th, 2009 by EZ linux · No Comments
The best way is:
shutdown -r now
This will tell the server to take it’s time so to speak and reboot when it’s ready.
For a hard reboot simply put:
reboot
In most cases a hard reboot is fine unless you have file errors and the servers needs to clean them up before a reboot.
Tags: Linux Commands
Tar and untar
November 27th, 2009 by EZ linux · 1 Comment
To get the files out of a tarball, you can use the following commands:
tar xvf something.tar
If the tarball has also been gzipped (compressed), you can use the following command:
tar xvfz something.tar.gz
If you only want certain directories from the tarball, do this:
tar xvzf something.tar.gz */dir.you.want/*
If you have a .tar.bz2 file, then you need bzip2 installed [...]
Tags: Linux Commands
