LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-18-2009, 08:19 AM   #1
tboyer
LQ Newbie
 
Registered: Dec 2009
Distribution: RHEL
Posts: 16

Rep: Reputation: 1
RHEL virtualization / RHN / yum update issue


Not a question, but this one has bitten me and my son, and I've not seen mention of it anywhere else - so I figured I'd warn some folks.

I'm running a Dell 2950 with RHEL 5.3 Xen as my virtualization host, with a half-dozen guests. There's a plan in place to move them all to kvm - but that's another post.

Yesterday, I got this ominous message when doing a redhat-update:

Error Message:
Abuse of Service detected for server defiant.denmantire.com

Error Class Code: 49
Error Class Info:
You are getting this error because RHN has detected an abuse of
service from this system and account. This error is triggered when
your system makes too many connections to Red Hat Network. This
error can not be triggered under a normal use of the Red Hat Network
service as configured by default on Red Hat Linux.

The Red Hat Network services for this system will remain disabled
until you will reduce the RHN network traffic from your system to
acceptable limits.


Abuse of Service?? Oh, no! What have I done!

Well... nothing. Red Hat did.

There's a cron job installed in /etc/cron.d when you're a Xen host, called rhn-virtualization.cron. It monitors the hypervisor and notifies Red Hat Network if there's been a change in status in any of the virtual guests, so that RHN can make sure your systems are up to date. Sounds logical.

In a recent update, this was changed. It now reports back to the mothership any time any of your guests flips from blocked to running, and vice versa. In other words, lots. Really lots - any time a guest is waiting for keyboard input, or disk IO, or CPU, or...

So if your machine checks in more than 100 times per day after the first 1500 checkins, you get flagged as abusive. And with a half-dozen machines running full out, I'm certain that my machines are checking in more often than that. Boom, error 49, and it's a real pain to get your machines re-registered.

Suggested fix is to change the cron job to once an hour or so.

My suggested fix is to nuke the cron job, and run

/usr/bin/yum update --security -y

as a daily cron job.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL 5 yum Problem no RHN subcsription ngrid Linux - Distributions 2 04-16-2010 10:43 AM
How to update RHEL offline without using RHN rajeev_ku Linux - Server 1 06-10-2009 09:21 AM
Rhn Vs. yum update juanb Linux - General 5 09-01-2004 02:07 AM
Rhn Vs. yum update juanb Linux - Software 1 08-31-2004 02:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration