Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Slackware - Installation This forum is for the discussion of installation issues with Slackware.


  Search this Thread
Old 05-03-2007, 11:29 PM   #1
Registered: Feb 2006
Location: Edmonton
Distribution: Slackware 12.2, Ubuntu
Posts: 117

Rep: Reputation: 16
nfs install fails manual mounting remote share

I have installed Slackware using NFS previously but now I can't. The nfs server machine which I used successfully before, has the following config files:

rquotad: ,
mountd: ,
ps -A shows that nfsd,portmap,statd,quotas, and lockd are running

running exportfs command reveals:

I am booting nfs client from slackware 11 bare.i,install.1,install.2 I then
load pcmcia.dsk and network.dsk which gets my 3com nic up and running. I can
then run:

ifconfig eth0 up
and ping my router and the nfs server succesfully.

I then run /sbin/rpc.portmap then mkdir /mount
mount /mount fails with the following error:

mount: RPC: Program not registered
A google search revealed that this could be due to rpc.portmap not running but ps -A shows that it is...:

ps -A |grep rpc
 2125 ?        00:00:00 rpc.portmap
 2134 ?        00:00:00 rpc.statd
 2137 ?        00:00:00 rpc.rquotad
 2140 ?        00:00:00 rpciod/0
 2150 ?        00:00:00 rpc.mountd
also the command rpcinfo -p on the server shows:

rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp    617  status
    100024    1   tcp    620  status
    100011    1   udp    619  rquotad
    100011    2   udp    619  rquotad
    100011    1   tcp    622  rquotad
    100011    2   tcp    622  rquotad
    100021    1   udp   1025  nlockmgr
    100021    3   udp   1025  nlockmgr
    100021    4   udp   1025  nlockmgr
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100021    1   tcp   4451  nlockmgr
    100021    3   tcp   4451  nlockmgr
    100021    4   tcp   4451  nlockmgr
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100005    1   udp    630  mountd
    100005    1   tcp    633  mountd
    100005    2   udp    630  mountd
    100005    2   tcp    633  mountd
    100005    3   udp    630  mountd
    100005    3   tcp    633  mountd

How can I further troubleshoot this?
/var/log/messages didn't have any usefull info.

I use shorewall firewall but I have disabled it with chmod -x /etc/rc.d/rc.firewall.
Old 05-03-2007, 11:32 PM   #2
Registered: Feb 2006
Location: Edmonton
Distribution: Slackware 12.2, Ubuntu
Posts: 117

Original Poster
Rep: Reputation: 16
I just checked /var/log/messages on the client and found the following:

auth.err portmap[692]: Cannot bind udp: address already in use
Old 05-03-2007, 11:38 PM   #3
Registered: Aug 2003
Location: Minnesota, U.S.A.
Distribution: Debian, openSUSE
Posts: 400

Rep: Reputation: 30
I'm not sure on that UDP error, but a couple things:

IF we're talking NFSv4,
then /etc/exports on the server should contain "fsid=0" or simliar in the options.
hosts.allow on the server should reference nfsd, and nfsd should be running, i.e.: nfsd: 192.168.1.
on the client, there should be some type of nfs service that runs not only the rpc.* that you show, but rpc.idmapd as well.

IF we're not talking NFSv4
you shouldn't be running rpc.* from the commandline, there should be an initscript or service that handles these and their PID files.

Hope this helps, I really have very little experience pre-NFSv4
Old 05-04-2007, 12:00 PM   #4
Registered: Feb 2006
Location: Edmonton
Distribution: Slackware 12.2, Ubuntu
Posts: 117

Original Poster
Rep: Reputation: 16
In the nfs howto under the troubleshooting section

It indicates that the error I receive means that the client does not detect NFS running on the server.

It says to check the server with rpcinfo -p which i did(see above)
and also to run rpcinfo -p from the client. Well the laptop client
booted from bare.i does not have that command so I copied it onto a floppy and when I run it I get:

rpcinfo -p

Program  Vers   Proto    Port
100000     2      udp       111
100000     2      tcp       111
and192.168.0.102 is the ip of nfs server)
rpcinfo -p

No remote programs registered
The troubleshooting section says to check your hosts.allow and exports files which I did and then decided to change to the ip of the client. Bingo that did it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mounting nfs share jon23d Slackware 4 06-25-2006 03:19 AM
Mounting an NFS share w/wireless cwwilson721 Slackware 1 03-31-2006 09:04 PM
Mounting NFS Share To Another Machine mijohnst Linux - Networking 8 06-24-2005 10:30 AM
mounting a NFS share using samba phatboyz Linux - Software 2 03-30-2004 12:26 PM
nfs share is not mounting automatically pawlub Linux - General 1 01-03-2004 06:21 PM > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 04:47 AM.

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