LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-19-2004, 02:04 PM   #1
daceo
LQ Newbie
 
Registered: Jun 2003
Location: cambridge uk
Distribution: slackware 9.0
Posts: 25

Rep: Reputation: 15
nfs setup on slack 9.1 - no route to host sorted!!


Hi.
My small problem. having set up a nice server running slack 9.1 nfs, I originally had 2 pcs connecting in to it and it works fine, with read write access etc. So I want to add another box, and it stubbornly refuses to allow the new machine to connect. the other two are fine. the new machine is all there, it can access the internet through my gateway/router, I can log in to it from another pc, it is possible that I am missing a service on it, but i think that it is at the server that the problem is. The error on message on boot up of the new machine is:

root@slacky:~# /sbin/mount -a -t nfs
mount: RPC: Remote system error - No route to host

if I do show mount:

root@slacky:~# showmount -e 192.168.0.10
Export list for 192.168.0.10:
/home/share 192.168.0.50,192.168.0.20,192.168.0.30

where 192.168.0.50 is the machine I am trying to get working

me rpc info says

root@slacky:~# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper


I was looked at the rpcinfo for the server, and after the portmapper, it has rquotad, could I be missing this?

I have added all three machines to the host.allow but this did not make any difference.

my fstab looks like this

root@slacky:/# cat /etc/fstab
/dev/hda2 swap swap defaults 0 0
/dev/hda3 / reiserfs defaults 1 1
/dev/hda1 /home/fat vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
192.168.0.40:/home/share /home/serviette nfs rsize=8192,wsize=8192,timeo=14,intr 0 0

the exports on the server is:

root@serviette:~# cat /etc/exports
# 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.
/home/share 192.168.0.30(rw)
/home/share 192.168.0.20(rw)
/home/share 192.168.0.50(rw)

the hosts allow looks like:

root@serviette:~# cat /etc/hosts.allow
#
portmap: 192.168.0.20, 192.168.0.30, 192.168.0.50
# End of hosts.allow.

I am fairly new to all this, so I may have omitted to do something obvious..



cheers

Last edited by daceo; 02-19-2004 at 05:05 PM.
 
Old 02-19-2004, 04:48 PM   #2
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 392

Rep: Reputation: 55
Quote:
root@slacky:~# showmount -e 192.168.0.10
Export list for 192.168.0.10:
/home/share 192.168.0.50,192.168.0.20,192.168.0.30



root@slacky:/# cat /etc/fstab
/dev/hda2 swap swap defaults 0 0
/dev/hda3 / reiserfs defaults 1 1
/dev/hda1 /home/fat vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
192.168.0.40:/home/share /home/serviette nfs rsize=8192,wsize=8192,timeo=14,intr 0 0
I think it should read 192.168.0.10 in your /etc/fstab

Lyle
 
Old 02-19-2004, 05:04 PM   #3
daceo
LQ Newbie
 
Registered: Jun 2003
Location: cambridge uk
Distribution: slackware 9.0
Posts: 25

Original Poster
Rep: Reputation: 15
thanks lyle,
I am glad it was a can't see the wood for the trees human error problem with a nice simple soluttion... (yes it is working now). I am slightly jaded, but also better educated in nfs, after having spent hours unsucsessfuly trying to get fedora core 1 to be an nfs server more than once without restarting everything, and failing. slack is so painless in comparison....

cheers
 
  


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
Help: NFS error (No route to host) systemhackerz Linux - Networking 34 06-17-2021 01:29 AM
No route to host Airwaves Linux - Networking 2 11-04-2005 07:15 AM
no route to host nerdboi Linux - Networking 9 02-08-2005 06:40 AM
No route to host senzoga Linux - Networking 1 07-14-2004 06:03 PM
No Route To Host Que Linux - General 10 08-19-2002 08:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:42 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