The command rhn-schema-version throws the error "global name '__DB2' is not defined"

Solution Unverified - Updated -

Issue

  • The command rhn-schema-version throws the error below:
# rhn-schema-version
Traceback (most recent call last):
  File "/usr/bin/rhn-schema-version", line 49, in <module>
    rhnSQL.initDB()
  File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/__init__.py", line 142, in initDB
    del __DB2
NameError: global name '__DB2' is not defined

Environment

  • Red Hat Satellite 5.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content