Nfs Mount Rpc Authentication Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta cannot register service: rpc: authentication error; why = client credential too weak Discuss the workings and policies of this site About Us Learn more
Nfs Rpc: Authentication Error; Why = Client Credential Too Weak
about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix &
Rpcbind
Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top RPC Authentication Error when mounting NFS up vote 0 down vote favorite I'm trying to mount an NFS drive, but I am getting an RPC Authentication Error, with the reason given as that the credentials are too weak. On the server side (192.168.100.109), it looks like the NFS server and mount daemon are starting and being available to the target client (192.168.100.101): # cat /etc/exports /datastore/winmedia -ro 192.168.100.101 # portmap # nfsd -tun 4 # mountd # showmount -e 192.168.100.109 Exports list on 192.168.100.109 /datastore/winmedia 192.168.100.101 However, when trying to mount the disk on the client-side, I receive an RPC Authentication Error # ls /mnt/winmedia # mount -v 192.168.100.109:/datastore/winmedia /mnt/winmedia mount: no type was given - I'll assume nfs because of the colon mount: RPC: Authentication error; why=Client credential too weak Looking on the server logs, it only says that the connection was refused, but doesn't give a reason. Feb 11 23:43:25 fattyopenbsd mountd[16785]: Can't open /var/db/mountdtab: No such file or directory Feb 11 23:48:41 fattyopenbsd mountd[16785]: Refused mount RPC from host 192.168.100.101 port 62826 On the client side, rpcinfo shows the same data as on the server side, except without the program names. Server side rpcinfo: # rpcinfo -p 192.168.100.109 program ver
Red Hat Certificate System Red Hat Satellite Subscription Asset Manager Red Hat Update Infrastructure Red Hat Insights Ansible Tower by Red Hat Cloud Computing Back Red Hat CloudForms Red Hat OpenStack Platform Red Hat Cloud Infrastructure Red Hat Cloud Suite Red Hat OpenShift Container Platform Red Hat OpenShift Online Red Hat OpenShift Dedicated Storage Back Red Hat Gluster Storage Red Hat Ceph Storage JBoss Development and Management Back Red Hat JBoss Enterprise Application Platform Red Hat JBoss Data Grid Red Hat JBoss Web Server Red Hat JBoss Portal Red Hat http://unix.stackexchange.com/questions/261541/rpc-authentication-error-when-mounting-nfs JBoss Operations Network Red Hat JBoss Developer Studio JBoss Integration and Automation Back Red Hat JBoss Data Virtualization Red Hat JBoss Fuse Red Hat JBoss A-MQ Red Hat JBoss BPM Suite Red Hat JBoss BRMS Mobile Back Red Hat Mobile Application Platform Services Back Consulting Technical Account Management Training & Certifications Red Hat Enterprise Linux Developer Program Support Get Support Production Support Development https://access.redhat.com/solutions/29136 Support Product Life Cycle & Update Policies Knowledge Search Documentation Knowledgebase Videos Discussions Ecosystem Browse Certified Solutions Overview Partner Resources Tools Back Red Hat Insights Learn More Red Hat Access Labs Explore Labs Configuration Deployment Troubleshooting Security Additional Tools Red Hat Access plug-ins Red Hat Satellite Certificate Tool Security Back Product Security Center Security Updates Security Advisories Red Hat CVE Database Security Labs Resources Overview Security Blog Security Measurement Severity Ratings Backporting Policies Product Signing (GPG) Keys Community Back Discussions Red Hat Enterprise Linux Red Hat Virtualization Red Hat Satellite Customer Portal Private Groups All Discussions Start a Discussion Blogs Customer Portal Red Hat Product Security Red Hat Access Labs Red Hat Insights All Blogs Events Customer Events Red Hat Summit Stories Red Hat Subscription Benefits You Asked. We Acted. Open Source Communities Subscriptions Downloads Support Cases Account Back Log In Register Red Hat Account Number: Account Details Newsletter and Contact Preferences User Management Account Maintenance My Profile Notifications Help Log Out Language Back English español Deutsch italiano 한국어 français 日本語 português 中文 (中国) русский Customer Portal Search Products & Services Back View All Products Infrastruct
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about http://stackoverflow.com/questions/13111910/rpc-authentication-error hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up RPC Authentication error up vote 7 down vote favorite 1 Last week I was using RPC and could run my RPC server program just fine. However, today I tried to authentication error start it again and I am getting this error: Cannot register service: RPC: Authentication error; why = Client credential too weak unable to register (X_PROG, X_VERS, udp) Can anybody tell me what the cause of this error can be? rpcinfo gives me this: program version netid address service owner 100000 4 tcp6 ::.0.111 portmapper superuser 100000 3 tcp6 ::.0.111 portmapper superuser 100000 4 udp6 ::.0.111 portmapper superuser 100000 3 udp6 ::.0.111 portmapper superuser 100000 4 tcp 0.0.0.0.0.111 portmapper rpc: authentication error; superuser 100000 3 tcp 0.0.0.0.0.111 portmapper superuser 100000 2 tcp 0.0.0.0.0.111 portmapper superuser 100000 4 udp 0.0.0.0.0.111 portmapper superuser 100000 3 udp 0.0.0.0.0.111 portmapper superuser 100000 2 udp 0.0.0.0.0.111 portmapper superuser 100000 4 local /run/rpcbind.sock portmapper superuser 100000 3 local /run/rpcbind.sock portmapper superuser The weird thing is that I haven't even been using this pc the past week. Are there any services that should be running? Hope you can help me out. Grtz Stefan authentication rpc share|improve this question asked Oct 28 '12 at 18:51 Maricruzz 145119 add a comment| 7 Answers 7 active oldest votes up vote 12 down vote this error is linked to rpcbind,so you should stop service portmap like this: sudo -i service portmap stop then sudo -i rpcbind -i -w at end start service portmap: sudo -i service portmap start share|improve this answer edited Dec 30 '12 at 1:47 craigtheatheist 8,14421830 answered Dec 30 '12 at 1:29 karim 12113 1 It might be worth mentioning -i is “Insecure” mode and therefore allows any host to make RPCs to registered programs. (From the manual: "Normally rpcbind accepts these requests only from the loopback interface for security reasons. This change is necessary for programs that were compiled with earlier versions of the rpc library and do not make those requests using the loopback interface.") –eregon Oct 23 '13 at 13:12 add a comment| up vote 3 down vote Makin