首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >beegfs 7.3.2更新后服务无法启动

beegfs 7.3.2更新后服务无法启动

原创
作者头像
姚华
发布2023-02-22 22:57:59
发布2023-02-22 22:57:59
2.9K0
举报
文章被收录于专栏:运维民工运维民工

beegfs 7.3.2版本默认强制身份验证身份。所以在安装或升级后,没有配置authfile会导致服务无法启动。

解决办法有两种:

  • 禁用connDisableAuthentication(不推荐)
代码语言:javascript
复制
vim /etc/beegfs/beegfs-mgmtd.conf
......
connDisableAuthentication              = true
......
  • 创建共享密钥

使用dd创建一个随机密钥

代码语言:javascript
复制
dd if=/dev/random of=/etc/beegfs/connauthfile bs=128 count=1

修改文件所属者为root并只读

代码语言:javascript
复制
chown root:root /etc/beegfs/connauthfile
chmod 400 /etc/beegfs/connauthfile

然后修改各个服务的配置文件,一般有:

  • beegfs-client.conf
  • beegfs-helperd.conf
  • beegfs-meta.conf
  • beegfs-mgmtd.conf
  • beegfs-storage.conf

修改上述配置文件中的

代码语言:javascript
复制
vim /etc/beegfs/beegfs-***.conf
......
connAuthFile                           = /etc/beegfs/connauthfile
......

重启服务

代码语言:javascript
复制
systemctl restart beegfs-mgmtd.service
systemctl restart beegfs-meta.service
systemctl restart beegfs-storage.service
systemctl restart beegfs-client.service

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档