My Oracle Support Banner

Error 'Importerror: Cannot Import Name Rhnserver' on RHEL5 Server After Converting to ULN (Doc ID 1168067.1)

Last updated on AUGUST 04, 2018

Applies to:

Linux OS - Version: 2.6.18-92.el5 and later   [Release: RHEL5U2 and later ]
Linux x86-64


After converting to ULN on a RHEL5 server, the root account has been receiving the following email every 2 minutes:
Message 1:
From root@xxx xxx
Date: xxx
From: root@xxx
To: root@xxx
Subject: Cron <root@xxx> python /usr/share/rhn/virtualization/
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>

Traceback (most recent call last):
File "/usr/share/rhn/virtualization/", line 38, in ?
from virtualization.notification import Plan, \
File "/usr/share/rhn/virtualization/", line 28, in ?
from up2date_client import rhnserver
ImportError: cannot import name rhnserver

The email is coming from cron job /etc/cron.d/rhn-virtualization.cron


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.