EZ Linux Admin random header image

Entries from September 2009

Apache error log settings

September 29th, 2009 by EZ linux · No Comments

This directive adjusts the verbosity of the messages recorded in the server’s error logs (see the ErrorLog directive). The following levels are available, in order of decreasing significance: emerg (emergencies: system is unusable); alert (action must be taken immediately); crit (critical conditions); error (error conditions); warn (warning conditions); notice (normal but significant condition); info (informational [...]

Click to continue →

Tags: Cheat Sheets · Linux Software / Scripts · Linux Tricks

Cpanel DNS only install

September 23rd, 2009 by EZ linux · No Comments

mkdir /home/cpins
cd /home/cpins
wget http://httpupdate.cpanel.net/latest-dnsonly
sh latest-dnsonly

Click to continue →

Tags: Cpanel and WHM

Linux rescue CD

September 23rd, 2009 by EZ linux · No Comments

SystemRescueCd is a Linux system rescue disk available as a bootable CD-ROM or USB stick for administrating or repairing your system and data after a crash. It aims to provide an easy way to carry out admin tasks on your computer, such as creating and editing the partitions of the hard disk. It comes with [...]

Click to continue →

Tags: Linux Back Up · Linux Software / Scripts · Linux Tricks

Cpanel internal server error

September 16th, 2009 by EZ linux · No Comments

When you get a internal server error with cpanel/whm it usually means your perl is not up to date on your server.
So first I would update that then try some of these other tricks:
Make sure you’re running Perl 5.8.8 by typing this: check perl -v (make sure it says 5.8.8)
If you see 5.8.7 or something [...]

Click to continue →

Tags: Cpanel and WHM

Rasing hard limits in apache maxclients through cpanel

September 15th, 2009 by EZ linux · 1 Comment

It’s trickier to raise the hard apache user limit now with apache 2.2. In 1.3 you just changed a number in the httpd.conf file. Now you need to do it in cpanel or it will be over written with each cpanel update.

Open WHM and click
Apache Configuration
Include Editor
Pre Main Include
Choose your apache version in the drop [...]

Click to continue →

Tags: Linux Images

Apache httpd failed ( apache error checking command )

September 8th, 2009 by EZ linux · No Comments

If apache ( httpd ) fails and says something like: httpd has failed, please contact the sysadmin.
Or just that is can’t work, the first step is to run the Linux command:
service httpd configtest
This should show any errors.
If you still get a error then you need to monitor the error_log file while you try to restart [...]

Click to continue →

Tags: Linux Commands · Linux Software / Scripts · Linux Tricks

Sort and find a directory size

September 2nd, 2009 by EZ linux · 1 Comment

The easiest and fastest way is:
du -sh *
But if you want to search recursively and display in order you need this one:
du -h –max-depth=1 /home/ | sort -n -r
And if you want even more depth try:
du -s ./* | sort -n| cut -f 2-|xargs -i du -sh {}
I recommend trying all three with a fairly [...]

Click to continue →

Tags: Linux Commands