[GE users] error resolving local host: can't resolve host name

reuti reuti at staff.uni-marburg.de
Mon Nov 15 09:15:41 GMT 2010


Am 13.11.2010 um 03:59 schrieb wzlu:

> Dear All,
> 
> I changed a execution host IP and change qmaster of this execution host.
> 
> After modify DNS, IP, hostname, /etc/hosts and act_qmaster, I used gethostbyname, gethostbyaddr and gethostname to check FQDN.
> 
> gethostbyname and gethostbyaddr are correct:
> gethostbyname in04208.domainname

Is also:

$ gethostbyname in04208

working? What does:

$ hostname

resp. with the options --short or --long show?

-- Reuti



> Hostname: in04208.domainname
> Aliases:  in04208
> Host Address(es): 10.0.4.208
> 
> gethostbyaddr 10.0.4.208
> Hostname: in04208.domainname
> Aliases:  in04208
> Host Address(es): 10.0.4.208
> 
> but gethostname show following message.
> error resolving local host: can't resolve host name (h_errno = HOST_NOT_FOUND)
> 
> Try to start sgeexecd:
> error resolving local host: can't resolve host name (h_errno = HOST_NOT_FOUND)
> error resolving local host: can't resolve host name (h_errno = HOST_NOT_FOUND)
>   starting sge_execd
> 
> Try qconf:
> error: sge_gethostbyname failed
> 
> /etc/hosts:
> ...
> 10.0.4.207              in04207.domainname in04207
> 10.0.4.208              in04208.domainname in04208
> 10.0.4.209              in04209.domainname in04209
> ...
> 
> /etc/nsswitch:
> ...
> hosts:      files dns
> ...
> 
> bootstrap:
> ...
> ignore_fqdn             false
> ...
> 
> Have any idea? Thanks.
> 
> Best Regards,
> Lu
> 
> ------------------------------------------------------
> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=295274
> 
> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=295800

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list