openafs on Ubuntu 16.04

Error message:

aklog: a pioctl failed while obtaining tokens for cell

Solution:

  • rollback your kernel to 4.2
    • check your current kernel version: uname -r
    • remove it:┬ásudo apt-get purge linux-image-x.x.x.x-generic
    • reboot
$ sudo -i
# apt-get remove openafs-client openafs-krb5 openafs-modules-dkms krb5-config krb5-user ntp
# apt-get install krb5-config krb5-user ntp openafs-client openafs-krb5 openafs-modules-dkms
# echo "inf.ed.ac.uk" > /etc/openafs/ThisCell
# /etc/init.d/openafs-client start
# exit
$ kinit [DICE username]
$ aklog
$ /etc/init.d/openafs-client stop
$ /etc/init.d/openafs-client start