LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-28-2017, 12:45 AM   #1
chickenjoy
Member
 
Registered: Apr 2007
Distribution: centos,rhel, solaris
Posts: 239

Rep: Reputation: 30
can't mount an nfs share when i disable ipv6 in sysctl in rhel7.3


why am i un able to mount an NFS share if i disable IPv6 in rhel7.3?

error:
Code:
# systemctl status rpc-statd.service
● rpc-statd.service - NFS status monitor for NFSv2/3 locking.
   Loaded: loaded (/usr/lib/systemd/system/rpc-statd.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2017-11-28 10:05:44 GST; 8min ago
  Process: 34683 ExecStart=/usr/sbin/rpc.statd --no-notify $STATDARGS (code=exited, status=1/FAILURE)

Nov 28 10:05:44 servername rpc.statd[34684]: Flags: TI-RPC
Nov 28 10:05:44 servername rpc.statd[34684]: Failed to register (statd, 1, udp): svc_reg() err: RPC: Remote system error - No route to host
Nov 28 10:05:44 servername rpc.statd[34684]: Failed to register (statd, 1, tcp): svc_reg() err: RPC: Remote system error - No route to host
Nov 28 10:05:44 servername rpc.statd[34684]: Failed to register (statd, 1, udp6): svc_reg() err: RPC: Remote system error - No route to host
Nov 28 10:05:44 servername rpc.statd[34684]: Failed to register (statd, 1, tcp6): svc_reg() err: RPC: Remote system error - No route to host
Nov 28 10:05:44 servername rpc.statd[34684]: failed to create RPC listeners, exiting
Nov 28 10:05:44 servername systemd[1]: rpc-statd.service: control process exited, code=exited status=1
Nov 28 10:05:44 servername systemd[1]: Failed to start NFS status monitor for NFSv2/3 locking..
Nov 28 10:05:44 servername systemd[1]: Unit rpc-statd.service entered failed state.
Nov 28 10:05:44 servername systemd[1]: rpc-statd.service failed.
the changes are in /etc/sysctl.conf:
Code:
#disable IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
i can mount nfs if i remove the 2 lines in sysctl.conf and restart the server.
 
Old 11-28-2017, 07:19 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I thought you get tech support with rhel. You could try calling them.
 
1 members found this post helpful.
Old 12-02-2017, 02:42 AM   #3
chickenjoy
Member
 
Registered: Apr 2007
Distribution: centos,rhel, solaris
Posts: 239

Original Poster
Rep: Reputation: 30
Thanks, they forwarded me to a knowledgebase article:

Resolution
  • Rebuild the initramfs:
    Code:
    # dracut -v -f
    to incorporate the changes made to
    Code:
    /etc/sysctl.conf
  • It is necessary to rebuild the initramfs when ever there are modifications made to
    Code:
    /etc/sysctl.conf
    .
  • Following the rebuild of the initramfs please reboot the system in order for the systemd response to take effect.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] NFS Client Unable to Mount the NFS Share devUnix Linux - Server 8 09-12-2019 10:53 AM
[SOLVED] Cannot mount nfs share from old Slackware on new 14.2 nfs server. thordn Slackware 4 03-12-2017 06:32 PM
nfs mount IPV6 dpeterson3 Linux - Software 1 08-19-2009 12:20 PM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
How can I mount a NFS share that have a SMB share mounted? perezyanez Linux - Networking 2 09-26-2008 09:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration