首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >aklog:设置令牌时,pioctl失败(18.04LTS;afs守护进程似乎正在运行)

aklog:设置令牌时,pioctl失败(18.04LTS;afs守护进程似乎正在运行)
EN

Ask Ubuntu用户
提问于 2019-08-22 11:38:56
回答 1查看 1.3K关注 0票数 0

在过去的几天里,我已经无法使用AFS了;aklog现在产生了

aklog: a pioctl failed while setting tokens for cell [...]

标准的建议似乎是确保守护进程正在运行,但这似乎不是问题所在。这里是我启动服务的总结(为了更好的度量,它似乎无论如何都在运行),在再次遇到问题之前检查它的状态。

代码语言:javascript
复制
me@mine:~$ /etc/init.d/openafs-client start
[ ok ] Starting openafs-client (via systemctl): openafs-client.service.
mine:~$ sudo service openafs-client status
[sudo] password for me: 
● openafs-client.service - OpenAFS client
   Loaded: loaded (/lib/systemd/system/openafs-client.service; enabled; vendor preset: enabled)
   Active: active (exited) since Thu 2019-08-22 11:59:48 BST; 31min ago
  Process: 3242 ExecStopPost=/sbin/rmmod $KMOD (code=exited, status=0/SUCCESS)
  Process: 3241 ExecStop=/bin/umount -af -t afs (code=exited, status=0/SUCCESS)
  Process: 3240 ExecStop=/bin/umount -a -t afs (code=exited, status=0/SUCCESS)
  Process: 3236 ExecStop=/usr/share/openafs/openafs-client-postcheck (code=exited, status=0/SUCCESS)
  Process: 3235 ExecStop=/bin/grep -qv ^1$ /proc/sys/kernel/modules_disabled (code=exited, status=0/SUCCESS)
  Process: 3306 ExecStartPost=/usr/bin/fs sysname $AFS_SYSNAME (code=exited, status=0/SUCCESS)
  Process: 3305 ExecStartPost=/usr/bin/fs setcrypt $AFS_SETCRYPT (code=exited, status=0/SUCCESS)
  Process: 3304 ExecStart=/sbin/afsd $AFSD_ARGS (code=exited, status=0/SUCCESS)
  Process: 3294 ExecStartPre=/usr/share/openafs/openafs-client-precheck (code=exited, status=0/SUCCESS)

Aug 22 11:59:48 mine afsd[3304]:        -fakestat-all             Enable fakestat support for all mounts
Aug 22 11:59:48 mine afsd[3304]:        -nomount                  Do not mount AFS
Aug 22 11:59:48 mine afsd[3304]:        -backuptree               Prefer backup volumes for mountpoints in backup volumes
Aug 22 11:59:48 mine afsd[3304]:        -rxbind                   Bind the Rx socket (one interface only)
Aug 22 11:59:48 mine afsd[3304]:        -settime                  set the time
Aug 22 11:59:48 mine afsd[3304]:        -disable-dynamic-vcaches  disable stat/vcache cache growing as needed
Aug 22 11:59:48 mine afsd[3304]:        -dynroot-sparse           Enable dynroot support with minimal cell list
Aug 22 11:59:48 mine fs[3305]: Usage: /usr/bin/fs setcrypt -crypt  [-help]
Aug 22 11:59:48 mine fs[3306]: Usage: /usr/bin/fs sysname [-newsys +] [-help]
Aug 22 11:59:48 mine systemd[1]: Started OpenAFS client.
mine:~$ aklog
aklog: a pioctl failed while setting tokens for my.cell
EN

回答 1

Ask Ubuntu用户

发布于 2019-08-27 11:09:31

结果发现我需要

  1. 使用PPA获取openafs的最新版本。
  2. 显式(重新)安装openafs和其他库。

我找到了一个博客帖子,上面说要做前者,但在我的例子中,apt-get update不足以让事情为我工作。

代码语言:javascript
复制
sudo add-apt-repository ppa:openafs/stable
apt-get install openafs-client openafs-krb5 openafs-modules-dkms

在此之后我重新启动了,但是它可能已经足够重新启动服务了。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1167629

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档