Nfs Mount 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
Mount To Nfs Server Connection Refused
of 1 louis731 Posts: 7 Joined: 2011/07/07 17:27:14 [SOLVED] NFS "Connection rpc remote system error - connection refused Refused" and "Permission Denied" issues Quote Postby louis731 » 2011/07/21 01:29:53 Greetings to all, I'm trying to connect
Mount Nfs Mount 2 Connection Refused Debian
to my NFS server(192.168.2.183, running on Centos 5) and get these errorsOn client (OSX 10.6):$ sudo mount -t nfs 192.168.2.183:/testmount /Users/SharedCannot MNT RPC: RPC: Remote system error - Connection allow nfs iptables 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 /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 can't contact portmapper -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 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 advanc
Wiki Search Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums
Rpcinfo -p Connection Refused
> Linux - Networking [SOLVED] NFS mount Error: "System Error: Connection mount error 111 = connection refused refused" User Name Remember Me? Password Linux - Networking This forum is for any issue related to
Rpcinfo Can't Contact Portmapper Windows
networks or networking. Routing, network cards, OSI, etc. Anything is fair game. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ http://www.centos.org/forums/viewtopic.php?t=21983 as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you http://www.linuxquestions.org/questions/linux-networking-3/nfs-mount-error-system-error-connection-refused-838497/ log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you
(solved!) From: Joel Roth
[ thread ] [ subject ] [ author ] David Kelly wrote: > On Thu, Jul 20, 2006 at 05:16:16PM +0200, David Landgren wrote: >> List, >> >> On an old Redhat box (address 172.17.0.18), I'm trying to mount an NFS >> export from a FreeBSD (5.2.1-RELEASE) box. Both machines are on the same >> network segment, and neither have any onboard firewalling rules. > > [...] > >> (I understand, from reading the handbook, that I should be using rpcbind >> rather than portmap). This server has been an NFS server in the past, so >> I know it worked at some point. I'm not sure if I'm missing a daemon in >> the mix, or if there's something else I've overlooked. >> >> Any clues will be most graciously received :) > > For starters try "showmount -e the.freebsd.ip.address" on the Linux box > to see if the Linux box sees the NFS daemons on the FreeBSD machine. Hrm. # showmount -e 172.17.0.21 mount clntudp_create: RPC: Port mapper failure - RPC: Unable to receive > mountd needs to be running on the FreeBSD host (apparently yours is > running). When /etc/exports changes mountd needs to be informed: > kill -s HUP `cat /var/run/mountd.pid` Yup, know about that. > Also at least in the past Linux distributions defaulted NFS to > non-reserved ports. Your Linux may not be talking to the same ports as > the FreeBSD machine is listening. Let's have a look... # nmap 172.17.0.21 Starting nmap V. 3.00 ( www.insecure.org/nmap/ ) Interesting ports on bechet.bpinet.com (172.17.0.21): (The 1584 ports scanned but not shown below are in state: closed) Port State Service 21/tcp open ftp 22/tcp open ssh 25/tcp open smtp 37/tcp open time 80/tcp open http 199/tcp open smux 443/tcp open https 801/tcp open device 901/tcp open samba-swat 1011/tcp open unknown 1020/tcp open unknown 2049/tcp open nfs 3306/tcp open mysql 5308/tcp open cfengine 5432/tcp open postgres 5999/tcp open ncd-conf 8080/tcp open http-proxy My god there's a lot of crap on that box! Still, looks like NFS is running. And according to the man page of the linux box: port=n The numeric value of the port to connect to the NFS server on. If the port number is 0 (the default) then query the remote host's portmapper for the port number to use. If the remote hostâs NFS daemon is not regis- tered with its portmapper, the standard NFS port number 2049 is used instead. So that sounds about right. I tried adding port=2049 explictly to the mount command, but same error: "Connection refused" Well, thanks for your help. Beats me what I've done wrong. Thanks, David -- Much of the propaganda that passes for news in our own society is given to immobilising and pacifying people a