Hide Forgot
Description of problem: I'm using katello server and trying to register a rhel61 node using subscription manager. Node is registered successfully, however getting following "file not found" error: [root@dhcp201-195 ~]# subscription-manager register --username=admin --password=admin --org=sghai_org --environment=testing The system has been registered with id: ba853c2a-5e36-4850-9378-3e637552e4b2 org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory [root@dhcp201-195 ~]# subscription-manager unregister org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory Version-Release number of selected component (if applicable): [root@dhcp201-195 ~]# rpm -qa | grep rhsm python-rhsm-0.96.12-1.el6.noarch [root@dhcp201-195 ~]# rpm -qa | grep subscription-manager subscription-manager-0.96.9-1.el6.x86_64 [root@dhcp201-195 ~]# [root@dhcp201-195 ~]# rpm -qa | grep dbus dbus-libs-1.2.24-4.el6_0.x86_64 dbus-python-0.83.0-6.1.el6.x86_64 dbus-1.2.24-4.el6_0.x86_64 dbus-glib-0.86-5.el6.x86_64 [root@dhcp201-195 ~]# How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory Expected results: subscription-manager tool should not raise any error while performing register/unregister or any other operation. Additional info:
I have noticed this using the Minimal install option from the RedHat 6.1 DVD.
I just did a "Minimal" install of /rel-eng/RHEL6.3-20120307.8/6.3/Server/x86_64/ [root@jsefler-r63-server-minimal ~]# tail -5 /root/anaconda-ks.cfg %packages @core @server-policy %end [root@jsefler-r63-server-minimal ~]# rpm -qa | grep subscription-manager subscription-manager-0.99.9-1.el6.x86_64 [root@jsefler-r63-server-minimal ~]# rpm -qa | grep dbus dbus-libs-1.2.24-5.el6_1.x86_64 dbus-glib-0.86-5.el6.x86_64 dbus-python-0.83.0-6.1.el6.x86_64 [root@jsefler-r63-server-minimal ~]# ls /var/run/dbus/system_bus_socket ls: cannot access /var/run/dbus/system_bus_socket: No such file or directory [root@jsefler-r63-server-minimal ~]# subscription-manager register --username qa Password: The system has been registered with id: 57fa07a3-8a88-400e-979c-043c1ecd4e29 [root@jsefler-r63-server-minimal ~]# subscription-manager unregister System has been un-registered. [root@jsefler-r63-server-minimal ~]# No org.freedesktop.DBus.Error was encountered during a register and unregister on a "Minimal" install of rhel63 server. Moving to VERIFIED
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0804.html