|
From: Serge L. <ser...@gm...> - 2011-11-01 22:35:18
|
Hi Chris, It looks like portmap is not working. We replaced it with rpcbind, so most probably you use "broken" build. Try the new one - it should be fine. Serge PS. On my system: root@Devil:~ # /etc/init.d/rpcbind start Starting RPC Portmapper: [ OK ] root@Devil:~ # /etc/init.d/nfsd start Starting NFS mountd... [ OK ] Starting NFS nfsd... [ OK ] Starting NFS statd... [ OK ] Exporting NFS Filesystems... [ OK ] root@Devil:~ # showmount -e 127.0.0.1 Export list for 127.0.0.1: /shm/var * > 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... > <mailto:serge.leschinsky%2B...@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... > <mailto: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... > <mailto: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 |