NMC: NMC-Paket erfolgreich auf Linux-Server installiert, aber GST-Service kann nicht gestartet werden "Unit gst.service could not be found".

Summary: Sie versuchen, das NMC-Paket auf einem Linux-System zu installieren/zu aktualisieren. Die Installation wird erfolgreich abgeschlossen. Das Skript nach der Installation nmc_config wird scheinbar erfolgreich abgeschlossen. Versuche, den GST-Service des NMC zu starten, schlagen jedoch mit "Unit gst.service could not be found" fehl. ...

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

  • Sie haben das NMC-Serverpaket auf einem Linux-System installiert:
  • Das Skript /opt/lgtonmc/bin/nmc_config scheint abgeschlossen zu sein (kehrt zur Eingabeaufforderung zurück), aber der Service wurde nicht gestartet und kann nicht gestartet werden:
[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.
  • Die Datei /opt/lgtonmc/logs/install.log zeigt Folgendes an:
** 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

Cause

Das Semanage-Paket fehlt auf dem NMC-Server. 

Dies ist ein Linux-Betriebssystempaket: https://linux.die.net/man/8/semanage Dieser Hyperlink führt Sie zu einer Website außerhalb von Dell Technologies.

Resolution

  1. Installieren Sie das fehlende Semanage-Paket auf dem Server. Sie können ermitteln, welches Paket dieses Tool installiert, mit:

yum bietet /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. Das Paket kann mit dem folgenden Paket installiert werden, das mit dem obigen Befehl ausgegeben wird:
yum install -y --nogpgcheck policycoreutils-python-#.#-#x86_64
  1. Führen Sie das nmc-Konfigurationsskript erneut aus: /opt/lgtonmc/bin/nmc_config.
HINWEIS: Das Skript sollte "The installation completed successfully." zurückgeben, bevor es zur Eingabeaufforderung zurückkehrt.
  1. Bestätigen Sie, dass die Services ausgeführt werden, nachdem das Konfigurationsskript abgeschlossen ist: 
Service-GST-Status
ODER
systemctl-Status 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. Überwachen Sie die Datei /var/log/messages und /opt/lgtonmc/logs/gstd.raw auf Fehlermeldungen.

Affected Products

NetWorker
Article Properties
Article Number: 000189022
Article Type: Solution
Last Modified: 07 May 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.