🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.networking
Article #187

Re: NFS problem - RedHat 5.2

#187
From: Regit Young
Date: Thu, 21 Jan 1999 00:00
53 lines
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
Technical Details
Message-ID: <36A6DEE2.C0B71A60@wantree.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <786im3$rop$1@nnrp1.dejanews.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,7ce88a030b821fa8
X-Google-Attributes: gid102983,public
X-Google-Thread: 10669a,7ce88a030b821fa8
X-Google-Attributes: gid10669a,public
From: Regit Young <regit@wantree.com.au>
Subject: Re: NFS problem - RedHat 5.2
Date: 1999/01/21
Message-ID: <36A6DEE2.C0B71A60@wantree.com.au>
X-Deja-AN: 435143278
Content-Transfer-Encoding: 7bit
References: <786im3$rop$1@nnrp1.dejanews.com>
Content-Type: text/plain; charset=us-ascii
Organization: Wantree Development
Mime-Version: 1.0
Newsgroups: comp.os.linux.networking,aus.computers.linux