Red Hat Bugzilla – Bug 41435
up2date and rhn_register problems
Last modified: 2015-01-07 18:45:48 EST
Description of Problem:
when running rhn_register i get this output:
Traceback (innermost last):
File "/usr/lib/python1.5/site-packages/libglade", line 28 __call__
ret = apply(self.func, a)
File "/usr/share/rhn/register/gui.py", line 417, in
File "usr/share/rhn/register/hardware.py", line261, in read_network
netdict['ipaddr'] = gethostbyname(gethostname())
socket.error: host not found
ive tried twice whith the same result
then i tried up2date, and got errormessage about Software Manager
funktionality not being enabled, this has now happend 3 times then i did
as i vas told i clicked on my profile and wanted it to become activated
but nothing happened exept for ending up here
Steps to Reproduce:
Assigned to the owner of component
It's September and this bug isn't fixed yet!
can you attach a copy of /etc/hosts?
The only time I've seen this is when the machine advertised a hostname
that didnt map to any ip address it knows about.
since theres no activity on this, and the only way that
error can occur is with an invalid hostname, I'm closing
Current versions of the code will just assume the ip
for the default hostname is 127.0.0.1, since it's impossible
to tell otherwise with an invalid hostname.