[rhn-users] registering a system

Margaret Doll Margaret_Doll at brown.edu
Fri Jun 18 20:56:53 UTC 2004


You were correct; I was careless.  rhnreg_ks doesn't work.

root at name root]# rhnreg_ks --username=xxx --password=xxx
Traceback (most recent call last):
   File "/usr/sbin/rhnreg_ks", line 326, in ?
     main()
   File "/usr/sbin/rhnreg_ks", line 281, in main
     hardwareList = hardware.Hardware()
   File "/usr/share/rhn/up2date_client/hardware.py", line 520, in 
Hardware
     ret = read_network()
   File "/usr/share/rhn/up2date_client/hardware.py", line 348, in 
read_network
     hostname, ipaddr = findHostByRoute()
   File "/usr/share/rhn/up2date_client/hardware.py", line 320, in 
findHostByRoute
     (server, port) = string.split(server_port, ':')
   File "/usr/lib/python2.2/string.py", line 122, in split
     return s.split(sep, maxsplit)
AttributeError: 'NoneType' object has no attribute 'split'

On Friday, June 18, 2004, at 04:47 PM, Dan Wittenberg wrote:

> Did you use -username or --username?  did you use --password?  Your
> first email looked like it, but your last email seemed to indicate you
> were using just one - and and the wrong password option...
>
> Dan
>
> On Fri, 2004-06-18 at 15:46, Margaret Doll wrote:
>
>> rhnreg_ks -username=user password=passwd   comes back with a list of
>> options
>> Error parsing command list arguments: option -u not recognized
>> Usage: rhnreg_ks [options]
>
>>>
>>> On Fri, 2004-06-18 at 15:02, Margaret Doll wrote:
>>>> When I try rhnreg_ks, I get the error
>>>>
>>>> rhnreg_ks --username=<name> --password=<passwd>
>>>>
>>>> 		where I substituted my RedHat account name and password in the 
>>>> line
>>>> above.
>>>>
>>>>
>
>
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
>





More information about the rhn-users mailing list