[rhn-users] problems with rhn_register... but only in some cases...

Evert Meulie evert.meulie at telio.no
Mon Mar 1 10:21:49 UTC 2004


Hi everyone!

Weird case here... Several servers, all RHEL2.1, all behind a http
proxy. Some of them can successfully register with rhn_register,
others come back with:
Traceback (innermost last):
  File "/usr/sbin/rhn_register", line 233, in ?
    main()
  File "/usr/sbin/rhn_register", line 214, in main
    tui.main()
  File "/usr/share/rhn/register/tui.py", line 1042, in main
    tui.run()
  File "/usr/share/rhn/register/tui.py", line 986, in run
    win = self.windows[index](self.screen, self)
  File "/usr/share/rhn/register/tui.py", line 567, in __init__
    tui.hardware = hardware.Hardware()
  File "/usr/share/rhn/register/hardware.py", line 374, in Hardware
    ret = read_network()
  File "/usr/share/rhn/register/hardware.py", line 296, in read_network
    hostname, ipaddr = findHostByRoute()
  File "/usr/share/rhn/register/hardware.py", line 273, in findHostByRoute
    s.connect((server, 80))
socket.error: (111, 'Connection refused')


Lynx has no problems accessing the internet on the faulty system with use of
the proxy, so the proxy seems to be ok.


I've tried copying /etc/sysconfig/rhn/rhn_register from a working system to a
faulty one, but it still doesn't work. From this I conclude the problem is not
in this config file, but somewhere else...

Who has any suggestions on where else to look...?


Regards,
   Evert Meulie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3723 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20040301/b0d564f8/attachment.bin>


More information about the rhn-users mailing list