Re: NFS won't work (RH9, simple LAN)
From: John-Paul Stewart (jpstewart_at_sympatico.ca)
Date: 02/01/04
- Previous message: Ed Hurst: "Re: ~/.kde inaccesible after SUSE 8.2->9.0 upgrade"
- In reply to: Raptor: "NFS won't work (RH9, simple LAN)"
- Next in thread: Raptor: "Re: NFS won't work (RH9, simple LAN)"
- Reply: Raptor: "Re: NFS won't work (RH9, simple LAN)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 01 Feb 2004 13:54:04 -0500
Raptor wrote:
>
> I have spent enough time trying to solve this problem that it's time to
> ask for help.
>
> I have a RH9 server install (hostname "server") that I'm trying to get
> to host a couple directories for a RH9 workstation install (hostname
> "Desktop"). I can ssh from Desktop to server just fine. I also had NFS
> working earlier when Desktop was a Mandrake 9.0 system, so I've got to
> be close.
>
> Client's /var/log/boot.log reports:
> Jan 31 22:40:24 Desktop netfs: Mounting NFS filesystems: failed
>
> A mount from the shell on Desktop times out.
>
> server's /etc/exports file:
> /home/law/ Desktop(rw,sync,no_root_squash)
> /var/www/html/ Desktop(rw,sync,no_root_squash)
>
> server's /etc/hosts file:
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 127.0.0.1 localhost.localdomain localhost
> 192.168.0.3 server
> 192.168.0.2 Desktop
>
> server's /etc/hosts.allow file:
> #
> # hosts.allow This file describes the names of the hosts which are
> # allowed to use the local INET services, as decided
> # by the '/usr/sbin/tcpd' server.
> #
> 192.168.0.2: Desktop
That's not the correct format. That file is supposed to be of the form:
service: clients
You've specified an IP address instead of a service. You want something
like:
ALL: Desktop
-or-
portmap: 192.168.0.2
The clients can be specified either by name or by IP, but you don't need
both as in your example. The service can either be "ALL" to allow all
services for that client or a list of services. I believe 'portmap' is
the proper service name for NFS. See 'man 5 hosts_access' for more
information.
- Previous message: Ed Hurst: "Re: ~/.kde inaccesible after SUSE 8.2->9.0 upgrade"
- In reply to: Raptor: "NFS won't work (RH9, simple LAN)"
- Next in thread: Raptor: "Re: NFS won't work (RH9, simple LAN)"
- Reply: Raptor: "Re: NFS won't work (RH9, simple LAN)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]