伺服器重新開機後,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.