tryed to install nfs on my Linode

Hi @ all ,

i tryed to install nfs on my Linode :

> apt-get install nfs-kernel-server nfs-common portmap

when i restart the nfs-kernel-server i have an issue :

* Not starting NFS kernel daemon: no support in current kernel.

i use the help write in this post :

`[*] nano +67 /etc/init.d/nfs-kernel-server
[*] Comment out this line: "if [ -f /proc/kallsyms ] && ! grep -qE ' nfsd_serv ' /proc/kallsyms; then"
[*] Replace with this line: "if [ -f /proc/kallsyms ] && ! grep -qE 'init_nf(sd| )' /proc/kallsyms; then"
[*] Save the changes` 

but when i restart the daemon i have this message :

* Starting NFS kernel daemon [fail]

`~~[code]~~/var/log/messages :
...
Jan 12 13:30:31 node2 kernel: nfsd: last server has exited, flushing export cache
Jan 12 13:30:31 node2 kernel: svc: failed to register nfsdv2 RPC service (errno 111).
Jan 12 13:30:31 node2 kernel: svc: failed to register nfsaclv2 RPC service (errno 111).
Jan 12 13:30:31 node2 kernel: nfsd: last server has exited, flushing export cache
Jan 12 13:30:31 node2 kernel: nfsd: last server has exited, flushing export cache<e>[/code]</e>`

i'm running :

Linux node2 3.0.4-x86_64-linode21 #1 SMP Thu Sep 1 21:28:01 EDT 2011 x86_64 GNU/Linux

dmesg :

`~~[code]~~EXT3-fs (xvdc): using internal journal
EXT3-fs (xvdc): mounted filesystem with writeback data mode
svc: failed to register nfsdv2 RPC service (errno 111).
svc: failed to register nfsaclv2 RPC service (errno 111).
nfsd: last server has exited, flushing export cache
svc: failed to register nfsdv2 RPC service (errno 111).
svc: failed to register nfsaclv2 RPC service (errno 111).
nfsd: last server has exited, flushing export cache
nfsd: last server has exited, flushing export cache
eth0: no IPv6 routers present
svc: failed to register nfsdv2 RPC service (errno 111).
svc: failed to register nfsaclv2 RPC service (errno 111).
nfsd: last server has exited, flushing export cache
svc: failed to register nfsdv2 RPC service (errno 111).
svc: failed to register nfsaclv2 RPC service (errno 111).
nfsd: last server has exited, flushing export cache
nfsd: last server has exited, flushing export cache<e>[/code]</e>`

so ... i think it was a problem with ipv6 ... i tried by install the official kernel of ubuntu 10.04 - now 2.6.32-37-server - by following this guide : <url url="http://library.linode.com/linode-platform/custom-instances/pv-grub-howto#sph_ubuntu-10-04-lts-lucid"><link_text text="http://library.linode.com/linode-platfo ... -lts-lucid">http://library.linode.com/linode-platform/custom-instances/pv-grub-howto#sph_ubuntu-10-04-lts-lucid</link_text></url>

and finally i was able to disable the ipv6 support ...

but nfs-kernel won't start ...

dmesg say :

`~~[code]~~[3276799.115494] rpcbind: server localhost not responding, timed out
[3276804.125654] svc: failed to register lockdv1 RPC service (errno 512).
[3276804.125670] lockd_up: makesock failed, error=-512<e>[/code]</e>`

someone can help me ?

Thanks.

1 Reply

hi @ all,

i use samba instead of nfs.

Bye.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct