rhn_register returns the error "There was an error while reading the hardware info from the bios"

Solution Verified - Updated -

Issue

  • Whenever  registering a machine, gets the following message in /var/log/up2date:

    [Mon Aug  9 11:34:21 2010] rhn_register There was an error while reading the hardware info from the bios. Traceback:
    [Mon Aug  9 11:34:21 2010] rhn_register 
    Traceback (most recent call last):
      File "/usr/share/rhn/up2date_client/tui.py", line 1510, in _activate_hardware
        hardwareInfo = hardware.get_hal_system_and_smbios()
      File "/usr/share/rhn/up2date_client/hardware.py", line 861, in get_hal_system_and_smbios
        computer = get_hal_computer()
      File "/usr/share/rhn/up2date_client/hardware.py", line 760, in get_hal_computer
        bus = dbus.SystemBus()
      File "/usr/lib/python2.4/site-packages/dbus/_dbus.py", line 260, in __new__
        return Bus.__new__(cls, Bus.TYPE_SYSTEM, use_default_mainloop, private)
      File "/usr/lib/python2.4/site-packages/dbus/_dbus.py", line 99, in __new__
        bus._connection = dbus_bindings.bus_get(bus_type, private)
      File "dbus_bindings.pyx", line 1692, in dbus_bindings.bus_get
    dbus_bindings.DBusException: Failed to connect to socket /var/run/dbus/system_bus_socket: No existe el fichero o el directorio
    [Mon Aug  9 11:34:21 2010] rhn_register 
    Traceback (most recent call last):
      File "/usr/sbin/rhn_register", line 82, in ?
        app.run()
      File "/usr/share/rhn/up2date_client/rhncli.py", line 65, in run
        sys.exit(self.main() or 0)
      File "/usr/sbin/rhn_register", line 64, in main
        ui.main()
      File "/usr/share/rhn/up2date_client/tui.py", line 1721, in main
        tui.run()
      File "/usr/share/rhn/up2date_client/tui.py", line 1608, in run
        if self._show_subscription_window() == False:
      File "/usr/share/rhn/up2date_client/tui.py", line 1562, in _show_subscription_window
        self.password)
      File "/usr/share/rhn/up2date_client/rhnreg.py", line 583, in getRemainingSubscriptions
        smbios = hardware.get_hal_smbios()
      File "/usr/share/rhn/up2date_client/hardware.py", line 874, in get_hal_smbios
        computer = get_hal_computer()
      File "/usr/share/rhn/up2date_client/hardware.py", line 760, in get_hal_computer
        bus = dbus.SystemBus()
      File "/usr/lib/python2.4/site-packages/dbus/_dbus.py", line 260, in __new__
        return Bus.__new__(cls, Bus.TYPE_SYSTEM, use_default_mainloop, private)
      File "/usr/lib/python2.4/site-packages/dbus/_dbus.py", line 99, in __new__
        bus._connection = dbus_bindings.bus_get(bus_type, private)
      File "dbus_bindings.pyx", line 1692, in dbus_bindings.bus_get
    dbus_bindings.DBusException: Failed to connect to socket /var/run/dbus/system_bus_socket: No existe el fichero o el directorio
    

Environment

  • Red Hat Enterprise Linux 5

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