ceph升级到10.2.3 版本启动服务报错:Unknown lvalue 'TasksMax' in section 'Service'

#### ceph软件包升级完成,执行命令重启服务

sudo systemctl restart [email protected]"$HOSTNAME"

#### 故障现象

服务可以启动,启动后显示有报错信息:

Nov 23 17:14:45 ceph-6-12 systemd[1]:        [/usr/lib/systemd/system/[email protected]:18] Unknown lvalue ‘TasksMax‘ in section ‘Service‘

详细如下:

[[email protected] ~]$ sudo systemctl status ceph-[email protected]"$HOSTNAME"

```

● [email protected] - Ceph metadata server daemon

Loaded: loaded (/usr/lib/systemd/system/[email protected]; 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/[email protected]

└─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/[email protected]:18] Unknown lvalue ‘TasksMax‘ in section ‘Service‘

Nov 23 17:14:45 ceph-6-12 systemd[1]: [/usr/lib/systemd/system/[email protected]:18] Unknown lvalue ‘TasksMax‘ in section ‘Service‘

Nov 23 17:14:45 ceph-6-12 systemd[1]: [/usr/lib/systemd/system/[email protected]:18] Unknown lvalue ‘TasksMax‘ in section ‘Service‘

Nov 23 17:14:46 ceph-6-12 systemd[1]: [/usr/lib/systemd/system/[email protected]:18] Unknown lvalue ‘TasksMax‘ in section ‘Service‘

Nov 23 17:14:46 ceph-6-12 systemd[1]: [/usr/lib/systemd/system/[email protected]:18] Unknown lvalue ‘TasksMax‘ in section ‘Service‘

Nov 23 17:14:53 ceph-6-12 systemd[1]: Started Ceph metadata server daemon.

```

#### 查询相关文档:

http://tracker.ceph.com/issues/15560

http://tracker.ceph.com/issues/15581

文档都说是个bug ,又碰到一个bug ,汗。。。。。。。。。。

根据文档提示信息排查解决,发现这个问题只要安装或升级systemd基础库相关软件包,就能解决,所以果断安装升级systemd。

sudo yum install systemd-*

#### 然后重启服务:

sudo systemctl restart [email protected]"$HOSTNAME"

再查查看服务状态:

[[email protected] ~]$ sudo systemctl status [email protected]"$HOSTNAME"

```

● [email protected] - Ceph metadata server daemon

Loaded: loaded (/usr/lib/systemd/system/[email protected]; 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/[email protected]

└─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

```

报错信息不再提示;

ceph升级到10.2.3 版本启动服务报错:Unknown lvalue 'TasksMax' in section 'Service'

时间: 2024-12-23 22:58:31

ceph升级到10.2.3 版本启动服务报错:Unknown lvalue 'TasksMax' in section 'Service'的相关文章

COGNOS10启动服务报错 问题解决

今天安装了在我的机器上(WIN7 64位)安装了COGNOS 10.2, 然后进入configuration各种测试都通过了,但是启动服务的时候一直不成功(具体错误没有记录下来...) 后来我按网上帖子的意见,把以前安装的JAVA全卸载了,然后重装了一遍Cognos BI Server 10.2 64Bit, 之后用COGNOS自带的jre设置了JAVA_HOME变量: JAVA_HOME: C:\Program Files\ibm\cognos\c10_64\bin64\jre\6.0 之后启

配置tomcat连接器后,启动服务报错“No Certificate file specified or invalid file format"异常

1:原来的配置是 1 <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" 2 maxThreads="150" scheme="https" secure="true" 3 clientAuth="false" sslProtocol="TLS" keystoreFile=

Docker 安装完启动服务报错

[[email protected]1 ~]# docker images Cannot connect to the Docker daemon. Is the docker daemon running on this host? [[email protected]-1 ~]# systemctl start docker.service Job for docker.service failed because a timeout was exceeded. See "systemctl

gulp启动服务报错

1.mongodb数据库没启动 2.nodemon没有安装

Appium启动服务报错

错误信息如下: error: Could not find a device to launch. You requested 'iPhone 6 (8.4)', but the available devices were: ["iPad 2 (9.3) [D9ACBD66-90B7-4457-8FEB-36A6EC0288C1] (Simulator)","iPad Air (9.3) [9C4C4EED-F452-4849-B5D7-5CA7BB518304] (Sim

linux 使用systemctl 启动服务报错: Error: No space left on device

By default, Linux only allocates 8192 watches for inotify, which is ridiculously low. And when it runs out, the error is also No space left on device, which may be confusing if you aren't explicitly looking for this issue. vi /etc/sysctl.conf  增加  fs

Node升级 启动RN报错:react-native启动时红屏报错:Unable to load script.Make sure you&#39;re either running a metro server or that

1. 项目中在android/app/src/main/创建文件夹  assets 2.项目中执行命令 1. 项目中在android/app/src/main/创建文件夹  assets 2.项目中执行命令 react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle

启动Myeclipse报错“Failed to create the Java Virtual Machine”的解决办法

我安装的是Myeclipse 10.7.1.装上好久没用,今天启动突然报错:Failed to create the Java Virtual Machine. 检查Myeclipse安装好使用时好的啊,近期也没用,可能是近期升级了本地单独安装的jre版本导致的吧(Myeclipse使用自己的jre的). 整理了如下2个解决办法,可以选择一个使用,我选择的是第2个.经测试都ok. 方法一: 找到Myeclpise路径下的myeclipse.ini文件: 编辑将Xmx(JVM Heap最大允许的尺

&lt;&lt;&lt; tomcat启动是报错StandardServer.await: create[8005]

启动tomcat的时候出现异常 ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 严重: StandardServer.await: create[8005]: java.net.BindException: Address already in use: JVM_Bind         at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(Plai