NMC:NMC 套裝已成功安裝在 Linux 伺服器上,但無法啟動 GST 服務「找不到單位 gst.service」。

Riepilogo: 您嘗試在 Linux 系統上安裝/升級 NMC 套裝。安裝成功完成。安裝後nmc_config指令檔會顯示為成功完成;但是,嘗試啟動 NMC 的 GST 服務失敗,並顯示「找不到 Unit gst.service」。

Questo articolo si applica a Questo articolo non si applica a Questo articolo non è legato a un prodotto specifico. Non tutte le versioni del prodotto sono identificate in questo articolo.

Sintomi

  • 您已在 Linux 系統上安裝 NMC 伺服器套件:
  • /opt/lgtonmc/bin/nmc_config指令檔似乎已完成 (返回提示),但服務未啟動且無法啟動:
[root@NMCSERVER]# /opt/lgtonmc/bin/nmc_config

The embedded web server inside the NMC server must run as a non-root user.
EMC recommends that you specify a user that has limited privileges and
file access permissions. Default user name used is 'nsrnmc'.

Specify the directory to use for the LGTOnmc database [/nsr/nmc/nmcdb]: 

Do you want to migrate the NMC server data from a previous LGTOnmc 8.x.x release [n]? 

Specify the host name of the NetWorker Authentication Service host [NWSERVER.emclab.local]: 

Start the NMC server daemons at end of the configuration [y]? 

Creating the installation log in /opt/lgtonmc/logs/install.log.

Performing initialization. Please wait...

[root@NMCSERVER ]# service gst status
Redirecting to /bin/systemctl status gst.service
Unit gst.service could not be found.
  • /opt/lgtonmc/logs/install.log顯示:
** running: chmod 755 /opt/nsr/admin/gst.service
** running: chmod 755 /opt/nsr/admin/gst_linux.sh
** running: /usr/sbin/semanage permissive -a unconfined_t
/opt/lgtonmc/bin/nmc_config: line 393: /usr/sbin/semanage: No such file or directory

Causa

NMC 伺服器的 semanage 套件遺失。

這是 linux 作業系統套件:HTTPs://linux.die.net/man/8/semanage 此超連結會帶您前往 Dell Technologies 以外的網站。

Risoluzione

  1. 在伺服器上安裝遺失的 Semanage 套件。您可以使用下列方式識別安裝此工具的套裝軟體:

yum 提供 /usr/sbin/semanage

[root@NMCSERVER]# yum provides /usr/sbin/semanage
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.usf.edu
 * extras: mirror.cogentco.com
 * updates: mirror.wdc1.us.leaseweb.net
policycoreutils-python-2.5-34.el7.x86_64 : SELinux policy core python utilities
Repo        : base
Matched from:
Filename    : /usr/sbin/semanage
  1. 您可以使用上述命令輸出的套件,與下列程式一起安裝套件:
yum install -y --nogpgcheck policycoreutils-python-#.#-##x86_64
  1. 重新執行 nmc 組態腳本:/opt/lgtonmc/bin/nmc_config。
注意:在返回提示之前,指令檔應傳回「安裝已成功」。
  1. 確認組態指令檔完成後,服務正在執行中: 
服務 gst 狀態

Systemctl 狀態 gst.service
[root@NMCSERVER ]# service gst status
Redirecting to /bin/systemctl status gst.service
● gst.service - NetWorker Management Console
   Loaded: loaded (/opt/nsr/admin/gst.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2021-06-25 11:02:49 EDT; 53s ago
  Process: 9778 ExecStart=/opt/nsr/admin/gst_linux.sh start (code=exited, status=0/SUCCESS)
 Main PID: 9799 (gstd)
   CGroup: /system.slice/gst.service
           ├─9799 /opt/lgtonmc/bin/gstd
           ├─9805 /opt/lgtonmc/apache/bin/httpd -f /opt/lgtonmc/apache/conf/httpd.conf
           ├─9806 /opt/lgtonmc/apache/bin/httpd -f /opt/lgtonmc/apache/conf/httpd.conf
           ├─9821 /opt/lgtonmc/postgres/bin/postgres -D /nsr/nmc/nmcdb/pgdata
           ├─9822 postgres: logger process   
           ├─9824 postgres: checkpointer process   
           ├─9825 postgres: writer process   
           ├─9826 postgres: wal writer process   
           ├─9827 postgres: autovacuum launcher process   
           ├─9828 postgres: stats collector process   
           └─9834 postgres: lgtogst lgto_gst ::1(34866) idle
  1. 監視 /var/log/messages 檔案和 /opt/lgtonmc/logs/gstd.raw 是否有任何錯誤訊息。

Prodotti interessati

NetWorker
Proprietà dell'articolo
Numero articolo: 000189022
Tipo di articolo: Solution
Ultima modifica: 07 mag 2025
Versione:  3
Trova risposta alle tue domande dagli altri utenti Dell
Support Services
Verifica che il dispositivo sia coperto dai Servizi di supporto.