SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
It isn't a question but an answer. I had a problem and I resolved it after some researches. I publish the report about it in hope it will be useful for the other users.
I use three machines: home1, home2, and home3. System configuration on all those machines is virtually the same. First and second machines I used for several years with different versions of Slackware -- third machine is new one and I just try to configure Slackware on it.
When I tried to use NFS I stated the following...
I could ping from any machine to any machine but I had some problems with NFS.
On home1 I could mount home2 directories but I couldn't mount home3 directories.
On home2 I could mount home1 directories but I couldn't mount home3 directories.
On home3 I could mount home1 directories but I couldn't mount home2 directories.
In three cases in which I couldn't mount directory mount command displayed the same message:
mount.nfs: mount to NFS server 'rpcbind' failed: RPC Error: Program not registered
mount.nfs: internal error
I started my researches...
Each successful mount and unmount was reported in /var/log/messages on the client side by something like:
mountd[2689]: authenticated mount request from 192.168.1.x:796 for / (/)
mountd[2689]: authenticated unmount request from 192.168.1.x:641 for / (/)
When I failed to mount home2 directories on home3 machine /var/log/syslog on the server side reported:
kernel: nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
portmap[2894]: connect from 192.168.1.3 to getport(mountd): request from unauthorized host
portmap[2895]: connect from 192.168.1.3 to getport(nfs): request from unauthorized host
portmap[2895]: connect from 192.168.1.3 to getport(nfs): request from unauthorized host
When I failed to mount home3 directories on home1 and on home2 none machine reported nothing.
In such situation I decided to check everything from scratch...
After a dozen or so minutes I stated the reasons of that problems were relatively simple.
On home3 rc.nfsd hadn't permission to be executed for some reason.
# chmod u+x /etc/rc.d/rc.nfsd
# /etc/rc.d/rc.nfsd start
...and I can mount home3 directories.
On home2 server home3 client wasn't registered in hosts.allow.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.