View previous topic :: View next topic |
Author |
Message |
Seneka Tux's lil' helper
Joined: 16 Oct 2002 Posts: 83
|
Posted: Sat Feb 01, 2003 7:02 pm Post subject: nfs error |
|
|
i want to set up a simple nfs share but when invoking /etc/init.d/nfs start i get the following error:
Code: |
* Starting NFS rquotad...
Cannot register service: RPC: Unable to receive; errno = Connection refused
|
what am i doing wrong? |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Sat Feb 01, 2003 10:34 pm Post subject: |
|
|
Is your /etc/hosts.allow and /etc/hosts.deny filled in correctly? It should read (for instance):
Code: |
~$ cat /etc/hosts.allow
portmap: 192.168.0.20
lockd: 192.168.0.20
rquotad: 192.168.0.20
mountd: 192.168.0.20
statd: 192.168.0.20
~$ cat /etc/hosts.deny
ALL: ALL
|
|
|
Back to top |
|
|
Seneka Tux's lil' helper
Joined: 16 Oct 2002 Posts: 83
|
Posted: Sun Feb 02, 2003 12:22 am Post subject: |
|
|
yes - hosts.allow and hosts.deny look like that. and still no luck - the server will not start up |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Sun Feb 02, 2003 12:21 pm Post subject: |
|
|
Do you have quota-support on your system? If not, perhaps the quotard is obsolete and should not be run... |
|
Back to top |
|
|
Seneka Tux's lil' helper
Joined: 16 Oct 2002 Posts: 83
|
Posted: Sun Feb 02, 2003 2:02 pm Post subject: |
|
|
no, i don't have quota support compiled in - why does it start as default anyway?
i got nfs working by doing this in hosts.allow
Code: |
portmap: 192.168.0.0
lockd: 192.168.0.0
rquotad: 192.168.0.0
mountd: 192.168.0.0
statd: 192.168.0.0
|
just allowing 192.168.0.2 produced the error i mentioned earlier.
maybe the server(192.168.0.1) needs to be allowed as well? |
|
Back to top |
|
|
Decibels Veteran
Joined: 16 Aug 2002 Posts: 1630 Location: U.S.A.
|
Posted: Tue Feb 11, 2003 3:01 pm Post subject: |
|
|
That might be true, I have nfs working fine and have both in the hosts.allow Code: | ALL: LOCAL
ALL: 192.168.0.2
ALL: 192.168.0.1
portmap: 192.168.0.1
portmap: 192.168.0.2
locked: 192.168.0.1 , 192.168.0.2
mountd: 192.168.0.1 , 192.168.0.2
rquotad: 192.168.0.1 , 192.168.0.2
statd: 192.168.0.1 , 192.168.0.2 |
I haven't gotten around to combining ALL and portmap, but they can be combined like the others also. |
|
Back to top |
|
|
|