Advertisement
Guest User

Untitled

a guest
Nov 19th, 2017
379
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.58 KB | None | 0 0
  1. user@box ~ $ kinit
  2. user@IES.AUC.DK's Password:
  3. user@box ~ $ aklog
  4. aklog: a pioctl failed while obtaining tokens for cell ies.auc.dk
  5.  
  6. user@box ~ $ sudo service openafs-client status
  7. [sudo] password for user:
  8. ● openafs-client.service - OpenAFS client
  9. Loaded: loaded (/lib/systemd/system/openafs-client.service; enabled; vendor p
  10. Active: active (exited) since Mon 2017-11-13 08:17:40 CET; 3h 8min ago
  11. Process: 1942 ExecStartPost=/usr/bin/fs sysname $AFS_SYSNAME (code=exited, sta
  12. Process: 1934 ExecStartPost=/usr/bin/fs setcrypt $AFS_SETCRYPT (code=exited, s
  13. Process: 1930 ExecStart=/sbin/afsd $AFSD_ARGS (code=exited, status=0/SUCCESS)
  14. Process: 1918 ExecStartPre=/usr/share/openafs/openafs-client-precheck (code=ex
  15. Tasks: 0 (limit: 512)
  16. Memory: 0B
  17. CPU: 0
  18.  
  19. Nov 13 08:17:40 box systemd[1]: Starting OpenAFS client...
  20. Nov 13 08:17:40 box openafs-client-precheck[1918]: modprobe: FATAL: Modul
  21. Nov 13 08:17:40 box openafs-client-precheck[1918]: Failed to load openafs
  22. Nov 13 08:17:40 box fs[1934]: Usage: /usr/bin/fs setcrypt -crypt <on or o
  23. Nov 13 08:17:40 box fs[1942]: Usage: /usr/bin/fs sysname [-newsys <new sy
  24. Nov 13 08:17:40 box systemd[1]: Started OpenAFS client.
  25.  
  26. user@box ~ $ sudo dpkg-reconfigure openafs-modules-dkms
  27.  
  28. -------- Uninstall Beginning --------
  29. Module: openafs
  30. Version: 1.6.21
  31. Kernel: 4.4.0-21-generic (x86_64)
  32. -------------------------------------
  33.  
  34. Status: Before uninstall, this module version was ACTIVE on this kernel.
  35.  
  36. openafs.ko:
  37. - Uninstallation
  38. - Deleting from: /lib/modules/4.4.0-21-generic/updates/dkms//
  39. - Original module
  40. - No original module was found for this module on this kernel.
  41. - Use the dkms install command to reinstall any previous module version.
  42.  
  43. depmod.....
  44.  
  45. DKMS: uninstall completed.
  46.  
  47. ------------------------------
  48. Deleting module version: 1.6.21
  49. completely from the DKMS tree.
  50. ------------------------------
  51. Done.
  52. Loading new openafs-1.6.21 DKMS files...
  53. Building only for 4.4.0-97-generic
  54. Module build for the currently running kernel was skipped since the
  55. kernel source for this kernel does not seem to be installed.
  56.  
  57. user@box ~ $ sudo apt-get install linux-headers-4.4.0-97-generic
  58. Reading package lists... Done
  59. Building dependency tree
  60. Reading state information... Done
  61. The following NEW packages will be installed:
  62. linux-headers-4.4.0-97-generic
  63. 0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
  64. Need to get 817 kB of archives.
  65. After this operation, 7,427 kB of additional disk space will be used.
  66. 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]
  67. Fetched 817 kB in 0s (1,626 kB/s)
  68. Selecting previously unselected package linux-headers-4.4.0-97-generic.
  69. (Reading database ... 301414 files and directories currently installed.)
  70. Preparing to unpack .../linux-headers-4.4.0-97-generic_4.4.0-97.120_amd64.deb ...
  71. Unpacking linux-headers-4.4.0-97-generic (4.4.0-97.120) ...
  72. Setting up linux-headers-4.4.0-97-generic (4.4.0-97.120) ...
  73. Examining /etc/kernel/header_postinst.d.
  74. run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-97-generic /boot/vmlinuz-4.4.0-97-generic
  75.  
  76. user@box ~ $ sudo dpkg-reconfigure openafs-modules-dkms
  77.  
  78. -------- Uninstall Beginning --------
  79. Module: openafs
  80. Version: 1.6.21
  81. Kernel: 4.4.0-97-generic (x86_64)
  82. -------------------------------------
  83.  
  84. Status: Before uninstall, this module version was ACTIVE on this kernel.
  85.  
  86. openafs.ko:
  87. - Uninstallation
  88. - Deleting from: /lib/modules/4.4.0-97-generic/updates/dkms//
  89. - Original module
  90. - No original module was found for this module on this kernel.
  91. - Use the dkms install command to reinstall any previous module version.
  92.  
  93. depmod....
  94.  
  95. DKMS: uninstall completed.
  96.  
  97. ------------------------------
  98. Deleting module version: 1.6.21
  99. completely from the DKMS tree.
  100. ------------------------------
  101. Done.
  102. Loading new openafs-1.6.21 DKMS files...
  103. Building only for 4.4.0-97-generic
  104. Building initial module for 4.4.0-97-generic
  105. Done.
  106.  
  107. openafs:
  108. Running module version sanity check.
  109. - Original module
  110. - No original module exists within this kernel
  111. - Installation
  112. - Installing to /lib/modules/4.4.0-97-generic/updates/dkms//
  113.  
  114. depmod....
  115.  
  116. DKMS: install completed.
  117.  
  118. user@box ~ $ sudo service openafs-client restart
  119.  
  120. user@box ~ $ kinit
  121. user@IES.AUC.DK's Password:
  122. user@box ~ $ aklog
  123. user@box ~ $ klist
  124. Credentials cache: FILE:/tmp/krb5cc_1000
  125. Principal: user@IES.AUC.DK
  126.  
  127. Issued Expires Principal
  128. Nov 13 13:02:45 2017 Nov 13 23:02:42 2017 krbtgt/IES.AUC.DK@IES.AUC.DK
  129. Nov 13 13:02:46 2017 Nov 13 23:02:42 2017 afs/ies.auc.dk@IES.AUC.DK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement