My afs client stopped working. I'm not sure why - maybe I ran apt-get ? Anyways:
user@box ~ $ kinit [email protected]'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.