|
From: Chris G. <dl...@ki...> - 2011-11-04 14:53:52
|
Hi all,
Sorry for the delay in replying, been a bit busy. Ok, I've updated 2 of my
servers to 1.4.3-2011-10-12 and then followed the instructions below but
it's still not working.
On one server I'm getting:
Starting NFS nfsd...rpc.nfsd: writing fd to kernel failed: errno 111
(Connection refused)
rpc.nfsd: unable to set any sockets for nfsd
and
Exporting NFS Filesystems...exportfs: /etc/exports [1]: Neither
'subtree_check' or 'no_subtree_check' specified for export "*:/home/Films".
Assuming default behaviour ('no_subtree_check').
NOTE: this default has changed since nfs-utils version 1.0.x
and on the other server I get no errors starting the services, but I get
this error:
clnt_create: RPC: Port mapper failure - Unable to receive: errno 111
(Connection refused)
when doing the showmount -e 127.0.0.1 command.
Thanks for all the help so far, here's hoping we can get to the bottom of
the issue.
Cheers, 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
>
>
>
|