服务器重新启动后,NetWorker Web UI (NWUI) 服务未启动

Summary: NetWorker Web UI (NWUI) 服务在服务器重新启动后不启动,即使启用的服务在重新启动后自动启动也是如此。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

服务器重新启动后,NetWorker Web UI (NWUI) 未启动。

检查服务状态返回消息。

# systemctl status nwui
Unit nwui.service could not be found.

nwui.service 文件安装在具有正确权限的默认位置。

nwui.service 已启用,可在重新启动后自动启动。

Cause

“nwui.service”无法初始化,因为在服务单元启动时未装载安装 NWUI 的所需“/opt”文件系统。“/opt”文件系统在初始化尝试后装载了一段时间,导致服务无法启动。

Resolution

为确保“nwui.service”在重新启动后正确启动,必须更新服务单元文件 /opt/nwui/scripts/nwui.service,以包含对所需文件系统的依赖关系。应将依赖项添加到 [unit] 部分下的“After”指令中,如下所示:

# description: NetWorker Management Web UI Server systemd unit file.

[Unit]
Description=NetWorker Management Web UI Server
After=syslog.target network.target opt.mount 

[Service]
...
...

由于 nwui.service 已修改,请运行。

# systemctl daemon-reload

使用以下命令启动服务。

# systemctl start nwui.service

下次重新启动服务器时,nwui 服务将自动启动。

 

Article Properties
Article Number: 000227961
Article Type: Solution
Last Modified: 02 Sep 2024
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.