NMC: NMC 패키지가 Linux 서버에 성공적으로 설치되었지만 GST 서비스를 시작할 수 없습니다. "Unit gst.service could not be found."

Riepilogo: Linux 시스템에 NMC 패키지를 설치/업그레이드하려고 합니다. 설치가 성공적으로 완료됩니다. 설치 후 nmc_config 스크립트가 성공적으로 완료된 것으로 나타납니다. 그러나 NMC의 GST 서비스를 시작하려는 시도가 실패하고 "Unit gst.service could not be found"가 표시됩니다.

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 서버에서 의미 체계 패키지가 누락되었습니다. 

linux OS 패키지: https://linux.die.net/man/8/semanage 이 하이퍼링크는 Dell Technologies 외부의 웹사이트로 연결됩니다.

Risoluzione

  1. 누락된 의미 체계 패키지를 서버에 설치합니다. 다음을 사용하여 이 툴을 설치하는 패키지를 식별할 수 있습니다.

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.
참고: 스크립트는 프롬프트로 돌아가기 전에 "The installation completed successfully"를 반환해야 합니다.
  1. 구성 스크립트가 완료된 후 서비스가 실행되고 있는지 확인합니다. 
서비스 gst 상태
또는
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. 오류 메시지가 있는지 /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.