NFS share is not getting mounted when services denied in /etc/hosts.deny file

Solution Verified - Updated -

Issue

  • Unable to mount NFS share as version=3 getting 'permission denied error message' but nfs4 works fine
  • showmount -e is showing 'clnt_create: RPC: Port mapper failure - Authentication error'
  • rpcinfo -p <nfs-server> is showing 'rpcinfo: can't contact portmapper: RPC: Authentication error; why = Client credential too weak'

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • NFS version 3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.