Hi,

Am 09.05.2012 um 09:03 schrieb Rémy Dernat:

> This is very interesting : gethostbyname is working but not gethostbyaddr...
> 
> # /opt/gridengine/utilbin/lx26-amd64/gethostbyaddr compute-0-

Isn't it used the other way round? I mean specifying an address for the above 
command and a

> error resolving ip "compute-0-4": can't resolve ip address (h_errno = 
> HOST_NOT_FOUND)
> # /opt/gridengine/utilbin/lx26-amd64/gethostbyaddr compute-0-4.local
> error resolving ip "compute-0-4.local": can't resolve ip address (h_errno = 
> HOST_NOT_FOUND)
> # /opt/gridengine/utilbin/lx26-amd64/gethostbyname 10.1.255.249

name here for the above to get the other info. There is also man page `man 
gethostbyaddr`.

-- Reuti


> Hostname: compute-0-4.local
> Aliases:  compute-0-4 
> Host Address(es): 10.1.255.249 
>  
> /opt/gridengine/utilbin/lx26-amd64/gethostbyaddr 10.1.255.249
> Hostname: compute-0-4.local
> Aliases:  compute-0-4 
> Host Address(es): 10.1.255.249  
> 
> Regards
> 
> 
> 2012/5/4 Reuti <[email protected]>
> Hi,
> 
> Am 02.05.2012 um 18:06 schrieb Rémy Dernat:
> 
>> I have a very strange hostname/IP resolve problem :
>> 
>> 
>> From qmaster, if I qping a compute node :
>> qping compute-0-4 537 execd 1
>> 
>> Answer of compute-0-4 :
>> 
>> endpoint compute-0-4.local/execd/1 at port 537: can't find connection
>> access denied: client IP resolved to host name "". This is not identical to 
>> clients host name ""
>> endpoint compute-0-4.local/execd/1 at port 537: can't find connection
> 
> There are some tools in $SGE_ROOT/utilbin/lx24-amd64/ like gethostbyaddr  and 
> gethostbyname. Do they all output the same? Do you use any host_aliases?
> 
> -- Reuti
> 
> 
> 
>> I have the same problem for all my nodes but this problem does not occur 
>> with qsub or qstat... ! So SGE is working fine (except that little error).
>> 
>> I know that I have changed some informations in my /var/named/... files and 
>> in my /etc/hosts , but I can not find my error.
>> 
>> The qping in the other direction, execd to qmaster, is working fine.
>> 
>> The result of 
>> hostname -s
>> on qmaster give the content of $SGE_ROOT/$SGE_CELL/common/act_qmaster
>> on all nodes and on qmaster.
>> 
>> If I try to ping qmaster from my nodes, IP address resolution is ok (I tried 
>> also with nslookup).
>> 
>> 
>> My version of SGE is old : GE 6.2u2_1
>> 
>> How it should be configured on qmaster (named and host file ?) ?
>> 
>> Thanks
>> 
>> -Regards,
>> 
>> Remy
>> _______________________________________________
>> users mailing list
>> [email protected]
>> https://gridengine.org/mailman/listinfo/users
> 
> 

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to