Nfs Mount Rpc Remote System Error - Connection Refused
Contents |
"Connection Refused" and "Permission Denied" issues Issues related to software problems. Post Reply Print view Search Advanced search 5 posts • Page 1 of 1 louis731 Posts: 7 Joined: 2011/07/07 17:27:14 [SOLVED] NFS "Connection Refused" and
Mount To Nfs Server Connection Refused
"Permission Denied" issues Quote Postby louis731 » 2011/07/21 01:29:53 Greetings to all, I'm trying mount nfs mount 2 connection refused debian to connect to my NFS server(192.168.2.183, running on Centos 5) and get these errorsOn client (OSX 10.6):$ sudo mount -t nfs allow nfs iptables 192.168.2.183:/testmount /Users/SharedCannot MNT RPC: RPC: Remote system error - Connection refusedCannot MNT RPC: RPC: Remote system error - Connection refusedmount_nfs: can't access /testmount: Permission deniedHere are the basic configs on the server:[root@CENTOS ~]# cat /etc/exports
Can't Contact Portmapper
/testmount 192.168.2.180(ro,root_squash)[root@CENTOS ~]# cat /etc/hosts.allow ## hosts.allow This file describes the names of the hosts which are# allowed to use the local INET services, as decided# by the '/usr/sbin/tcpd' server.#portmap: 192.168.2.180[root@CENTOS ~]# rpcinfo -p program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100024 1 udp 950 status 100024 1 tcp 953 status 100011 1 udp 872 rquotad 100011 2 udp 872 rquotad 100011 1 tcp
Rpcinfo -p Connection Refused
875 rquotad 100011 2 tcp 875 rquotad 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100003 4 udp 2049 nfs 100021 1 udp 34871 nlockmgr 100021 3 udp 34871 nlockmgr 100021 4 udp 34871 nlockmgr 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100003 4 tcp 2049 nfs 100021 1 tcp 59642 nlockmgr 100021 3 tcp 59642 nlockmgr 100021 4 tcp 59642 nlockmgr 100005 1 udp 886 mountd 100005 1 tcp 889 mountd 100005 2 udp 886 mountd 100005 2 tcp 889 mountd 100005 3 udp 886 mountd 100005 3 tcp 889 mountd[root@CENTOS ~]# showmount -eExport list for CENTOS:/testmount 192.168.2.180both of the server and client are on the same network (192.168.2.0)I've googled alot but still can't get this solved, could someone tell me what am I missing there?Thanks in advance! Top louis731 Posts: 7 Joined: 2011/07/07 17:27:14 Re: NFS "Connection Refused" and "Permission Denied" issues Quote Postby louis731 » 2011/07/21 05:01:48 Solved problem by adding firewall rules, as the linux host is shielded by iptables.You need allow connections to all of the invovled portsthis link was very helpfulps. Contrary to what portmap's manpage claims, I found that portmap is actually not needed in /etc/hosts.allow.perhaps because it isn't linked against tcpwrapper. Top pschaff Retired Moderator Posts: 18276 Jo
Nfs (mount: RPC: Remote system error - Connection refused) If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you rpcinfo can't contact portmapper windows can post: click the register link above to proceed. To start viewing messages, select
Mount Error 111 = Connection Refused
the forum that you want to visit from the selection below. Results 1 to 7 of 7 Thread: Nfs (mount: RPC: mount nfs portmap query retrying rpc program not registered Remote system error - Connection refused) Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 05-26-2004,05:36 AM #1 ziox View Profile http://www.centos.org/forums/viewtopic.php?t=21983 View Forum Posts Visit Homepage Registered User Join Date Apr 2004 Posts 69 NFS HellO... #mount 192.168.0.111:/home /home/laptop/ mount: RPC: Remote system error - Connection refused Help...where to fix this ...my /etc/exports look like that /home 192.168.0.0/255.255.255.0(rw) and i hashed (#) all lines in (hosts.allow/deny) i tried everything i know ..even local mount (nfs) wont work too #mount -t nfs Ziox:/home/ /mnt/laptop/ mount: Ziox:/home/ failed, reason given by server: Permission denied #and http://forums.justlinux.com/showthread.php?128187-Nfs-(mount-RPC-Remote-system-error-Connection-refused) by the way my host name Ziox highlighted in /etc/hosts but in the same time # hostname Ziox ......normal no problems /etc/hostes (Ziox highlighted every where) 127.0.0.1 Ziox localhost.localdomain localhost 127.0.0.1 localhost.localdomain localhost 127.0.0.1 Ziox 192.168.0.111 Master 192.168.0.11 Ziox Helllllllllllllllllllllllllp Last edited by ziox; 05-26-2004 at 05:54 AM. Kimry MKHOSTER Reply With Quote 05-26-2004,07:31 AM #2 psi42 View Profile View Forum Posts Defenestrate Windows... Join Date May 2003 Posts 1,241 Re: NFS Originally posted by ziox i tried everything i know ..even local mount (nfs) wont work too #mount -t nfs Ziox:/home/ /mnt/laptop/ mount: Ziox:/home/ failed, reason given by server: Permission denied #and by the way my host name Ziox highlighted in /etc/hosts Okay. Do you have portmap, nfsd, mountd, statd, etc running on the server? mountd and statd on the client? In /etc/hosts.allow, you need to specify what machines can access these specific programs. Check the troubleshooting section of the NFS howto, it's very useful. Helllllllllllllllllllllllllp Please don't do that. ~psi42 Reply With Quote 05-26-2004,11:05 AM #3 ziox View Profile View Forum Posts Visit Homepage Registered User Join Date Apr 2004 Posts 69 i've all that stuff............ Kimry MKHOSTER Reply With Quote 05-26-2004,08:06 PM #4 psi42 View Profile View Forum Posts Defenestrate Windows... Join Date May 2003 Posts 1,241 Please post /et
(solved!) From: Joel Roth