如何通过一键生成 App 加速企业数字化转型?
1116
2022-09-28
ceph升级到10.2.3 版本启动服务报错:Unknown lvalue 'TasksMax' in section 'Service'
#### ceph软件包升级完成,执行命令重启服务
sudo systemctl restart ceph-mds@"$HOSTNAME"
#### 故障现象
服务可以启动,启动后显示有报错信息:
Nov 23 17:14:45 ceph-6-12 systemd[1]: [/usr/lib/systemd/system/ceph-mds@.service:18] Unknown lvalue 'TasksMax' in section 'Service'
详细如下:
[ptmind@ceph-6-12 ~]$ sudo systemctl status ceph-mds@"$HOSTNAME"
```
● ceph-mds@ceph-6-12.service - Ceph metadata server daemon
Loaded: loaded (/usr/lib/systemd/system/ceph-mds@.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2016-11-23 17:14:45 CST; 57s ago
Main PID: 538956 (ceph-mds)
CGroup: /system.slice/system-ceph\x2dmds.slice/ceph-mds@ceph-6-12.service
└─538956 /usr/bin/ceph-mds -f --cluster ceph --id ceph-6-12 --setuser ceph --setgroup ceph
Nov 23 17:14:45 ceph-6-12 systemd[1]: Started Ceph metadata server daemon.
Nov 23 17:14:45 ceph-6-12 systemd[1]: Starting Ceph metadata server daemon...
Nov 23 17:14:45 ceph-6-12 ceph-mds[538956]: starting mds.ceph-6-12 at :/0
Nov 23 17:14:45 ceph-6-12 systemd[1]: [/usr/lib/systemd/system/ceph-mds@.service:18] Unknown lvalue 'TasksMax' in section 'Service'
Nov 23 17:14:45 ceph-6-12 systemd[1]: [/usr/lib/systemd/system/ceph-mds@.service:18] Unknown lvalue 'TasksMax' in section 'Service'
Nov 23 17:14:45 ceph-6-12 systemd[1]: [/usr/lib/systemd/system/ceph-mds@.service:18] Unknown lvalue 'TasksMax' in section 'Service'
Nov 23 17:14:46 ceph-6-12 systemd[1]: [/usr/lib/systemd/system/ceph-mds@.service:18] Unknown lvalue 'TasksMax' in section 'Service'
Nov 23 17:14:46 ceph-6-12 systemd[1]: [/usr/lib/systemd/system/ceph-mds@.service:18] Unknown lvalue 'TasksMax' in section 'Service'
Nov 23 17:14:53 ceph-6-12 systemd[1]: Started Ceph metadata server daemon.
```
#### 查询相关文档:
,又碰到一个bug ,汗。。。。。。。。。。
根据文档提示信息排查解决,发现这个问题只要安装或升级systemd基础库相关软件包,就能解决,所以果断安装升级systemd。
sudo yum install systemd-*
#### 然后重启服务:
sudo systemctl restart ceph-mds@"$HOSTNAME"
再查查看服务状态:
[ptmind@ceph-6-12 ~]$ sudo systemctl status ceph-mds@"$HOSTNAME"
```
● ceph-mds@ceph-6-12.service - Ceph metadata server daemon
Loaded: loaded (/usr/lib/systemd/system/ceph-mds@.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2016-11-23 17:59:51 CST; 8s ago
Main PID: 666298 (ceph-mds)
CGroup: /system.slice/system-ceph\x2dmds.slice/ceph-mds@ceph-6-12.service
└─666298 /usr/bin/ceph-mds -f --cluster ceph --id ceph-6-12 --setuser ceph --setgroup ceph
Nov 23 17:59:51 ceph-6-12 systemd[1]: Started Ceph metadata server daemon.
Nov 23 17:59:51 ceph-6-12 systemd[1]: Starting Ceph metadata server daemon...
Nov 23 17:59:51 ceph-6-12 ceph-mds[666298]: starting mds.ceph-6-12 at :/0
```
报错信息不再提示;
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~