Linux サービスのトラブルシューティング

以下のトピックでは、サービスの問題の考えられる原因とトラブルシューティング方法について説明します。

Flex Gateway サービスが実行できない

systemctl list-units flex-gateway*​ コマンドの実行後、​flex-gateway.service​ の状況に ​failed​ と表示されます。

診断

サービスの問題を診断するには、次のコマンドを実行します。

journalctl -u flex-gateway
ssh

エラー 1: 「Panic: could not read platform configuration (パニック: プラットフォーム設定を読み込めませんでした)」

journalctl​ コマンドの出力には次の行が含まれます。

flex-agent[3253]: panic: could not read platform configuration: open : no such file or directory
ssh

この問題は、登録時に作成されたファイルに対して ​chmod​ を実行することで解決できます。

その他のサービスが実行できない

該当のエラーが表示されない場合、Flex Gateway を再起動します。

sudo ldconfig
sudo systemctl restart flex-gateway
ssh