Hi,

This is very interesting : gethostbyname is working but not gethostbyaddr...

# /opt/gridengine/utilbin/lx26-amd64/gethostbyaddr compute-0-4
>
> 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
>
> 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