Re: FC7: NFS Server

[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>

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

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.
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux