Mount Rpc Authentication Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss cannot register service: rpc: authentication error; why = client credential too weak 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 &
Client Credential Too Weak Nfs
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.
Nfs Authentication Error; Why = Client Credential Too Weak
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 rpcbind 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 vers proto por
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 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 http://unix.stackexchange.com/questions/261541/rpc-authentication-error-when-mounting-nfs and could run my RPC server program just fine. However, today I tried to 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 http://stackoverflow.com/questions/13111910/rpc-authentication-error 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 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
open source software in schools."
CommunityOracle User Group CommunityTopliners CommunityOTN Speaker BureauJava CommunityError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. Please enter a title. You can not post a blank message. Please type your message and try again. More discussions in Solaris 10 All PlacesServer & Storage SystemsOracle SolarisSolaris 10 This discussion is archived 1 Reply Latest reply on Jul 30, 2007 9:12 AM by 807557 RPC: Authentication error while trying to mount a remote cdrom 807557 Jul 26, 2007 2:44 PM On my Solaris 10 workstation I configured the following line in /etc/dfs/dfstab: share -F nfs -o ro,anon=0 /cdrom/cdrom0 and restarted the nfsd. dfshares says that it is shared: undine:/cdrom/sol_10_606_sparc undine - - Now when I try to mount it on another Solaris 10 host like this it is not working: mount -F nfs undine:/cdrom/sol_10_606_sparc /mnt nfs mount: undine: : RPC: Rpcbind failure - RPC: Authentication error Both Hosts are JASS hardened. I think there is a service missing. The following services are available: root@undine# svcs -a STATE STIME FMRI legacy_run Jul_23 lrc:/etc/rc2_d/S00set-tmp-permissions legacy_run Jul_23 lrc:/etc/rc2_d/S07set-tmp-permissions legacy_run Jul_23 lrc:/etc/rc2_d/S10lu legacy_run Jul_23 lrc:/etc/rc2_d/S20sysetup legacy_run Jul_23 lrc:/etc/rc2_d/S40llc2 legacy_run Jul_23 lrc:/etc/rc2_d/S42ncakmod legacy_run Jul_23 lrc:/etc/rc2_d/S68net-tune legacy_run Jul_23 lrc:/etc/rc2_d/S70nddconfig legacy_run Jul_23 lrc:/etc/rc2_d/S70sckm legacy_run Jul_23 lrc:/etc/rc2_d/S73cachefs_daemon legacy_run Jul_23 lrc:/etc/rc2_d/S81dodatadm_udaplt legacy_run Jul_23 lrc:/etc/rc2_d/S89bdconfig legacy_run Jul_23 lrc:/etc/rc2_d/S90loc_ja_cssd legacy_run Jul_23 lrc:/etc/rc2_d/S90webconsole legacy_run Jul_23 lrc:/etc/rc2_d/S91afbinit legacy_run Jul_23 lrc:/etc/rc2_d/S91gfbinit legacy_run Jul_23 lrc:/etc/rc2_d/S91ifbinit legacy_run Jul_23 lrc:/etc/rc2_d/S91jfbinit legacy_run Jul_23 lrc:/etc/rc2_d/S91kfbinit legacy_run Jul_23 lrc:/etc/rc2_d/S91zuluinit legacy_run Jul_23 lrc:/etc/rc2_d/S94Wnn6 legacy_run Jul_23 lrc:/etc/rc2_d/S94atsv legacy_run Jul_23 lrc:/etc/rc2_d/S94ncalogd legacy_run Jul_23 lrc:/etc/rc2_d/S98deallocate legacy_run Jul_23 lrc:/etc/rc2_d/S99dtlogin legacy_run Jul_23 lrc:/etc/rc3_d/S16boot_server legacy_run Jul_23 lrc:/etc/rc3_d/S22acct legacy_run Jul_23 lrc:/etc/rc3_d/S25openssh_server legacy_run Jul_23 lrc:/etc/rc3_d/S50apache2 legacy_run Jul_23 lrc:/etc/rc3_d/S52imq legacy_run Jul_23 lrc:/etc/rc3_d/S73_m