Monday, March 11, 2013

Yum not working in Oracle Linux

We have a new Oracle Linux 5.8 box. Yum is not working in that box.

[root@oraclelinux129 ~]# yum install compat-db
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
Setting up Install Process
No package compat-db available.
Nothing to do

Fix :

cd /etc/yum.repos.d
I need to edit the repo file to set enabled=1 for the correct 
channel [ol5_u7_base] and then I can install the oracle-validated RPM 
using yum
yum install oracle-validated -y

Sunday, March 3, 2013


I need to block an email address in Qmailtoaster.(Incomming)

Take a backup of file /var/qmail/control/badmailfrom
If we add

(No need to reload cdb)

Qmailserver will block any mail from and it will block any users from domain (, etc...