Re: [zones-discuss] problem with nfs mount in zone: RPC Unknown host

2007-09-20 Thread Christian
>What does "getent hosts hostname.domain.com" give you?
No text. Returncode 2 -> "At least one of the specified entry names was not 
found in the database."

>/etc/nsswitch.conf
Ah thanks. I appended dns to the hosts line. Now it works.
Thanks!
 
 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] problem with nfs mount in zone: RPC Unknown host

2007-09-20 Thread Mark Phalan
On Thu, 2007-09-20 at 02:08 -0700, Christian wrote:
> Hi,
> I've got a problem with a nfs mount in my zones (solaris 10 8/07). 
> When I try to mount a nfs share in a zone using the hostname or the fqdn I 
> get the following:
> nfs mount: hostname.domain.com: : RPC: Unknown host
> Mounting by ip is possible without any error. 
> host or nslookup can resolve the hostname. 
> 
> Any idea?

What does "getent hosts hostname.domain.com" give you?

You probably need to check /etc/nsswitch.conf and verify that host
lookups are being done through DNS.

-Mark

___
zones-discuss mailing list
zones-discuss@opensolaris.org