OpenAFS suddenly fails: a pioctl failed while obtaining tokensInstalling new NVIDIA driver failsWhere are AFS...

What does the minus sign mean in measurements in datasheet footprint drawings?

Where to place an artificial gland in the human body?

Why keep the bed heated after initial layer(s) with PLA (or PETG)?

What do teaching faculty do during semester breaks?

Moving files accidentally to an not existing directory erases files?

How do I run a game when my PCs have different approaches to combat?

Why is chess failing to attract big name sponsors?

Convert a string like 4h53m12s to a total number of seconds in JavaScript

Why are so many countries still in the Commonwealth?

Explanation for a joke about a three-legged dog that walks into a bar

How can I stop myself from micromanaging other PCs' actions?

Spoken encryption

How can I create a shape in Illustrator which follows a path in descending order size?

Which creatures count as green creatures?

Determine if a triangle is equilateral, isosceles, or scalene

Why no ";" after "do" in sh loops?

What are the exact meanings of roll, pitch and yaw?

Company requiring me to let them review research from before I was hired

What is "ass door"?

Very basic singly linked list

Why did NASA use U.S customary units?

Can two figures have the same area, perimeter, and same number of segments have different shape?

Marketing Cloud Query Activity is not pulling in data for newly added fields to target Data Extension

Invert Some Switches on a Switchboard



OpenAFS suddenly fails: a pioctl failed while obtaining tokens


Installing new NVIDIA driver failsWhere are AFS tokens stored, and how do I get them into running Screen sessionHow to fix “amdgpu dkms failed for running kernel” when installing amd gpu drivers?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















My afs client stopped working. I'm not sure why - maybe I ran apt-get
? Anyways:



user@box ~ $ kinit
user@IES.AUC.DK's Password:
user@box ~ $ aklog
aklog: a pioctl failed while obtaining tokens for cell ies.auc.dk


Checking status of service:



user@box ~ $ sudo service openafs-client status
[sudo] password for user:
● openafs-client.service - OpenAFS client
Loaded: loaded (/lib/systemd/system/openafs-client.service; enabled; vendor p
Active: active (exited) since Mon 2017-11-13 08:17:40 CET; 3h 8min ago
Process: 1942 ExecStartPost=/usr/bin/fs sysname $AFS_SYSNAME (code=exited, sta
Process: 1934 ExecStartPost=/usr/bin/fs setcrypt $AFS_SETCRYPT (code=exited, s
Process: 1930 ExecStart=/sbin/afsd $AFSD_ARGS (code=exited, status=0/SUCCESS)
Process: 1918 ExecStartPre=/usr/share/openafs/openafs-client-precheck (code=ex
Tasks: 0 (limit: 512)
Memory: 0B
CPU: 0

Nov 13 08:17:40 box systemd[1]: Starting OpenAFS client...
Nov 13 08:17:40 box openafs-client-precheck[1918]: modprobe: FATAL: Modul
Nov 13 08:17:40 box openafs-client-precheck[1918]: Failed to load openafs
Nov 13 08:17:40 box fs[1934]: Usage: /usr/bin/fs setcrypt -crypt <on or o
Nov 13 08:17:40 box fs[1942]: Usage: /usr/bin/fs sysname [-newsys <new sy
Nov 13 08:17:40 box systemd[1]: Started OpenAFS client.


Modprobe fails. Gut feeling that this is something with dkms, which is
supposed to build kernel module. Trying to trigger build of kernel
module (Should happen as part of installation):



user@box ~ $ sudo dpkg-reconfigure openafs-modules-dkms 

-------- Uninstall Beginning --------
Module: openafs
Version: 1.6.21
Kernel: 4.4.0-21-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

openafs.ko:
- Uninstallation
- Deleting from: /lib/modules/4.4.0-21-generic/updates/dkms//
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod.....

DKMS: uninstall completed.

------------------------------
Deleting module version: 1.6.21
completely from the DKMS tree.
------------------------------
Done.
Loading new openafs-1.6.21 DKMS files...
Building only for 4.4.0-97-generic
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.


Mismatch between in kernel versions; 4.4.0-21 was installed. 4.4.0-97
is current. Unable to build for current, as source is unavailable.










share|improve this question
















bumped to the homepage by Community 35 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















    1















    My afs client stopped working. I'm not sure why - maybe I ran apt-get
    ? Anyways:



    user@box ~ $ kinit
    user@IES.AUC.DK's Password:
    user@box ~ $ aklog
    aklog: a pioctl failed while obtaining tokens for cell ies.auc.dk


    Checking status of service:



    user@box ~ $ sudo service openafs-client status
    [sudo] password for user:
    ● openafs-client.service - OpenAFS client
    Loaded: loaded (/lib/systemd/system/openafs-client.service; enabled; vendor p
    Active: active (exited) since Mon 2017-11-13 08:17:40 CET; 3h 8min ago
    Process: 1942 ExecStartPost=/usr/bin/fs sysname $AFS_SYSNAME (code=exited, sta
    Process: 1934 ExecStartPost=/usr/bin/fs setcrypt $AFS_SETCRYPT (code=exited, s
    Process: 1930 ExecStart=/sbin/afsd $AFSD_ARGS (code=exited, status=0/SUCCESS)
    Process: 1918 ExecStartPre=/usr/share/openafs/openafs-client-precheck (code=ex
    Tasks: 0 (limit: 512)
    Memory: 0B
    CPU: 0

    Nov 13 08:17:40 box systemd[1]: Starting OpenAFS client...
    Nov 13 08:17:40 box openafs-client-precheck[1918]: modprobe: FATAL: Modul
    Nov 13 08:17:40 box openafs-client-precheck[1918]: Failed to load openafs
    Nov 13 08:17:40 box fs[1934]: Usage: /usr/bin/fs setcrypt -crypt <on or o
    Nov 13 08:17:40 box fs[1942]: Usage: /usr/bin/fs sysname [-newsys <new sy
    Nov 13 08:17:40 box systemd[1]: Started OpenAFS client.


    Modprobe fails. Gut feeling that this is something with dkms, which is
    supposed to build kernel module. Trying to trigger build of kernel
    module (Should happen as part of installation):



    user@box ~ $ sudo dpkg-reconfigure openafs-modules-dkms 

    -------- Uninstall Beginning --------
    Module: openafs
    Version: 1.6.21
    Kernel: 4.4.0-21-generic (x86_64)
    -------------------------------------

    Status: Before uninstall, this module version was ACTIVE on this kernel.

    openafs.ko:
    - Uninstallation
    - Deleting from: /lib/modules/4.4.0-21-generic/updates/dkms//
    - Original module
    - No original module was found for this module on this kernel.
    - Use the dkms install command to reinstall any previous module version.

    depmod.....

    DKMS: uninstall completed.

    ------------------------------
    Deleting module version: 1.6.21
    completely from the DKMS tree.
    ------------------------------
    Done.
    Loading new openafs-1.6.21 DKMS files...
    Building only for 4.4.0-97-generic
    Module build for the currently running kernel was skipped since the
    kernel source for this kernel does not seem to be installed.


    Mismatch between in kernel versions; 4.4.0-21 was installed. 4.4.0-97
    is current. Unable to build for current, as source is unavailable.










    share|improve this question
















    bumped to the homepage by Community 35 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      1












      1








      1








      My afs client stopped working. I'm not sure why - maybe I ran apt-get
      ? Anyways:



      user@box ~ $ kinit
      user@IES.AUC.DK's Password:
      user@box ~ $ aklog
      aklog: a pioctl failed while obtaining tokens for cell ies.auc.dk


      Checking status of service:



      user@box ~ $ sudo service openafs-client status
      [sudo] password for user:
      ● openafs-client.service - OpenAFS client
      Loaded: loaded (/lib/systemd/system/openafs-client.service; enabled; vendor p
      Active: active (exited) since Mon 2017-11-13 08:17:40 CET; 3h 8min ago
      Process: 1942 ExecStartPost=/usr/bin/fs sysname $AFS_SYSNAME (code=exited, sta
      Process: 1934 ExecStartPost=/usr/bin/fs setcrypt $AFS_SETCRYPT (code=exited, s
      Process: 1930 ExecStart=/sbin/afsd $AFSD_ARGS (code=exited, status=0/SUCCESS)
      Process: 1918 ExecStartPre=/usr/share/openafs/openafs-client-precheck (code=ex
      Tasks: 0 (limit: 512)
      Memory: 0B
      CPU: 0

      Nov 13 08:17:40 box systemd[1]: Starting OpenAFS client...
      Nov 13 08:17:40 box openafs-client-precheck[1918]: modprobe: FATAL: Modul
      Nov 13 08:17:40 box openafs-client-precheck[1918]: Failed to load openafs
      Nov 13 08:17:40 box fs[1934]: Usage: /usr/bin/fs setcrypt -crypt <on or o
      Nov 13 08:17:40 box fs[1942]: Usage: /usr/bin/fs sysname [-newsys <new sy
      Nov 13 08:17:40 box systemd[1]: Started OpenAFS client.


      Modprobe fails. Gut feeling that this is something with dkms, which is
      supposed to build kernel module. Trying to trigger build of kernel
      module (Should happen as part of installation):



      user@box ~ $ sudo dpkg-reconfigure openafs-modules-dkms 

      -------- Uninstall Beginning --------
      Module: openafs
      Version: 1.6.21
      Kernel: 4.4.0-21-generic (x86_64)
      -------------------------------------

      Status: Before uninstall, this module version was ACTIVE on this kernel.

      openafs.ko:
      - Uninstallation
      - Deleting from: /lib/modules/4.4.0-21-generic/updates/dkms//
      - Original module
      - No original module was found for this module on this kernel.
      - Use the dkms install command to reinstall any previous module version.

      depmod.....

      DKMS: uninstall completed.

      ------------------------------
      Deleting module version: 1.6.21
      completely from the DKMS tree.
      ------------------------------
      Done.
      Loading new openafs-1.6.21 DKMS files...
      Building only for 4.4.0-97-generic
      Module build for the currently running kernel was skipped since the
      kernel source for this kernel does not seem to be installed.


      Mismatch between in kernel versions; 4.4.0-21 was installed. 4.4.0-97
      is current. Unable to build for current, as source is unavailable.










      share|improve this question
















      My afs client stopped working. I'm not sure why - maybe I ran apt-get
      ? Anyways:



      user@box ~ $ kinit
      user@IES.AUC.DK's Password:
      user@box ~ $ aklog
      aklog: a pioctl failed while obtaining tokens for cell ies.auc.dk


      Checking status of service:



      user@box ~ $ sudo service openafs-client status
      [sudo] password for user:
      ● openafs-client.service - OpenAFS client
      Loaded: loaded (/lib/systemd/system/openafs-client.service; enabled; vendor p
      Active: active (exited) since Mon 2017-11-13 08:17:40 CET; 3h 8min ago
      Process: 1942 ExecStartPost=/usr/bin/fs sysname $AFS_SYSNAME (code=exited, sta
      Process: 1934 ExecStartPost=/usr/bin/fs setcrypt $AFS_SETCRYPT (code=exited, s
      Process: 1930 ExecStart=/sbin/afsd $AFSD_ARGS (code=exited, status=0/SUCCESS)
      Process: 1918 ExecStartPre=/usr/share/openafs/openafs-client-precheck (code=ex
      Tasks: 0 (limit: 512)
      Memory: 0B
      CPU: 0

      Nov 13 08:17:40 box systemd[1]: Starting OpenAFS client...
      Nov 13 08:17:40 box openafs-client-precheck[1918]: modprobe: FATAL: Modul
      Nov 13 08:17:40 box openafs-client-precheck[1918]: Failed to load openafs
      Nov 13 08:17:40 box fs[1934]: Usage: /usr/bin/fs setcrypt -crypt <on or o
      Nov 13 08:17:40 box fs[1942]: Usage: /usr/bin/fs sysname [-newsys <new sy
      Nov 13 08:17:40 box systemd[1]: Started OpenAFS client.


      Modprobe fails. Gut feeling that this is something with dkms, which is
      supposed to build kernel module. Trying to trigger build of kernel
      module (Should happen as part of installation):



      user@box ~ $ sudo dpkg-reconfigure openafs-modules-dkms 

      -------- Uninstall Beginning --------
      Module: openafs
      Version: 1.6.21
      Kernel: 4.4.0-21-generic (x86_64)
      -------------------------------------

      Status: Before uninstall, this module version was ACTIVE on this kernel.

      openafs.ko:
      - Uninstallation
      - Deleting from: /lib/modules/4.4.0-21-generic/updates/dkms//
      - Original module
      - No original module was found for this module on this kernel.
      - Use the dkms install command to reinstall any previous module version.

      depmod.....

      DKMS: uninstall completed.

      ------------------------------
      Deleting module version: 1.6.21
      completely from the DKMS tree.
      ------------------------------
      Done.
      Loading new openafs-1.6.21 DKMS files...
      Building only for 4.4.0-97-generic
      Module build for the currently running kernel was skipped since the
      kernel source for this kernel does not seem to be installed.


      Mismatch between in kernel versions; 4.4.0-21 was installed. 4.4.0-97
      is current. Unable to build for current, as source is unavailable.







      dkms afs






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 19 '17 at 15:02









      Jeff Schaller

      48.3k11 gold badges72 silver badges161 bronze badges




      48.3k11 gold badges72 silver badges161 bronze badges










      asked Nov 13 '17 at 13:27









      kidmosekidmose

      1287 bronze badges




      1287 bronze badges





      bumped to the homepage by Community 35 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 35 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Installing relevant headers for current kernel:



          user@box ~ $ sudo apt-get install linux-headers-`uname -r`
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          The following NEW packages will be installed:
          linux-headers-4.4.0-97-generic
          0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
          Need to get 817 kB of archives.
          After this operation, 7,427 kB of additional disk space will be used.
          Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-4.4.0-97-generic amd64 4.4.0-97.120 [817 kB]
          Fetched 817 kB in 0s (1,626 kB/s)
          Selecting previously unselected package linux-headers-4.4.0-97-generic.
          (Reading database ... 301414 files and directories currently installed.)
          Preparing to unpack .../linux-headers-4.4.0-97-generic_4.4.0-97.120_amd64.deb ...
          Unpacking linux-headers-4.4.0-97-generic (4.4.0-97.120) ...
          Setting up linux-headers-4.4.0-97-generic (4.4.0-97.120) ...
          Examining /etc/kernel/header_postinst.d.
          run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-97-generic /boot/vmlinuz-4.4.0-97-generic


          Triggering dkms build of afs kernel module:



          user@box ~ $ sudo dpkg-reconfigure openafs-modules-dkms

          -------- Uninstall Beginning --------
          Module: openafs
          Version: 1.6.21
          Kernel: 4.4.0-97-generic (x86_64)
          -------------------------------------

          Status: Before uninstall, this module version was ACTIVE on this kernel.

          openafs.ko:
          - Uninstallation
          - Deleting from: /lib/modules/4.4.0-97-generic/updates/dkms//
          - Original module
          - No original module was found for this module on this kernel.
          - Use the dkms install command to reinstall any previous module version.

          depmod....

          DKMS: uninstall completed.

          ------------------------------
          Deleting module version: 1.6.21
          completely from the DKMS tree.
          ------------------------------
          Done.
          Loading new openafs-1.6.21 DKMS files...
          Building only for 4.4.0-97-generic
          Building initial module for 4.4.0-97-generic
          Done.

          openafs:
          Running module version sanity check.
          - Original module
          - No original module exists within this kernel
          - Installation
          - Installing to /lib/modules/4.4.0-97-generic/updates/dkms//

          depmod....

          DKMS: install completed.


          Restart afs client, to insert kernel module:



          user@box ~ $ sudo service openafs-client restart


          Solved:



          user@box ~ $ kinit
          user@IES.AUC.DK's Password:
          user@box ~ $ aklog
          user@box ~ $ klist
          Credentials cache: FILE:/tmp/krb5cc_1000
          Principal: user@IES.AUC.DK

          Issued Expires Principal
          Nov 13 13:02:45 2017 Nov 13 23:02:42 2017 krbtgt/IES.AUC.DK@IES.AUC.DK
          Nov 13 13:02:46 2017 Nov 13 23:02:42 2017 afs/ies.auc.dk@IES.AUC.DK





          share|improve this answer




























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f404247%2fopenafs-suddenly-fails-a-pioctl-failed-while-obtaining-tokens%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Installing relevant headers for current kernel:



            user@box ~ $ sudo apt-get install linux-headers-`uname -r`
            Reading package lists... Done
            Building dependency tree
            Reading state information... Done
            The following NEW packages will be installed:
            linux-headers-4.4.0-97-generic
            0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
            Need to get 817 kB of archives.
            After this operation, 7,427 kB of additional disk space will be used.
            Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-4.4.0-97-generic amd64 4.4.0-97.120 [817 kB]
            Fetched 817 kB in 0s (1,626 kB/s)
            Selecting previously unselected package linux-headers-4.4.0-97-generic.
            (Reading database ... 301414 files and directories currently installed.)
            Preparing to unpack .../linux-headers-4.4.0-97-generic_4.4.0-97.120_amd64.deb ...
            Unpacking linux-headers-4.4.0-97-generic (4.4.0-97.120) ...
            Setting up linux-headers-4.4.0-97-generic (4.4.0-97.120) ...
            Examining /etc/kernel/header_postinst.d.
            run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-97-generic /boot/vmlinuz-4.4.0-97-generic


            Triggering dkms build of afs kernel module:



            user@box ~ $ sudo dpkg-reconfigure openafs-modules-dkms

            -------- Uninstall Beginning --------
            Module: openafs
            Version: 1.6.21
            Kernel: 4.4.0-97-generic (x86_64)
            -------------------------------------

            Status: Before uninstall, this module version was ACTIVE on this kernel.

            openafs.ko:
            - Uninstallation
            - Deleting from: /lib/modules/4.4.0-97-generic/updates/dkms//
            - Original module
            - No original module was found for this module on this kernel.
            - Use the dkms install command to reinstall any previous module version.

            depmod....

            DKMS: uninstall completed.

            ------------------------------
            Deleting module version: 1.6.21
            completely from the DKMS tree.
            ------------------------------
            Done.
            Loading new openafs-1.6.21 DKMS files...
            Building only for 4.4.0-97-generic
            Building initial module for 4.4.0-97-generic
            Done.

            openafs:
            Running module version sanity check.
            - Original module
            - No original module exists within this kernel
            - Installation
            - Installing to /lib/modules/4.4.0-97-generic/updates/dkms//

            depmod....

            DKMS: install completed.


            Restart afs client, to insert kernel module:



            user@box ~ $ sudo service openafs-client restart


            Solved:



            user@box ~ $ kinit
            user@IES.AUC.DK's Password:
            user@box ~ $ aklog
            user@box ~ $ klist
            Credentials cache: FILE:/tmp/krb5cc_1000
            Principal: user@IES.AUC.DK

            Issued Expires Principal
            Nov 13 13:02:45 2017 Nov 13 23:02:42 2017 krbtgt/IES.AUC.DK@IES.AUC.DK
            Nov 13 13:02:46 2017 Nov 13 23:02:42 2017 afs/ies.auc.dk@IES.AUC.DK





            share|improve this answer






























              0














              Installing relevant headers for current kernel:



              user@box ~ $ sudo apt-get install linux-headers-`uname -r`
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              The following NEW packages will be installed:
              linux-headers-4.4.0-97-generic
              0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
              Need to get 817 kB of archives.
              After this operation, 7,427 kB of additional disk space will be used.
              Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-4.4.0-97-generic amd64 4.4.0-97.120 [817 kB]
              Fetched 817 kB in 0s (1,626 kB/s)
              Selecting previously unselected package linux-headers-4.4.0-97-generic.
              (Reading database ... 301414 files and directories currently installed.)
              Preparing to unpack .../linux-headers-4.4.0-97-generic_4.4.0-97.120_amd64.deb ...
              Unpacking linux-headers-4.4.0-97-generic (4.4.0-97.120) ...
              Setting up linux-headers-4.4.0-97-generic (4.4.0-97.120) ...
              Examining /etc/kernel/header_postinst.d.
              run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-97-generic /boot/vmlinuz-4.4.0-97-generic


              Triggering dkms build of afs kernel module:



              user@box ~ $ sudo dpkg-reconfigure openafs-modules-dkms

              -------- Uninstall Beginning --------
              Module: openafs
              Version: 1.6.21
              Kernel: 4.4.0-97-generic (x86_64)
              -------------------------------------

              Status: Before uninstall, this module version was ACTIVE on this kernel.

              openafs.ko:
              - Uninstallation
              - Deleting from: /lib/modules/4.4.0-97-generic/updates/dkms//
              - Original module
              - No original module was found for this module on this kernel.
              - Use the dkms install command to reinstall any previous module version.

              depmod....

              DKMS: uninstall completed.

              ------------------------------
              Deleting module version: 1.6.21
              completely from the DKMS tree.
              ------------------------------
              Done.
              Loading new openafs-1.6.21 DKMS files...
              Building only for 4.4.0-97-generic
              Building initial module for 4.4.0-97-generic
              Done.

              openafs:
              Running module version sanity check.
              - Original module
              - No original module exists within this kernel
              - Installation
              - Installing to /lib/modules/4.4.0-97-generic/updates/dkms//

              depmod....

              DKMS: install completed.


              Restart afs client, to insert kernel module:



              user@box ~ $ sudo service openafs-client restart


              Solved:



              user@box ~ $ kinit
              user@IES.AUC.DK's Password:
              user@box ~ $ aklog
              user@box ~ $ klist
              Credentials cache: FILE:/tmp/krb5cc_1000
              Principal: user@IES.AUC.DK

              Issued Expires Principal
              Nov 13 13:02:45 2017 Nov 13 23:02:42 2017 krbtgt/IES.AUC.DK@IES.AUC.DK
              Nov 13 13:02:46 2017 Nov 13 23:02:42 2017 afs/ies.auc.dk@IES.AUC.DK





              share|improve this answer




























                0












                0








                0







                Installing relevant headers for current kernel:



                user@box ~ $ sudo apt-get install linux-headers-`uname -r`
                Reading package lists... Done
                Building dependency tree
                Reading state information... Done
                The following NEW packages will be installed:
                linux-headers-4.4.0-97-generic
                0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
                Need to get 817 kB of archives.
                After this operation, 7,427 kB of additional disk space will be used.
                Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-4.4.0-97-generic amd64 4.4.0-97.120 [817 kB]
                Fetched 817 kB in 0s (1,626 kB/s)
                Selecting previously unselected package linux-headers-4.4.0-97-generic.
                (Reading database ... 301414 files and directories currently installed.)
                Preparing to unpack .../linux-headers-4.4.0-97-generic_4.4.0-97.120_amd64.deb ...
                Unpacking linux-headers-4.4.0-97-generic (4.4.0-97.120) ...
                Setting up linux-headers-4.4.0-97-generic (4.4.0-97.120) ...
                Examining /etc/kernel/header_postinst.d.
                run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-97-generic /boot/vmlinuz-4.4.0-97-generic


                Triggering dkms build of afs kernel module:



                user@box ~ $ sudo dpkg-reconfigure openafs-modules-dkms

                -------- Uninstall Beginning --------
                Module: openafs
                Version: 1.6.21
                Kernel: 4.4.0-97-generic (x86_64)
                -------------------------------------

                Status: Before uninstall, this module version was ACTIVE on this kernel.

                openafs.ko:
                - Uninstallation
                - Deleting from: /lib/modules/4.4.0-97-generic/updates/dkms//
                - Original module
                - No original module was found for this module on this kernel.
                - Use the dkms install command to reinstall any previous module version.

                depmod....

                DKMS: uninstall completed.

                ------------------------------
                Deleting module version: 1.6.21
                completely from the DKMS tree.
                ------------------------------
                Done.
                Loading new openafs-1.6.21 DKMS files...
                Building only for 4.4.0-97-generic
                Building initial module for 4.4.0-97-generic
                Done.

                openafs:
                Running module version sanity check.
                - Original module
                - No original module exists within this kernel
                - Installation
                - Installing to /lib/modules/4.4.0-97-generic/updates/dkms//

                depmod....

                DKMS: install completed.


                Restart afs client, to insert kernel module:



                user@box ~ $ sudo service openafs-client restart


                Solved:



                user@box ~ $ kinit
                user@IES.AUC.DK's Password:
                user@box ~ $ aklog
                user@box ~ $ klist
                Credentials cache: FILE:/tmp/krb5cc_1000
                Principal: user@IES.AUC.DK

                Issued Expires Principal
                Nov 13 13:02:45 2017 Nov 13 23:02:42 2017 krbtgt/IES.AUC.DK@IES.AUC.DK
                Nov 13 13:02:46 2017 Nov 13 23:02:42 2017 afs/ies.auc.dk@IES.AUC.DK





                share|improve this answer















                Installing relevant headers for current kernel:



                user@box ~ $ sudo apt-get install linux-headers-`uname -r`
                Reading package lists... Done
                Building dependency tree
                Reading state information... Done
                The following NEW packages will be installed:
                linux-headers-4.4.0-97-generic
                0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
                Need to get 817 kB of archives.
                After this operation, 7,427 kB of additional disk space will be used.
                Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-4.4.0-97-generic amd64 4.4.0-97.120 [817 kB]
                Fetched 817 kB in 0s (1,626 kB/s)
                Selecting previously unselected package linux-headers-4.4.0-97-generic.
                (Reading database ... 301414 files and directories currently installed.)
                Preparing to unpack .../linux-headers-4.4.0-97-generic_4.4.0-97.120_amd64.deb ...
                Unpacking linux-headers-4.4.0-97-generic (4.4.0-97.120) ...
                Setting up linux-headers-4.4.0-97-generic (4.4.0-97.120) ...
                Examining /etc/kernel/header_postinst.d.
                run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-97-generic /boot/vmlinuz-4.4.0-97-generic


                Triggering dkms build of afs kernel module:



                user@box ~ $ sudo dpkg-reconfigure openafs-modules-dkms

                -------- Uninstall Beginning --------
                Module: openafs
                Version: 1.6.21
                Kernel: 4.4.0-97-generic (x86_64)
                -------------------------------------

                Status: Before uninstall, this module version was ACTIVE on this kernel.

                openafs.ko:
                - Uninstallation
                - Deleting from: /lib/modules/4.4.0-97-generic/updates/dkms//
                - Original module
                - No original module was found for this module on this kernel.
                - Use the dkms install command to reinstall any previous module version.

                depmod....

                DKMS: uninstall completed.

                ------------------------------
                Deleting module version: 1.6.21
                completely from the DKMS tree.
                ------------------------------
                Done.
                Loading new openafs-1.6.21 DKMS files...
                Building only for 4.4.0-97-generic
                Building initial module for 4.4.0-97-generic
                Done.

                openafs:
                Running module version sanity check.
                - Original module
                - No original module exists within this kernel
                - Installation
                - Installing to /lib/modules/4.4.0-97-generic/updates/dkms//

                depmod....

                DKMS: install completed.


                Restart afs client, to insert kernel module:



                user@box ~ $ sudo service openafs-client restart


                Solved:



                user@box ~ $ kinit
                user@IES.AUC.DK's Password:
                user@box ~ $ aklog
                user@box ~ $ klist
                Credentials cache: FILE:/tmp/krb5cc_1000
                Principal: user@IES.AUC.DK

                Issued Expires Principal
                Nov 13 13:02:45 2017 Nov 13 23:02:42 2017 krbtgt/IES.AUC.DK@IES.AUC.DK
                Nov 13 13:02:46 2017 Nov 13 23:02:42 2017 afs/ies.auc.dk@IES.AUC.DK






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 23 at 12:25

























                answered Nov 13 '17 at 13:27









                kidmosekidmose

                1287 bronze badges




                1287 bronze badges






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f404247%2fopenafs-suddenly-fails-a-pioctl-failed-while-obtaining-tokens%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                    Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                    Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...