Thread View: comp.os.linux.networking
4 messages
4 total messages
Started by thezombie
Thu, 21 Jan 1999 00:00
NFS problem - RedHat 5.2
Author: thezombie
Date: Thu, 21 Jan 1999 00:00
Date: Thu, 21 Jan 1999 00:00
47 lines
2626 bytes
2626 bytes
I'm currently having trouble setting up NFS on my two Linux boxes that are
networked together. The problem are as follows:
I can't automatically start NFS at boot time. After I boot Linux I run
rpcinfo - p and get the following:
program vers proto port
100000 2 tcp 111 rpcbind
100000 2 udp 111 rpcbind
100005 1 tcp 1024 mountd
100005 1 tcp 1024 mountd
100005 1 tcp 1025 nfs
So when I try to mount from the other Linux PC all I get is RPC: Program not
registered. The funny thing is if I run rpc.mountd and rpc.nfs from the
command line NFS works!! After running mountd & nfsd from command line -
rpcinfo -p gets
program vers proto port
100000 2 tcp 111 rpcbind
100000 2 udp 111 rpcbind
100005 1 udp 635 mountd
100005 2 tcp 635 mountd
100005 1 udp 635 mountd
100005 2 tcp 635 mountd
100005 2 udp 2049 nfs
100005 2 tcp 2049 nfs
So I guess I can successfully run NFS manually after boot time but how do I
get it so that rpc.mountd & rpc.nfsd service is started automatically each
time I boot?
I thought I just put in the following in \etc\inetd.conf (according to man
pages):
mount/1-2 dgram rpc/udp wait root /usr/sbin/rpc.mountd rpc.mountd
mount/1-2 stream rpc/udp wait root /usr/sbin/rpc.mountd rpc.mountd
nfs/2 dgram rpc/udp wait root /usr/sbin/rpc.mountd rpc.nfsd
nfs/2 stream rpc/udp wait root /usr/sbin/rpc.mountd rpc.nfsd
Is this correct? I thought this should be started in rc.d? Sorry for the long
message..trying to give you as much info as I can. Thanks.
Timbo.
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Re: NFS problem - RedHat 5.2
Author: Regit Young
Date: Thu, 21 Jan 1999 00:00
Date: Thu, 21 Jan 1999 00:00
53 lines
2708 bytes
2708 bytes
What's in the rc.d directory of your default init level (ie. rc3.d or rc5.d) ? Regit thezombie@my-dejanews.com wrote: > I'm currently having trouble setting up NFS on my two Linux boxes that are > networked together. The problem are as follows: > > I can't automatically start NFS at boot time. After I boot Linux I run > rpcinfo - p and get the following: > > program vers proto port > 100000 2 tcp 111 rpcbind > 100000 2 udp 111 rpcbind > 100005 1 tcp 1024 mountd > 100005 1 tcp 1024 mountd > 100005 1 tcp 1025 nfs > > So when I try to mount from the other Linux PC all I get is RPC: Program not > registered. The funny thing is if I run rpc.mountd and rpc.nfs from the > command line NFS works!! After running mountd & nfsd from command line - > rpcinfo -p gets > > program vers proto port > 100000 2 tcp 111 rpcbind > 100000 2 udp 111 rpcbind > 100005 1 udp 635 mountd > 100005 2 tcp 635 mountd > 100005 1 udp 635 mountd > 100005 2 tcp 635 mountd > 100005 2 udp 2049 nfs > 100005 2 tcp 2049 nfs > > So I guess I can successfully run NFS manually after boot time but how do I > get it so that rpc.mountd & rpc.nfsd service is started automatically each > time I boot? > > I thought I just put in the following in \etc\inetd.conf (according to man > pages): > > mount/1-2 dgram rpc/udp wait root /usr/sbin/rpc.mountd rpc.mountd > mount/1-2 stream rpc/udp wait root /usr/sbin/rpc.mountd rpc.mountd > nfs/2 dgram rpc/udp wait root /usr/sbin/rpc.mountd rpc.nfsd > nfs/2 stream rpc/udp wait root /usr/sbin/rpc.mountd rpc.nfsd > > Is this correct? I thought this should be started in rc.d? Sorry for the long > message..trying to give you as much info as I can. Thanks. > > Timbo. > > -----------== Posted via Deja News, The Discussion Network ==---------- > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Re: NFS problem - RedHat 5.2
Author: Bill Unruh
Date: Thu, 21 Jan 1999 00:00
Date: Thu, 21 Jan 1999 00:00
24 lines
1596 bytes
1596 bytes
In <786im3$rop$1@nnrp1.dejanews.com> thezombie@my-dejanews.com writes: >So I guess I can successfully run NFS manually after boot time but how do I >get it so that rpc.mountd & rpc.nfsd service is started automatically each >time I boot? >Is this correct? I thought this should be started in rc.d? Sorry for the long >message..trying to give you as much info as I can. Thanks. Yup. Start it in /etc/rc.d So on my system ls /etc/rc.d/*/*nfs* /etc/rc.d/init.d/nfs* /etc/rc.d/rc3.d/S15nfsfs@ /etc/rc.d/init.d/nfsfs* /etc/rc.d/rc3.d/S60nfs@ /etc/rc.d/rc0.d/K20nfs@ /etc/rc.d/rc4.d/S15nfsfs@ /etc/rc.d/rc0.d/K95nfsfs@ /etc/rc.d/rc4.d/S60nfs@ /etc/rc.d/rc1.d/K20nfs@ /etc/rc.d/rc5.d/S15nfsfs@ /etc/rc.d/rc1.d/K95nfsfs@ /etc/rc.d/rc5.d/S60nfs@ /etc/rc.d/rc2.d/K20nfs@ /etc/rc.d/rc6.d/K20nfs@ /etc/rc.d/rc2.d/K95nfsfs@ /etc/rc.d/rc6.d/K95nfsfs@ Ie, you want to start up both nfs and nfsd (in runlevels 3-5). This should have occured automatically when you told the installation program you wanted to set up nfs (ie be a nfs server)
Re: NFS problem - RedHat 5.2
Author: greyman
Date: Thu, 21 Jan 1999 00:00
Date: Thu, 21 Jan 1999 00:00
26 lines
1712 bytes
1712 bytes
Bill Unruh wrote in message <786nvm$3ak$1@nntp.ucs.ubc.ca>... >In <786im3$rop$1@nnrp1.dejanews.com> thezombie@my-dejanews.com writes: > [snip] >>Is this correct? I thought this should be started in rc.d? Sorry for the long >>message..trying to give you as much info as I can. Thanks. > >Yup. Start it in /etc/rc.d >So on my system >ls /etc/rc.d/*/*nfs* >/etc/rc.d/init.d/nfs* /etc/rc.d/rc3.d/S15nfsfs@ >/etc/rc.d/init.d/nfsfs* /etc/rc.d/rc3.d/S60nfs@ [snip] > >Ie, you want to start up both nfs and nfsd (in runlevels 3-5). This >should have occured automatically when you told the installation program >you wanted to set up nfs (ie be a nfs server) > You can automount a nfs filesystem in /etc/fstab with a line like: eden:/doswin/kits /mnt/nfs nfs rsize=1024,wsize=1024 0 0 See 'man mount' and 'man fstab' for more detail of parameters for this file. Greyman graham@gmcs.com.au
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads