|
From: Szombathelyi Gy|r. <gy...@fr...> - 2011-11-01 20:36:49
|
Hi, NFS server doesn't work due to missing rpcbind in 1.4.2 Br,György Chris Grove <dl...@ki...> írta: >Hi Heiko I.4.2 I think > >On 1 November 2011 20:21, Heiko Zuerker <he...@zu...> wrote: >>Chris, >> >>which version of DL are you using? >> >>Heiko >> >>Quoting Chris Grove <dl...@ki...>: >> >>> Hi Serge >>> >>> Right the folder I want to export is /home/Films so I've put it in >>> /etc/exports >>> >>> Next I've done /etc/init.d/portmap start as I got a "No such file or >>> directory" for the other one and I've got an [OK] for that. >>> >>> Next I did the /etc/init.d/nfsd start and got the following: >>> Starting NFS mountd... [ OK >>> ] >>> Starting NFS nfsd...rpc.nfsd: version 4 requires the TCP protocol [ OK ] >>> Starting NFS statd... [ OK >>> ] >>> Mounting nfsd virtual filesystem...mount: none already mounted or >>> /proc/fs/nfsd busy >>> mount: according to mtab, none is already mounted on /proc/fs/nfsd [FAILED] >>> Exporting NFS Filesystems... [ OK >>> ] >>> >>> When I did showmount -e nfs.server.ip.address I got: >>> clnt_create: RPC: Unknown protocol >>> >>> I did a /etc/init.d/nfsd restart just in case and got: >>> Stopping NFS statd... Not running [ ATTN >>> ] >>> Stopping NFS nfsd... Not running [ ATTN >>> ] >>> Stopping NFS mountd... Not running [ ATTN >>> ] >>> Refreshing NFS Exported Filesystems... [ OK >>> ] >>> Unmounting NFS Virtual Filesystem... [ OK >>> ] >>> Starting NFS mountd... [ OK >>> ] >>> Starting NFS nfsd...rpc.nfsd: version 4 requires the TCP protocol [ OK ] >>> Starting NFS statd... [ OK >>> ] >>> Mounting nfsd virtual filesystem... [ OK >>> ] >>> Exporting NFS Filesystems... [ OK >>> ] >>> >>> But I still get the same clnt_create: RPC: Unknown protocol error. >>> >>> Not sure where to go next :( >>> >>> Thanks, Chris. >>> >>> On 1 November 2011 20:00, Serge Leschinsky >>> <ser...@gm...>wrote: >>> >>>> Hi Chris, >>>> >>>> It works. Let's assume you are going to share "/opt", so the only things >>>> you >>>> have to do are: >>>> >>>> 1. echo "/opt *(rw,no_root_squash,no_subtree_check)" > /etc/exports >>>> >>>> 2. /etc/init.d/rpcbind start >>>> (or if you use older version /etc/init.d/portmap start) >>>> >>>> 3. /etc/init.d/nfsd start >>>> >>>> 4. check if "/opt" was really exported >>>> showmount -e nfs.server.ip.address >>>> >>>> >>>> If it doesn't work, let's debug it. >>>> >>>> Serge >>>> >>>> >>>> On 11/01/2011 04:52 AM, Chris Grove wrote: >>>> > Hi All. >>>> > Now I'm sure I'm just being thick (like I was with the bridging network >>>> > interfaces), but I can't seem to work out how to setup NFS Shares on my >>>> DL >>>> > server. So first off, can this be done? and secondly can someone give me >>>> an >>>> > Idiots Guide on how to do it please? >>>> > Thanks in advance, Chris. >>>> > >>>> > >>>> > >>>> ------------------------------------------------------------------------------ >>>> > RSA® Conference 2012 >>>> > Save$700 by Nov 18 >>>> > Register now >>>> > http://p.sf.net/sfu/rsa-sfdev2dev1 >>>> > >>>> > >>>> > >>>> > _______________________________________________ >>>> > Devil-linux-discuss mailing list >>>> > Dev...@li... >>>> > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> RSA® Conference 2012 >>>> Save $700 by Nov 18 >>>> Register now! >>>> http://p.sf.net/sfu/rsa-sfdev2dev1 >>>> _______________________________________________ >>>> Devil-linux-discuss mailing list >>>> Dev...@li... >>>> https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss >>>> >> >> -- >> >>Regards >> Heiko Zuerker >> http://www.devil-linux.org >> >> >> ------------------------------------------------------------------------------ >>RSA® Conference 2012 >>Save $700 by Nov 18 >>Register now! >>http://p.sf.net/sfu/rsa-sfdev2dev1 >>_______________________________________________ >>Devil-linux-discuss mailing list >>Dev...@li... >>https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss >Hi HeikoI.4.2 I thinkOn 1 November 2011 20:21, Heiko Zuerker he...@zu...> wrote: >Chris, > >which version of DL are you using? > >Heiko > >Quoting Chris Grove dl...@ki...>: > >> Hi Serge >> >> Right the folder I want to export is /home/Films so I've put it in >> /etc/exports >> >> Next I've done /etc/init.d/portmap start as I got a "No such file or >> directory" for the other one and I've got an [OK] for that. >> >> Next I did the /etc/init.d/nfsd start and got the following: >> Starting NFS mountd... [ OK >> ] >> Starting NFS nfsd...rpc.nfsd: version 4 requires the TCP protocol [ OK ] >> Starting NFS statd... [ OK >> ] >> Mounting nfsd virtual filesystem...mount: none already mounted or >> /proc/fs/nfsd busy >> mount: according to mtab, none is already mounted on /proc/fs/nfsd [FAILED] >> Exporting NFS Filesystems... [ OK >> ] >> >> When I did showmount -e nfs.server.ip.address I got: >> clnt_create: RPC: Unknown protocol >> >> I did a /etc/init.d/nfsd restart just in case and got: >> Stopping NFS statd... Not running [ ATTN >> ] >> Stopping NFS nfsd... Not running [ ATTN >> ] >> Stopping NFS mountd... Not running [ ATTN >> ] >> Refreshing NFS Exported Filesystems... [ OK >> ] >> Unmounting NFS Virtual Filesystem... [ OK >> ] >> Starting NFS mountd... [ OK >> ] >> Starting NFS nfsd...rpc.nfsd: version 4 requires the TCP protocol [ OK ] >> Starting NFS statd... [ OK >> ] >> Mounting nfsd virtual filesystem... [ OK >> ] >> Exporting NFS Filesystems... [ OK >> ] >> >> But I still get the same clnt_create: RPC: Unknown protocol error. >> >> Not sure where to go next :( >> >> Thanks, Chris. >> >> On 1 November 2011 20:00, Serge Leschinsky >> ser...@gm...>wrote: >> >>> Hi Chris, >>> >>> It works. Let's assume you are going to share "/opt", so the only things >>> you >>> have to do are: >>> >>> 1. echo "/opt *(rw,no_root_squash,no_subtree_check)" > /etc/exports >>> >>> 2. /etc/init.d/rpcbind start >>> (or if you use older version /etc/init.d/portmap start) >>> >>> 3. /etc/init.d/nfsd start >>> >>> 4. check if "/opt" was really exported >>> showmount -e nfs.server.ip.address >>> >>> >>> If it doesn't work, let's debug it. >>> >>> Serge >>> >>> >>> On 11/01/2011 04:52 AM, Chris Grove wrote: >>> > Hi All. >>> > Now I'm sure I'm just being thick (like I was with the bridging network >>> > interfaces), but I can't seem to work out how to setup NFS Shares on my >>> DL >>> > server. So first off, can this be done? and secondly can someone give me >>> an >>> > Idiots Guide on how to do it please? >>> > Thanks in advance, Chris. >>> > >>> > >>> > >>> ------------------------------------------------------------------------------ >>> > RSA&reg; Conference 2012 >>> > Save&#36;700 by Nov 18 >>> > Register now >>> > http://p.sf.net/sfu/rsa-sfdev2dev1 >>> > >>> > >>> > >>> > _______________________________________________ >>> > Devil-linux-discuss mailing list >>> > Dev...@li... >>> > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> RSA&#174; Conference 2012 >>> Save $700 by Nov 18 >>> Register now&#33; >>> http://p.sf.net/sfu/rsa-sfdev2dev1 >>> _______________________________________________ >>> Devil-linux-discuss mailing list >>> Dev...@li... >>> https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss >>> > > >-- > >Regards > Heiko Zuerker > http://www.devil-linux.org > > > >------------------------------------------------------------------------------ >RSA&#174; Conference 2012 >Save $700 by Nov 18 >Register now&#33; >http://p.sf.net/sfu/rsa-sfdev2dev1 >_______________________________________________ >Devil-linux-discuss mailing list >Dev...@li... >https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss > >------------------------------------------------------------------------------ >RSA® Conference 2012 >Save $700 by Nov 18 >Register now! >http://p.sf.net/sfu/rsa-sfdev2dev1Hi HeikoI.4.2 I thinkOn 1 November 2011 20:21, Heiko Zuerker he...@zu...> wrote: >Chris, > >which version of DL are you using? > >Heiko > >Quoting Chris Grove dl...@ki...>: > >> Hi Serge >> >> Right the folder I want to export is /home/Films so I've put it in >> /etc/exports >> >> Next I've done /etc/init.d/portmap start as I got a "No such file or >> directory" for the other one and I've got an [OK] for that. >> >> Next I did the /etc/init.d/nfsd start and got the following: >> Starting NFS mountd... [ OK >> ] >> Starting NFS nfsd...rpc.nfsd: version 4 requires the TCP protocol [ OK ] >> Starting NFS statd... [ OK >> ] >> Mounting nfsd virtual filesystem...mount: none already mounted or >> /proc/fs/nfsd busy >> mount: according to mtab, none is already mounted on /proc/fs/nfsd [FAILED] >> Exporting NFS Filesystems... [ OK >> ] >> >> When I did showmount -e nfs.server.ip.address I got: >> clnt_create: RPC: Unknown protocol >> >> I did a /etc/init.d/nfsd restart just in case and got: >> Stopping NFS statd... Not running [ ATTN >> ] >> Stopping NFS nfsd... Not running [ ATTN >> ] >> Stopping NFS mountd... Not running [ ATTN >> ] >> Refreshing NFS Exported Filesystems... [ OK >> ] >> Unmounting NFS Virtual Filesystem... [ OK >> ] >> Starting NFS mountd... [ OK >> ] >> Starting NFS nfsd...rpc.nfsd: version 4 requires the TCP protocol [ OK ] >> Starting NFS statd... [ OK >> ] >> Mounting nfsd virtual filesystem... [ OK >> ] >> Exporting NFS Filesystems... [ OK >> ] >> >> But I still get the same clnt_create: RPC: Unknown protocol error. >> >> Not sure where to go next :( >> >> Thanks, Chris. >> >> On 1 November 2011 20:00, Serge Leschinsky >> ser...@gm...>wrote: >> >>> Hi Chris, >>> >>> It works. Let's assume you are going to share "/opt", so the only things >>> you >>> have to do are: >>> >>> 1. echo "/opt *(rw,no_root_squash,no_subtree_check)" > /etc/exports >>> >>> 2. /etc/init.d/rpcbind start >>> (or if you use older version /etc/init.d/portmap start) >>> >>> 3. /etc/init.d/nfsd start >>> >>> 4. check if "/opt" was really exported >>> showmount -e nfs.server.ip.address >>> >>> >>> If it doesn't work, let's debug it. >>> >>> Serge >>> >>> >>> On 11/01/2011 04:52 AM, Chris Grove wrote: >>> > Hi All. >>> > Now I'm sure I'm just being thick (like I was with the bridging network >>> > interfaces), but I can't seem to work out how to setup NFS Shares on my >>> DL >>> > server. So first off, can this be done? and secondly can someone give me >>> an >>> > Idiots Guide on how to do it please? >>> > Thanks in advance, Chris. >>> > >>> > >>> > >>> ------------------------------------------------------------------------------ >>> > RSA&reg; Conference 2012 >>> > Save&#36;700 by Nov 18 >>> > Register now >>> > http://p.sf.net/sfu/rsa-sfdev2dev1 >>> > >>> > >>> > >>> > _______________________________________________ >>> > Devil-linux-discuss mailing list >>> > Dev...@li... >>> > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> RSA&#174; Conference 2012 >>> Save $700 by Nov 18 >>> Register now&#33; >>> http://p.sf.net/sfu/rsa-sfdev2dev1 >>> _______________________________________________ >>> Devil-linux-discuss mailing list >>> Dev...@li... >>> https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss >>> > > >-- > >Regards > Heiko Zuerker > http://www.devil-linux.org > > > >------------------------------------------------------------------------------ >RSA&#174; Conference 2012 >Save $700 by Nov 18 >Register now&#33; >http://p.sf.net/sfu/rsa-sfdev2dev1 >_______________________________________________ >Devil-linux-discuss mailing list >Dev...@li... >https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss > >------------------------------------------------------------------------------ >RSA® Conference 2012 >Save $700 by Nov 18 >Register now! >http://p.sf.net/sfu/rsa-sfdev2dev1_______________________________________________ >Devil-linux-discuss mailing list >Dev...@li... >https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss |