Nexnetastor NMC/NMV 无法访问解决方案:重启NMS服务

本文介绍了解决NMC/NMV无法访问的问题步骤。当通过SSH登录直接进入Bash shell或/var/log/nms.log中出现DBus.timeout错误时,需要重启NMS服务。文章详细说明了如何使用命令行安全地停止并重新启动NMS服务。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

To clarify you are experiencing the NMC/NMV inaccess issue, please try below first

1) when you try to log NMC via SSH, you are drectly logged into Bash shell.

2) /var/log/nms.log shows some DBus.timeout.error.

Either of above phenomenon indicates you are running into NMV/NMC inaccess issue.To recover from this, you need to restart NMS service as below.

NMS Restart Procedures:

1) ssh into appliance as admin and then su to root. ( not su -)
2) Check the services with the following command from the appliance

svcs nm{s,v,cd} nbs nmdtrace dbus

STATE STIME FMRI
online 13:23:43 svc:/system/dbus:default
online 13:23:43 svc:/application/nbs:default
online 13:23:45 svc:/application/nmdtrace:default
online 13:23:51 svc:/application/nms:default <---- if this is online* nms is hung, this won't work
online 13:23:51 svc:/application/nmv:default
online 13:23:59 svc:/application/nmcd:default

3) Stop the services in this order:
svcadm disable svc:/application/nmv:default
svcadm disable svc:/application/nmcd:default
svcadm disable svc:/application/nms:default
svcadm disable svc:/system/dbus:default

4) Check that the services are disabled: (don't worry about the nmdtrace and nbs)

svcs nm{s,v,cd} nbs nmdtrace dbus
STATE STIME FMRI
disabled 13:18:49 svc:/application/nmv:default
disabled 13:18:51 svc:/application/nmcd:default
disabled 13:19:40 svc:/application/nms:default
disabled 13:19:41 svc:/system/dbus:default
offline 13:19:40 svc:/application/nmdtrace:default
offline 13:19:41 svc:/application/nbs:default

Wait until all services in step 4 are disabled. (don't worry about the nmdtrace and nbs) before proceeding.


5) Restart the services in the reverse order:

svcadm enable svc:/system/dbus:default
svcadm enable svc:/application/nms:default
svcadm enable svc:/application/nmcd:default
svcadm enable svc:/application/nmv:default

6) Wait for about 30 seconds and check the services:

svcs nm{s,v,cd} nbs nmdtrace dbus
STATE STIME FMRI
online 13:23:43 svc:/system/dbus:default
online 13:23:43 svc:/application/nbs:default
online 13:23:45 svc:/application/nmdtrace:default
online 13:23:51 svc:/application/nms:default
online 13:23:51 svc:/application/nmv:default
online 13:23:59 svc:/application/nmcd:default

You should be able to now use NMV (GUI) or ssh into appliance as root and check it via NMC.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值