StorageGRID 扩展在启动Cassandra和流式传输数据时停滞
适用场景
- StorageGRID 11.6.
- 裸机
问题描述
- StorageGRID 扩展停留在"第4步"、并显示以下阶段:
"Starting Cassandra and streaming data (0.0% streamed)
Error: Failed to start cassandra

/var/local/log/servermanager.log
显示:2023-01-24 14:48:17 +0000 |cassandra| startingcassandra
2023-01-24 14:48:17 +0000 |cassandra| cassandraended
2023-01-24 14:48:20 +0000 |cassandra| Too manyfailedattempts, entering error state
2023-01-24 14:48:20 +0000 | cassandra| cassandra ended
- 手动启动Cassandra会导致错误状态:
# service cassandra start
starting cassandra ... done
# service cassandra status
cassandra in error state.
- Cassandra
system.log
为空cassandra.errlog
/var/local/log/casssandra
、未在节点上的中生成。
- 更改为Cassandra用户失败:
# sudo su - cassandra
su: warning: cannot change directory to/var/lib/cassandra: Permission denied
su: failed to execute /bin/bash:Permission denied
/var/lib/cassandra
文件夹和bash可执行文件均显示意外权限/文件夹所有权:- 所有者/权限不正确的Cassandra主文件夹:
# ls -al/var/lib/cassandra/
drwxr-x--- 2 root root6 Oct5 07:16 .
drwxr-x--- 1 root root 82 Oct5 07:16 ..
预期输出:
# ls -al /var/lib/cassandra
drwxr-xr-x 1 cassandra cassandra 4096Jan 25 22:57 .
drwxr-xr-x 1 rootroot4096 Feb 102022 ..
- 权限不正确的Bash:
# ls -al /bin/bash
-rwxr-x--- 1 root root 1099016 May 15 2017 /bin/bash
预期输出:
# ls -al /bin/bash
-rwxr-xr-x 1 root root 1099016 May 15 2017 /bin/bash