NMC: NMCパッケージはLinuxサーバーに正常にインストールされますが、GSTサービスを開始できません「Unit gst.service could not be found.」。
概要: LinuxシステムでNMCパッケージをインストール/アップグレードしようとしています。インストールが正常に完了します。インストール後nmc_configスクリプトが正常に完了すると表示されます。ただし、NMCのGSTサービスを開始しようとすると、「Unit gst.service could not be found」で失敗します。
この記事は次に適用されます:
この記事は次には適用されません:
この記事は、特定の製品に関連付けられていません。
すべての製品パージョンがこの記事に記載されているわけではありません。
現象
- 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原因
解決方法
- 不足している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
- 上記のコマンドで出力されたパッケージを使用して、次のパッケージをインストールできます。
yum install -y --nogpgcheck policycoreutils-python-#.#-###x86_64
- nmc構成スクリプトを再実行します。/opt/lgtonmc/bin/nmc_config。
メモ: プロンプトに戻る前に、スクリプトは「The installation completed successfully.」を返す必要があります。
- 構成スクリプトの完了後にサービスが実行されていることを確認します。
サービス gst ステータス
OR
systemctl status gst.service
OR
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
- エラー メッセージがないか、/var/log/messagesファイルと/opt/lgtonmc/logs/gstd.rawを監視します。
対象製品
NetWorker文書のプロパティ
文書番号: 000189022
文書の種類: Solution
最終更新: 07 5月 2025
バージョン: 3
質問に対する他のDellユーザーからの回答を見つける
サポート サービス
お使いのデバイスがサポート サービスの対象かどうかを確認してください。