Overview
You may find the MGR GUI not working correctly when the MGR is up and running. This article provides information on the possible root cause of this issue and how to make sure that the issue is related to the supposed root cause. Moreover, it provides the steps to resolve this issue.
Root Cause
This issue is usually caused by a dead MGR subprocess.
Diagnosis
To confirm if the root cause of the issue is a dead MGR subprocess, follow the steps below:
- Run the following command as the root user:
systemctl status mgr
- Check if the MGR status is inactive (dead). Please see the example output below.
mgr.service - MGR - An OAM element Loaded: loaded (/etc/systemd/system/mgr.service; enabled; vendor preset: disabled) Active: inactive (dead) since Thu 2020-02-20 09:55:29 CET; 1 weeks 4 days ago Process: 19153 ExecStop=/usr/TextPass/bin/tp_mgr_stop (code=exited, status=0/SUCCESS) Process: 20045 ExecStart=/usr/TextPass/bin/tp_mgr_start (code=exited, status=0/SUCCESS) Process: 20031 ExecStartPre=/usr/TextPass/bin/tp_mgr_stop (code=exited, status=0/SUCCESS) Main PID: 20086 (code=exited, status=0/SUCCESS)
If the inactive (dead) status is shown despite the MGR being active, there is a dead subprocess. Please continue with the resolution by following the steps provided in the next section.
Resolution
- Stop all the MGR processes by running the following command as the root user:
/usr/TextPass/bin/tp_mgr_stop
- Wait for the "All processes finished" message, which indicates that all the processes are shut down.
- Restart the MGR service and all the subprocesses by executing the following command:
systemctl start mgr
Confirmation
- Recheck the MGR status by running the following command as the root user:
systemctl status mgr
- Check if the MGR status is active (running). Please see the example output below.
mgr.service - MGR - An OAM element
Loaded: loaded (/etc/systemd/system/mgr.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2020-03-02 10:51:01 CET; 2min 7s ago
Process: 19153 ExecStop=/usr/TextPass/bin/tp_mgr_stop (code=exited, status=0/SUCCESS)
Process: 18739 ExecStart=/usr/TextPass/bin/tp_mgr_start (code=exited, status=0/SUCCESS)
Process: 18725 ExecStartPre=/usr/TextPass/bin/tp_mgr_stop (code=exited, status=0/SUCCESS)
Main PID: 18780 (/usr/sbin/httpd) - Check if the MGR GUI works properly.