跳转到主内容

运行supportsave或任何转储命令时出现"log init failed. Unable to retr检 索命令行界面历史记录"错误

Views:
35
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

 

Scan to view the article on your device
CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support