跳转到主内容

StorageGRID 扩展在启动 Cassandra 和流数据时停滞不前

Views:
14
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

适用于

  • StorageGRID 11.6
  • 裸机

问题描述

  • StorageGRID 扩展卡在"步骤 4",阶段:

"Starting Cassandra and streaming data (0.0% streamed)

Error: Failed to start cassandra

StorageGRID expansion stuck at Starting Cassandra and streaming data

/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

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.