Translated message

A translation of this page exists in English.

Red Hat Enterprise Linux を RHN に登録できず、dbus_bindings.DBusException が表示されます

Solution Verified - Updated -

Issue

  • "rhn_register" コマンドに失敗し、以下のメッセージが表示されます。
# rhn_register
An error has occurred:
dbus_bindings.DBusException
See /var/log/up2date for more information

# 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 such file or directory

# rhn_register
Traceback (most recent call last):
File "/usr/share/rhn/up2date_client/rhnregGui.py", line 1722, in autoActivateNumbersOnce hardwareInfo = hardware.get_hal_system_and_smbios()
File "/usr/share/rhn/up2date_client/hardware.py", line 863, in get_hal_system_and_smbios props = computer.GetAllProperties()
File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 25, in __call__ret = self._proxy_method (*args, **keywords)
File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 102, in __call__reply_message = self._connection.send_with_reply_and_block(message, timeout)
File "dbus_bindings.pyx", line 455, in dbus_bindings.Connection.send_with_reply_and_block dbus_bindings.DBusException:The name org.freedesktop.Hal was not provided by any .service files
  • また、以下のメッセージが表示される場合もあります。
Introspect error:The name org.freedesktop.Hal was not provided by any .service files
  • rhnreg_ks が、"dbus_bindings.DBusException" で失敗します。

Environment

  • Red Hat Enterprise Linux 4
  • Red Hat Enterprise Linux 5
  • rhn_register
  • rhnreg_ks

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