NFS connection refused error

NFS connection refused error

Post by Tom Voltagg » Wed, 27 Jun 2001 01:55:10



I have two linux redhat boxes, one ver 6.1 (called
gateway-192.168.1.1) and one ver 7 (called dad-192.168.1.2).  I'm
trying to set up file sharing and cannot get the machines to see each
other.  On the gateway, in Linuxconf,
I activated 'exporting nfs' in the server section and configured it to
export the root directory (/) to dad's IP address: 192.168.1.2. On
dad, I activated under the 'files' section in linuxconf the nfs.  Upon
boot, I get a "connection refused".  When trying to manually mount on
dad (mount -t nfs 192.168.1.1.:/ /mnt/gateway), it fails with the same
message.

When installing on gatweay, I did NOT install server programs, but did
install knfsd.rpm later from the CD.  Do I need to install any other
rpms to get the
nfs server function to work?  Which ones?

Any help would bbe greatly appreciated.

 
 
 

NFS connection refused error

Post by Dean Thompso » Wed, 27 Jun 2001 10:10:51


Hi!,

Quote:> I have two linux redhat boxes, one ver 6.1 (called
> gateway-192.168.1.1) and one ver 7 (called dad-192.168.1.2).  I'm
> trying to set up file sharing and cannot get the machines to see each
> other.  On the gateway, in Linuxconf,
> I activated 'exporting nfs' in the server section and configured it to
> export the root directory (/) to dad's IP address: 192.168.1.2. On
> dad, I activated under the 'files' section in linuxconf the nfs.  Upon
> boot, I get a "connection refused".  When trying to manually mount on
> dad (mount -t nfs 192.168.1.1.:/ /mnt/gateway), it fails with the same
> message.

> When installing on gatweay, I did NOT install server programs, but did
> install knfsd.rpm later from the CD.  Do I need to install any other
> rpms to get the nfs server function to work?  Which ones?

Check to make sure that the "portmapper" is installed and that it is running
along with the appropriate programs which act as the NFS.server on the machine
which is meant to be serving the files.  On the client, make sure there is a
portmapper program running and any programs like the nfs.client loaded on it.

If you find that both of these programs are working, check to make sure that
there are no firewalls on your RH7/7.1 machine which might be stopping your
NFS mount from working.  Additionally, check to make sure there are no entries
in your /etc/hosts.allow and /etc/hosts.deny file which might also be
complicating matters as well.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

NFS connection refused error

Post by Tom Voltaggi » Wed, 27 Jun 2001 19:59:46


Would it matter if the firewall was on the server machine?
(gateway)?
The "client" machine (dad) does NOT have a firewall.

Also, I did what you said and saw that portmapper IS
installed and running.
The error message I get now is "permission denied".  I no
longer get
"connection refused".  My hosts.allow file says ALL: ALL.


> Hi!,

> > I have two linux redhat boxes, one ver 6.1 (called
> > gateway-192.168.1.1) and one ver 7 (called dad-192.168.1.2).  I'm
> > trying to set up file sharing and cannot get the machines to see each
> > other.  On the gateway, in Linuxconf,
> > I activated 'exporting nfs' in the server section and configured it to
> > export the root directory (/) to dad's IP address: 192.168.1.2. On
> > dad, I activated under the 'files' section in linuxconf the nfs.  Upon
> > boot, I get a "connection refused".  When trying to manually mount on
> > dad (mount -t nfs 192.168.1.1.:/ /mnt/gateway), it fails with the same
> > message.

> > When installing on gatweay, I did NOT install server programs, but did
> > install knfsd.rpm later from the CD.  Do I need to install any other
> > rpms to get the nfs server function to work?  Which ones?

> Check to make sure that the "portmapper" is installed and that it is running
> along with the appropriate programs which act as the NFS.server on the machine
> which is meant to be serving the files.  On the client, make sure there is a
> portmapper program running and any programs like the nfs.client loaded on it.

> If you find that both of these programs are working, check to make sure that
> there are no firewalls on your RH7/7.1 machine which might be stopping your
> NFS mount from working.  Additionally, check to make sure there are no entries
> in your /etc/hosts.allow and /etc/hosts.deny file which might also be
> complicating matters as well.

> See ya

> Dean Thompson

> --
> +____________________________+____________________________________________+

> | Bach. Computing (Hons)     | ICQ     - 45191180                         |
> | PhD Student                | Office  - <Off-Campus>                     |
> | School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
> | MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
> | Melbourne, Australia       |                                            |
> +----------------------------+--------------------------------------------+

 
 
 

NFS connection refused error

Post by Mark Oli » Wed, 27 Jun 2001 20:28:07


Hi Tom,


>Would it matter if the firewall was on the server machine?
>(gateway)?
>The "client" machine (dad) does NOT have a firewall.

>Also, I did what you said and saw that portmapper IS
>installed and running.
>The error message I get now is "permission denied".  I no
>longer get
>"connection refused".  My hosts.allow file says ALL: ALL.

Edit the file /etc/exports on the NFS server and add your to be exported
directory there.
looks like this :

/home/whatever (rw)

Then restart your nfs server and it should work.

-CUT old messages-

-Mark.

 
 
 

NFS connection refused error

Post by Dean Thompso » Wed, 27 Jun 2001 22:59:37


Hi!,

Quote:> Also, I did what you said and saw that portmapper IS
> installed and running. The error message I get now is "permission denied".
> I no longer get "connection refused".  My hosts.allow file says ALL: ALL.
> Maybe it's not my firewall?

Okay, the error message "permission denied" is a different kettle of fish.
Make sure that hosts.deny has nothing in it and check your /etc/exports file.
After you have created your /etc/exports file make sure you issue the
/sbin/exportfs command as well.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

1. nfs error: mount: RPC: Unable to receive; errno = Connection refused

Hi,
        I've got two networked systems, both running 2.4 kernels (NFS server is
running RH7.2) and (nfs-client is RH7.1). As far as I can see I've set
up both ends according to the HOWTO, and required daemons seem to be
running OK, the server exports the directory I'm trying to mount,
permissions are OK - hosts.allow and .deny are set up to allow my client
system into the server, etc. all kosher looking.

        But when I try to mount I get the error message:  

                "mount: RPC: Unable to receive; errno = Connection refused"

I'm not sure whether it will be relevant that the server end is running
ext3 file system, and the client end is ext2.

        Can anyone point out where the error of my ways may lie? (I just *know*
I'm going to have egg on my face here :)

thanks
rde

2. what is this error ?

3. kernel NFS startup error: connection refused

4. X-Windows on Dell LM 133ST

5. Verizon DSL Westell 2110 modem problems

6. Problem NFS client: (NFS)lockdsvc: Connection refused

7. Loadlin+Win95 w/Linux

8. FTP error: Can't build data connection: Connection refused.

9. nfs, Redhat 6.2, "mount: RPC: Unable to receive; errno = Connection refuse"

10. Strange nfs problem - Connection refused

11. NFS and telnet "Connection refused" between RH 7 and 8 systems

12. Cannot start nfs locking services: lockdsvc connection refused