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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.