Site Archives RHEL and Ensim
Installing PECL geoip problem
I needed the pecl package geoip installed on one of my RHEL5 servers running PHP 5. This is an easy task but you might get a slightly confusing error which will stop you.
First off there are two ways to install a PECL package. First is to simply issue a pecl command at the prompt: [...]
Test your servers Virus filters – don’t assume
On one of our RHEL5 servers running Ensim, we noticed after the last big update of RHEL using 'yum update', that MailScanner was capped out, using tons of our CPU power. In the past when this happens I usually find it is ClamAV acting up. However, we were using on this server a free version [...]
Yum Lock table is out of available locker entries
Today while running a yum update on one RHEL5 server, I got the following error and python traceback:
PLAIN TEXT
CODE:
yum update
Loading "security" plugin
Loading "rhnplugin" plugin
rhel-i386-server-5 100% |=========================| 1.2 kB 00:00
primary.xml.gz 100% |=========================| 1.6 MB 00:01
rhel-i386-: ################################################## 4462/4462
Skipping security plugin, no data
Setting up [...]
Use smartd Smartmontools to prevent data loss
Are you responsibly for one or more servers. Perhaps you have a computer at home that you worry about at night, "What happens if my hard drive fails?" If this is you, then you need SmartMonTools. Actually, it comes pre-installed on most flavours of Linux these days, but amazingly enough, it is not set to [...]
Fixing Linux pam.d issue – Deprecated pam_stack module
This appeared thousands of times in my log:
PLAIN TEXT
CODE:
Deprecated pam_stack module called from service "sshd"
Not just for sshd, but also for pop and pop3 and smtp. Searching Google for a bit I came across this fix:
Change the lines like this:
PLAIN TEXT
CODE:
auth required pam_stack.so service=system-auth
to this:
PLAIN TEXT
CODE:
auth include [...]
Moving Subversion to RHEL5
This week we had to resolve an issue with Subversion on RHEL5. We use post-commit hooks to have external directories get an auto-update from the repository everytime someone check-in a file or update. This all worked fine on RHEL4 using sudoers. On RHEL5 we were getting Authentication failures each time we tried.
Turns out that RHEL5 [...]
Getting Ensim sendmail to listen on an alternate port
Updated: March 30th 2008
Setup a new server today! This time, instead of using port 465 and setting up the SSL certs etc, I wanted something a little easier to use. So, according to RFC 2476 at this link, I can use port 587.
On our Ensim 10.3 box which runs on RHEL 5, this is an [...]
Upgrading Subversion from my own built version to an RPM version
The other day I had to upgrade Subversion to v1.4.6 on an older server that was running Subversion v1.3.1. Seemingly this would be an easy task and I had done it many times before using Dag.weeirs.com packages. On this machine though, I kept getting conflicts when trying to install the RPM's.
Silly me had forgotten [...]
Listing disk and user quota on RHEL and Ensim
Today I need to quickly check the disk quota on a few of my clients. Since I keep forgetting what the command is to do this, I felt it worth posting here.
Taken from this Redhat page:
PLAIN TEXT
CODE:
repquota <mount -point>
On my server I entered 'repquota /' (without the quotes).
For more information checkout the redhat page [...]
Rebuild Ensim FILESYSTEMTEMPLATE to solve bizarre errors
A few weeks ago one of my Ensim 4.1.0 RHEL4 servers and have since had endless troubles. My most recent problems involved me not being able to create any new sites on the server, which sort of puts a damper on what my hosting business was supposed to do!
After some searching through forums and not [...]
Find It Quickly
Find what you're looking for quickly by using our keyword search. Can't find it? Try our links below.

