Results 1 to 10 of 10

Thread: svc: failed to register lockdv1 RPC service

  1. #1
    Join Date
    Jan 2009
    Location
    sthlm
    Beans
    38
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Question svc: failed to register lockdv1 RPC service

    I am running an NFS server (Ubuntu 9.10 x64) and getting this in my /var/log/syslog after a restart of nfs-kernel-server restart.

    Is this something to worry about or not?
    I googled this for about 30 mins, and all people that are saying anything about this are experiencing serious issues with the NFS server. But I am not, the NFS server seems to work properly...


    Mar 16 13:17:51 ubuntunfs mountd[9508]: Caught signal 15, un-registering and exiting.
    Mar 16 13:17:51 ubuntunfs kernel: [356924.662246] nfsd: last server has exited, flushing export cache
    Mar 16 13:17:53 ubuntunfs kernel: [356925.916891] svc: failed to register lockdv1 RPC service (errno 97).
    Mar 16 13:17:53 ubuntunfs kernel: [356925.918142] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
    Mar 16 13:17:53 ubuntunfs kernel: [356925.918168] NFSD: starting 90-second grace period


    rgds
    /S

  2. #2
    Join Date
    Mar 2010
    Beans
    2

    Re: svc: failed to register lockdv1 RPC service

    I'm seeing the the 'svc:failed' messages trying to set up NFS right now on 32bit 9.10

    From dmesg

    [1969055.314784] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [1969056.291723] svc: failed to register lockdv1 RPC service (errno 97).
    [1969056.295021] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
    [1969056.295105] NFSD: starting 90-second grace period
    [1969532.188800] nfsd: last server has exited, flushing export cache
    [1969534.411003] svc: failed to register lockdv1 RPC service (errno 97).
    [1969534.414250] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
    [1969534.414311] NFSD: starting 90-second grace period


    If I figure out what the problem is , I will post back here. Good luck!

  3. #3
    Join Date
    Jan 2009
    Location
    sthlm
    Beans
    38
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: svc: failed to register lockdv1 RPC service

    Oh, okay..

    Does the NFS-server work properly besides this log entry?
    I'm running mdadm raid-5, and XFS as filesystem for the NFS share.
    This comes up only when I start the NFS service. While running there are no error regarded to NFS in syslog.

    (I saw some place when I googled around that someone else also was running XFS with this issue..)

    /S

  4. #4
    Join Date
    Mar 2010
    Beans
    2

    Re: svc: failed to register lockdv1 RPC service

    As far as "svc failed" message goes , this is relevant ( even if it doesn't explain much ! )
    http://osdir.com/ml/linux-kernel/2009-05/msg04317.html
    As with stek_87 , my NFS service seems to be working ok , so I'm gonna put this issue to one side for the time being.

  5. #5
    Join Date
    Jan 2009
    Location
    sthlm
    Beans
    38
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Smile Re: svc: failed to register lockdv1 RPC service

    I think I have got the solution...

    (the solution is to disable ipv6)

    open /boot/grub/menu.lst with a text editor

    edit the line:
    Code:
    kernel          /boot/vmlinuz-2.6.31-20-server root=/dev/md1 ro quiet splash
    to this:
    Code:
    kernel          /boot/vmlinuz-2.6.31-20-server root=/dev/md1 ro quiet splash ipv6.disable=1
    Then run
    Code:
    sudo update-grub
    and reboot..

    Now when I restart the nfs-kernel-server no error gets logged..

    /S

  6. #6
    Join Date
    Dec 2008
    Location
    Isolated Digital Reign
    Beans
    151
    Distro
    Kubuntu Development Release

    Exclamation Re: svc: failed to register lockdv1 RPC service

    Default kernel boot options usually go into /etc/default/grub rather than directly into /boot/...

    Makes upgrading easier and also applies to new kernels.

  7. #7
    Join Date
    Apr 2007
    Beans
    281
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: svc: failed to register lockdv1 RPC service

    thanks stek_87 and CHaoSlayeR for the info
    .:it's all about true or false, so be true to life:.
    linux community is the best
    ubuntu ftw <3

  8. #8
    Join Date
    Apr 2007
    Beans
    281
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: svc: failed to register lockdv1 RPC service

    so... in my case it was an AllowUsers line into /etc/ssh/sshd_config, I had to modify /etc/ssh/sshd_config and add AllowUsers ubuntu and then it booted
    .:it's all about true or false, so be true to life:.
    linux community is the best
    ubuntu ftw <3

  9. #9
    Join Date
    May 2006
    Beans
    180
    Distro
    Xubuntu 8.04 Hardy Heron

    Re: svc: failed to register lockdv1 RPC service

    got that message too on a NFS client : laptop lenovo g470 running debian

    (my NFS server is a nas running unfs3)


    Disabling ipv6 looks more like a workaround that a fix, is that issue reported on bug trackers ?

    --
    http://rzr.online.fr/q/dmesg
    # http://rzr.online.fr/q/apt # test my deb's please
    # http://rzr.online.fr/q/ubuntu # contribs docs etc
    # http://rzr.online.fr/q/unicorn # works for me
    # http://go.cur.lv/files# files to be shared or email me

  10. #10
    Join Date
    Jan 2009
    Location
    sthlm
    Beans
    38
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: svc: failed to register lockdv1 RPC service

    I have not reported a bug.
    /S

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •