[rhn-users] registering a system

Margaret Doll Margaret_Doll at brown.edu
Fri Jun 18 20:02:49 UTC 2004


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.

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 03:32 PM, Dan Wittenberg wrote:

> Try:  rhnreg_ks --username=<name> --password=<password>
> if that works then:
> up2date -p
> up2date -l
>
> Dan
>
> On Fri, 2004-06-18 at 14:12, Margaret Doll wrote:
>> I am trying to register a system running RH3 Enterprise using
>> rhn_register.  I already have an account with RedHat, and I have the
>> rights to five RH 3 Enterprise systems, none of which are registered.
>>
>> Linux name 2.4.21-15.EL
>>
>> I enter my account name in the rhn_register form.   The computer name
>> is picked up correctly without the subnets attached  (name not
>> name.subnet.subnet.subnet).   In Step 3, the form reads
>>
>> RedHat Linux version:  ERROR	CPU model:  ERROR
>> Hostname:		     ERROR	CPU Speed: ERROR
>> IP Address:		    ERROR	Memory:        ERROR
>>
>> and the hourglass continues to work.
>>
>> If I advance to the next windows, the program finds all the rpms on 
>> the
>> system and says it is going to download the information to RedHat.  
>> The
>> download never progresses.  The bar
>> does not move.  I don't get a completion.
>>
>> I have opened port 443 in /etc/sysconfig/iptables;  "telnet
>> xmlrpc.rhn.redhat.com 443" works.
>>
>> I have restarted rhnsd several times, although I never see rhnsd
>> running as a daemon.
>>
>> rhn_register --configure --nox shows
>>
>> 	serverURL:  https://xmlrpc.rhn.redhat.com/SMLRPC
>> 	noSSLserverURL:  http://xmlrpc.rhn.redhat.com/XMLRPC
>>
>> What should I try next?
>>
>>
>> _______________________________________________
>> rhn-users mailing list
>> rhn-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/rhn-users
> -- 
> ===========================
> Daniel Wittenberg
> Senior Unix Admin
> University of Iowa - ITS
>
>
> _______________________________________________
> 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