Re: FC7: NFS Server (SOLVED)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 9/25/07, Craig White <craig@xxxxxxxxxxxxx> wrote:
On Tue, 2007-09-25 at 13:48 -0700, Aldo Foot wrote:
> No rpc service running.
>    # rpcinfo -p localhost
>    rpcinfo: can't contact portmapper: RPC: Unknown host
----
this is a problem...what's in /etc/hosts?

does the first 23 lines look like this?

# head -n 3 /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1        localhost.localdomain   localhost

--
Craig White <craig@xxxxxxxxxxxxx>


Yes. The lines in /etc/hosts are there.

So the problem got fixed. On the NFS Server I did:

     # service rpcbind start
     # service nfs start
     # rpcinfo -p
    program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100000    4     0    111  portmapper
    100000    3     0    111  portmapper
    100000    2     0    111  portmapper
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100011    1   udp    750  rquotad
    100011    2   udp    750  rquotad
    100011    1   tcp    753  rquotad
    100011    2   tcp    753  rquotad
    100005    1   udp  32781  mountd
    100005    1   tcp  58372  mountd
    100005    2   udp  32781  mountd
    100005    2   tcp  58372  mountd
    100005    3   udp  32781  mountd
    100005    3   tcp  58372  mountd

In order to allow remoteClient.com to mount from the nfs server (orion) I put
this line in /etc/hosts.allow:

"mountd: nfsClient.com"

The /var/log/messages showed
Sep 25 16:53:36 orion mountd[3974]: authenticated mount request from nfsClient.com:893 for /scr1 (/scr1)

Note that Portmap does not work in /etc/hosts.allow no more.
    "portmap: nfsClient.com"
I tried the line above by itself and the /var/log/messages shows an error:
Sep 25 17:01:20 orion mountd[4079]: connect from 10.1.7.20 to proc (1) in mountd: request from unauthorized host

After all that trouble I was able to mount filesystems on the client side.
Thanks everyone for your help!

~Aldo.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux