The current /etc/hosts looks like this:
127.0.0.1 localhost.localdomain localhost localhost
::1 localhost6.localdomain6 localhost6
I tried adding the line
1.2.3.4 comp1.domain comp1
But doesn't work. I still have the same error.
I'm using fedora core 8.
Thanks and Regards,
-Shweta
> Shweta Bhupendra Shah wrote:
>
>> ERROR "gethostbyname(comp1) failed, errno = 25" at line 187 in file
>> my_hostname.cpp
>
> Check /etc/hosts. Fedora puts "comp1" on 127.0.0.1 line, what you need is
> 127.0.0.1 localhost.localdomain localhost 1.2.3.4 comp1.dom.ain
> comp1
>
> Use vi to edit the file (you need to be root).
>
> Which version of Fedora is it? -- there are other broken bits in different
> Fedora releases.
>
> Dima _______________________________________________ Condor-users mailing
> list To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx
> with a subject: Unsubscribe You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/
>
>
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/