Linux Mount To Nfs Server Failed 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 mount to nfs server connection refused [SOLVED] NFS "Connection Refused" and "Permission Denied" issues Quote Postby louis731 » 2011/07/21
Rpc: Remote System Error - Connection Refused
01:29:53 Greetings to all, I'm trying to connect to my NFS server(192.168.2.183, running on Centos 5) and get these errorsOn mount nfs mount 2 connection refused debian client (OSX 10.6):$ sudo mount -t nfs 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 allow nfs iptables the basic configs on the server:[root@CENTOS ~]# cat /etc/exports /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
Can't Contact Portmapper
status 100011 1 udp 872 rquotad 100011 2 udp 872 rquotad 100011 1 tcp 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. Contra
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki rpcinfo -p connection refused Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation mount error 111 = connection refused User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu
Mount Nfs Portmap Query Retrying Rpc Program Not Registered
Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] NFS Network Mount - http://www.centos.org/forums/viewtopic.php?t=21983 Connection Refused Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 6 of 6 Thread: NFS Network Mount - Connection Refused Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to https://ubuntuforums.org/showthread.php?t=771370 Threaded Mode April 27th, 2008 #1 hansoffate View Profile View Forum Posts Private Message Way Too Much Ubuntu Join Date Sep 2005 Location Davis, CA Beans 266 DistroUbuntu 9.10 Karmic Koala NFS Network Mount - Connection Refused Host Computer with files located at "/share/Musik" on ip 192.168.1.115 I am trying to add this to fstab so it will be mounted on boot to /share/Musik (it's the same structure). I have added this line to fstab: Code: 192.168.1.115:/share/Musik /share/Musik nfs defaults 0 0 When I try to sudo mount -a, I get this error. Code: mount.nfs: mount to NFS server '192.168.1.115' failed: System Error: Connection refused Any ideas on how to fix this? Thanks, Hans Adv Reply April 28th, 2008 #2 blastus View Profile View Forum Posts Cookies and cream Join Date Aug 2005 BeansHidden! Re: NFS Network Mount - Connection Refused What's in the /etc/exports file on 192.168.1.115 and what's the IP address of the client machine? Adv Reply April 28th, 2008 #3 hansoffate View Profile View Forum Posts Private Message Way Too Much Ubu
Common F23 Bugs Common F24 Bugs Communicate with Fedora The Documents Bug Reports Fedora Update System (Bodhi) Fedora Build System (Koji) Official Spins FedoraForum.org > Fedora 23/24 > Servers & Networking mount: mount to NFS server '192.168.0.3' http://forums.fedoraforum.org/showthread.php?t=185626 failed: System Error: Connection refused. FedoraForum Search User Name Remember Me? Password Forgot Password? Join Us! Register All Albums FAQ Today's Posts Search Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. Google™ Search FedoraForum Search Red Hat Bugzilla Search Search Forums Show Threads Show Posts Tag Search Advanced Search Go to Page... Thread Tools Search this Thread Display Modes connection refused #1 8th April 2008, 08:51 AM fakie_flip Offline Registered User Join Date: Dec 2006 Posts: 214 mount: mount to NFS server '192.168.0.3' failed: System Error: Connection refused. That's the error I get. I am trying to mount a /home on nfs to /mnt/debian_home on the client computer. Code: [root@localhost ~]# mount -a mount: mount to NFS server '192.168.0.3' failed: System Error: Connection refused. [root@localhost ~]# Here are my configuration files on the mount to nfs client. I highlighted with red the two computers. Code: [root@localhost ~]# cat /etc/fstab /dev/md0 / ext3 defaults 1 1 /dev/md2 /home ext3 defaults 1 2 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 /dev/md1 swap swap defaults 0 0 /dev/sda1 /mnt/sda1 ntfs-3g defaults 0 0 /dev/sdb1 /mnt/sdb1 ntfs-3g defaults 0 0 192.168.0.3:/home /mnt/debian_home nfs rw,hard,intr 0 0 [root@localhost ~]# cat /etc/hosts* # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost localhost ::1 localhost6.localdomain6 localhost6 192.168.0.3 debian debian-server # # hosts.allow This file contains access rules which are used to # allow or deny connections to network services that # either use the tcp_wrappers library or that have been # started through a tcp_wrappers-enabled xinetd. # # See 'man 5 hosts_options' and 'man 5 hosts_access' # for information on rule syntax. # See 'man tcpd' for information on tcp_wrappers # portmap : 192.168.0.3 ALL:ALL # # hosts.allow This file contains access rules which are used to # allow or deny connections to network services that # either use the tcp_wrappers library or that have been # started through a tcp_wrappers-enabled xinetd. # # See 'man 5 hosts_options' and 'man 5 hosts_access' # for information on