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 startstarting cassandra ... done# service cassandra statuscassandra 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