RHN registration fails with "invalid literal for long(): Not Settable" error when running within a third party virtual machine

Solution Verified - Updated -

Issue

  • rhnreg_ks and rhn_register fail on a long conversion, eg:
# rhnreg_ks --username=USER --password=XXX --verbose --novirtinfo --nohardware --nopackages 
While running 'registration.new_system': caught 
<type 'instance'> : invalid literal for long(): Not Settable 
Problem registering system: 
While running 'registeration.new_system_user_pass': 
caught 
<type 'instance'> invalid literal for long(): Not Settable

Environment

  • Red Hat Enterprise Linux 5
  • One of the following virtualization solutions:
    • Ubuntu 8.04 LTS KVM virtualization
    • Proxmox KVM Virtual Environment 1.5
    • Virtual Iron ?

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