LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-05-2007, 11:26 AM   #1
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 444

Rep: Reputation: 30
RPC connection refused


I'm using Slackware 12.0 with two computers set up in my LAN. When I try to mount from the client computer, I get the message mount: RPC: Remote system error - Connection refused. Here is a list of all relevant files.

HOSTNAME
Code:
Veronica.MyPlace
exports
Code:
# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.

/mnt/backup/Media/Audio/Music 192.168.1.2(ro)
hosts.allow
Code:
#
# 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.
#
# Version:      @(#)/etc/hosts.allow    1.00    05/28/93
#
# Author:       Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org
#
#

ALL : 192.168.1.2
# End of hosts.allow.
hosts.deny
Code:
#
# hosts.deny    This file describes the names of the hosts which are
#               *not* allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#
# Version:      @(#)/etc/hosts.deny     1.00    05/28/93
#
# Author:       Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org
#
#

ALL : ALL
# End of hosts.deny.
HOSTNAME
The command I used to mount was -
mount Veronica.MyPlace:/mnt/backup/Media/Audio/Music /mnt/network
Also here is the output from rpcinfo -p
Code:
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100005    1   udp  32820  mountd
    100005    1   tcp  58261  mountd
    100005    2   udp  32820  mountd
    100005    2   tcp  58261  mountd
    100005    3   udp  32820  mountd
    100005    3   tcp  58261  mountd
    100024    1   udp  32821  status
    100024    1   tcp  57663  status
    100011    1   udp    642  rquotad
    100011    2   udp    642  rquotad
    100011    1   tcp    645  rquotad
    100011    2   tcp    645  rquotad
 
Old 11-05-2007, 12:11 PM   #2
selva146
Member
 
Registered: Oct 2007
Location: INDIA
Distribution: Rehat, Fedora, RHEL
Posts: 47

Rep: Reputation: 15
Hi,
I think, firewall is blocking the connection. So stop the firewall or configure the firewall properly and do the mount.

post the output
 
Old 11-05-2007, 12:24 PM   #3
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 444

Original Poster
Rep: Reputation: 30
As far as I know, I have no firewall, but is there a way to check for sure? If I run exportfs -a I get no entry in /var/lib/nfs/xtab, but I get an entry in etab. What does that mean?

Last edited by binarybob0001; 11-05-2007 at 12:26 PM.
 
Old 11-05-2007, 12:34 PM   #4
selva146
Member
 
Registered: Oct 2007
Location: INDIA
Distribution: Rehat, Fedora, RHEL
Posts: 47

Rep: Reputation: 15
check by running service iptables status

or service ipchains status
 
Old 11-05-2007, 12:43 PM   #5
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 444

Original Poster
Rep: Reputation: 30
I have no such command
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Socket Connection Failed: 111 Connection Refused degraffenried13 Linux - General 3 05-31-2009 01:17 AM
eth0 going down (connection reset by peer, then connection refused) Astarath Slackware 1 09-05-2007 05:14 AM
on boot mount: RPC: remote system error - connection refused overlinx Linux - Networking 0 10-02-2006 10:51 AM
error while nfs mounting: RPC -connection time out paul darciel Linux - Networking 1 06-30-2006 11:06 AM
mount: RPC: Unable to receive; errno = Connection refused peacho Linux - Networking 1 01-15-2003 02:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration