Results 1 to 10 of 10

Thread: nfsserver failing to start 11.4 upgrade

  1. #1

    Default nfsserver failing to start 11.4 upgrade

    All,

    I just upgrade from 10.3 to 11.4. Everything went fairly smoothly and most things are still working execp nfsserver

    getting:

    /etc/init.d/nfsserver start
    Starting kernel based NFS server: mountd statd nfsdrpc.nfsd: writing fd to kernel failed: errno 13 (Permission denied)
    rpc.nfsd: unable to create inet6 TCP socket: errno 97 (Address family not supported by protocol)
    rpc.nfsd: unable to set any sockets for nfsd
    failed

    dmesg:
    RPC: server localhost requires stronger authentication.
    [ 2545.282736] svc: failed to register nfsaclv2 RPC service (errno 13).
    [ 2545.282742] nfsd: last server has exited, flushing export cache
    [ 2545.282852] RPC: server localhost requires stronger authentication.
    [ 2545.282955] RPC: server localhost requires stronger authentication.
    [ 2545.283848] RPC: server localhost requires stronger authentication.
    [ 2545.283957] RPC: server localhost requires stronger authentication.

    I have seen other distros with similar issues, could it be a bug?

    Does someone have a work around?

    Thanks

    Jamie
    Last edited by jblake20; 21-Apr-2011 at 19:21. Reason: messed up title

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,288

    Default Re: nfsserver failing to start 11.4 upgrade

    Gads, from 10.3 to 11.4 it is amassing that it runs at all. There are far too many differences in the in the versions. Really this is in no way is a recommended upgrade path. I suggest backing up and doing a fresh install.

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,710
    Blog Entries
    1

    Default Re: nfsserver failing to start 11.4 upgrade

    Gads, from 10.3 to 11.4 it is amassing that it runs at all. There are far too many differences in the in the versions. Really this is in no way is a recommended upgrade path. I suggest backing up and doing a fresh install.
    Yes, that what my first thoughts were too

    If you really want to bang your head though, I suppose you could try re-configuring via YaST>>Network Services>>NFS Server, (but your existing configuration files are likely to be part of the problem here).

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: nfsserver failing to start 11.4 upgrade

    On 2011-04-22 04:36, jblake20 wrote:
    >
    > All,
    >
    > I just upgrade from 10.3 to 11.4. Everything went fairly smoothly and
    > most things are still working execp nfsserver


    In one step? Risky.
    Heed not the "install fresh" cries ;-)

    Probably the configuration files have changed what they support. Backup the
    exports file, and create a new configuration with YaST, for example.

    If you have used the DVD upgrade, in the official documentation reference
    there used to be a chapter that detailed the important changes from version
    to version, for upgrades.

    > http://doc.opensuse.org/products/ope...update.version


    The information I mean is not there now.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  5. #5

    Default Re: nfsserver failing to start 11.4 upgrade

    Yes very risky and I am surprised it worked as well as it did. But it was by far the easiest, assuming things go well. It will be more down time for me to install from scratch, so i was hoping to get lucky.

    I did remove my entries from /etc/exports and tried re-creating using yast, but still the same error.

    Thanks

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: nfsserver failing to start 11.4 upgrade

    On 2011-04-22 16:36, jblake20 wrote:
    >
    > Yes very risky and I am surprised it worked as well as it did. But it
    > was by far the easiest, assuming things go well. It will be more down
    > time for me to install from scratch, so i was hoping to get lucky.
    >
    > I did remove my entries from /etc/exports and tried re-creating using
    > yast, but still the same error.


    Stop apparmour and retry. A wild guess. If not, post your exports file.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  7. #7

    Default Re: nfsserver failing to start 11.4 upgrade

    apparmour is off. my exports file is pretty simple. it seems like an rpcbind issue or something.

    here is my exports file as newly created from yast:
    suzie:/home/jblake # more /etc/exports
    /u03 *(ro,root_squash,sync,no_subtree_check)
    suzie:/home/jblake #

    suzie:/home/jblake # /etc/init.d/nfsserver start
    Starting kernel based NFS server: mountd statd nfsdrpc.nfsd: writing fd to kernel failed: errno 13 (Permission denied)
    rpc.nfsd: unable to create inet6 TCP socket: errno 97 (Address family not supported by protocol)
    rpc.nfsd: unable to set any sockets for nfsd
    failed
    suzie:/home/jblake #

    what config file might this be trying to pick up an ipv6, i have that disabled on grub config line and in network settings

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: nfsserver failing to start 11.4 upgrade

    On 2011-04-22 20:36, jblake20 wrote:
    >
    > apparmour is off. my exports file is pretty simple. it seems like an
    > rpcbind issue or something.
    >
    > here is my exports file as newly created from yast:
    > suzie:/home/jblake # more /etc/exports
    > /u03 *(ro,root_squash,sync,no_subtree_check)
    > suzie:/home/jblake #
    >
    > suzie:/home/jblake # /etc/init.d/nfsserver start


    Hey there! You are not fully root. Please use "su -", not "su".

    > Starting kernel based NFS server: mountd statd nfsdrpc.nfsd: writing fd
    > to kernel failed: errno 13 (Permission denied)
    > rpc.nfsd: unable to create inet6 TCP socket: errno 97 (Address family
    > not supported by protocol)
    > rpc.nfsd: unable to set any sockets for nfsd
    >
    > failed
    > suzie:/home/jblake #
    >
    > what config file might this be trying to pick up an ipv6, i have that
    > disabled on grub config line and in network settings


    I have ipv6 enabled with no problems at all. Never had.


    In case it is an upgrade issue, the method is this.

    Code:
    ---------------------
    rpm -q -a --queryformat "%{INSTALLTIME};%{INSTALLTIME:day}; \
    %{BUILDTIME:day}; %{NAME};%{VERSION}-%-7{RELEASE};%{arch}; \
    %{VENDOR};%{PACKAGER};%{DISTRIBUTION};%{DISTTAG}\n" \
    | sort | cut --fields="2-" --delimiter=\; \
    | tee rpmlist.csv | less -S

    or

    rpm -q -a --queryformat "%{INSTALLTIME}\t%{INSTALLTIME:day} \
    %{BUILDTIME:day} %-30{NAME}\t%15{VERSION}-%-7{RELEASE}\t%{arch} \
    %25{VENDOR}%25{PACKAGER} == %{DISTRIBUTION} %{DISTTAG}\n" \
    | sort | cut --fields="2-" > rpmlist
    ---------------------

    It generates a list of packages (the first version is for importing in a
    spreadsheet) with the interesting fields that allows you to learn if there
    is a package from the wrong distro or architecture. Just examine it
    completely, and if there is a wrong package, install the correct version
    with YaST.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  9. #9
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,288

    Default Re: nfsserver failing to start 11.4 upgrade

    IPV6 might be an issue if your ISP or some piece of equipment in the Internet chain does not support it.

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: nfsserver failing to start 11.4 upgrade

    On 2011-04-23 00:06, gogalthorp wrote:
    >
    > IPV6 might be an issue if your ISP or some piece of equipment in the
    > Internet chain does not support it.


    My ISP certainly does not support IPv6, but my local network does. The
    router no, but the switch that is part of the router does, it is
    transparent at that level.

    The only problem I have is when the DNS for an internet site reports an
    IPv6 address, which will obviously fail.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

Tags for this Thread

Posting Permissions

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