[rhn-users] registering a system

Todd Warner taw at redhat.com
Tue Jun 22 13:41:17 UTC 2004


On Fri, 18 Jun 2004, Margaret Doll wrote:

> 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'

I am poking people about this.
-Todd

> 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
> >
> 
> 
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
> 

-- 
____________
 /odd Warner                                    <taw@{redhat,pobox}.com>
          Bit Twiddler - Operation Cheetah Flip - Red Hat Inc.
---------------------gpg info in the message headers--------------------
"A good library collection should have something to offend everyone.
 If they don't, they are not doing their job."
     -Jan Bojda (children's librarian; Evanston, Illinois)





More information about the rhn-users mailing list