メインコンテンツまでスキップ

「log init failed . Unable to retrieve CLI history」エラーが発生するのは、supportsaveコマンドまたはdumpコマンドの実行中です

Views:
73
Visibility:
Public
Votes:
0
Category:
fabric-interconnect-and-management-switches
Specialty:
san
Last Updated:

環境

Brocadeスイッチ

問題

  • errdump やなどのダンプコマンドを auditdump, supportsave 実行しても、想定される出力は表示されず 、次のエラーのみが表示されます。

SWITCH01:admin> auditdump -s
No messages.
log init failed.Unable to retrieve CLI history.
Failed to open CLI history file.

SWITCH01:admin> supportsave
sh: /dev/NULL: Read-only file system
Failed to open supportsave debug file /var/log/sslog
Failed to open ss module log file /var/log/ss_module_log
Failed to open SS_DEBUG
log init failed.Unable to retrieve CLI history.
Failed to open CLI history file.

  • 新しいユーザを追加しようとしたときに以下のエラーが発生しました。

uspa4c0aisan000:admin> userconfig --add xxxxxx -r admin  -d "INFRA-23849" -p xxxxxxxxx
sqlite3_exec error: 8 attempt to
write a readonly database
Failed to add user account
log init failed.Unable to retrieve CLI history.
Failed to open CLI history
file.

  • FabOS をvに更新したあと。8.2.2a、スイッチ(/)のルートが読み取り専用(ro)に切り替わりました。

cat /proc/mounts :
rootfs / rootfs rw 0 0
dev/hda2 / ext3 ro,noatime,data=ordered 0 0
/proc /proc proc rw,nodiratime 0 0
none /dev/pts devpts rw 0 0
none /tmp ramfs rw 0 0
/dev/hda1 /mnt ext2 rw,noatime,nogrpid 0 0

 

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.