vineri, 25 aprilie 2014

RHEL 6.5 rhn_register error

ERROR :


  File "/usr/sbin/rhn_register", line 76, in <module>
    app.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 84, in run
    sys.exit(self.main() or 0)
  File "/usr/sbin/rhn_register", line 58, in main
    ui.main()
  File "/usr/share/rhn/up2date_client/tui.py", line 1278, in main
    tui.run()
  File "/usr/share/rhn/up2date_client/tui.py", line 1226, in run
    win = self.windows[index](self.screen, self)
  File "/usr/share/rhn/up2date_client/tui.py", line 460, in __init__
    hw_activation_code = rhnreg._activate_hardware(self.tui.userName, self.tui.password)
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 650, in _activate_hardware
    login, password, hardwareInfo)
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 681, in activateHardwareInfo
    hardwareInfo, other)
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 53, in __call__
    raise self.__exception_from_fault(f)
<class 'up2date_client.up2dateErrors.AuthenticationOrAccountCreationError'>: Error validating data at server:
Error Message:
    Invalid username/password combination
Error Class Code: 2
Error Class Info:
     Invalid username and password combination.
     If you are using email address as a login, try using your associated
     login name instead.
Explanation:
     An error has occurred while processing your request. If this problem
     persists please enter a bug report at bugzilla.redhat.com.
     If you choose to submit the bug report, please be sure to include
     details of what you were trying to do when this error occurred and
     details on how to reproduce this problem.




RESOLUTION


register from command line
#subscription-manager register --name systemname --consumerid=afbefc25-f26f-XXZ3-af1b-76a52332hGb4f7af --autosubscribe