Default language.

Troubleshooting status issues of BMC Discovery services


If you encounter issues with the status of BMC Discovery services, use the steps described in this section to either resolve the problem or create a BMC Support case.

Issue symptoms

Some BMC Discovery services do not display the Running status though they are running.

Scope

This issue can affect all versions of BMC Discovery.

Resolution

Perform the steps in the following two stages to troubleshoot an issue where BMC Discovery services do not correctly display their Running status.

Stage 1–Identify the operating system and appliance version

BMC Discovery version 23.3 runs on Oracle Linux 9.

Stage 2–Confirm the status of BMC Discovery services

After you identify the version, perform the following steps to check the services:

  1. Access the SSH session of the BMC Discovery appliance. To do so, use the SSH client PuTTY. For more information, see https://www.putty.org/
  2. Log in as the tideway user.
  3. Run the following commands to confirm that all the BMC Discovery services are in the Running state, and no service is in the Stopped state:

    Important

    If you are testing on a cluster, then confirm that the services are running on all the cluster machines.

    tw_service_control --status
    sudo systemctl status cluster
    sudo systemctl status omniNames
    sudo systemctl status appliance
  4. Confirm that the httpd service is in a running state by using the following command: 

    sudo /sbin/service httpd status

    If the service is stopped, then run the following command to start the service: 

    sudo /sbin/service httpd start
  5. Occasionally, it may happen that not all services are up, even though the running status shows that the services are up. In such cases, run the start command to start the services.
  6. To restart the application services, first execute the following stop commands:

    tw_service_control --stop
    sudo systemctl stop cluster
    sudo systemctl stop omniNames
    sudo systemctl stop appliance
  7. In rare cases, a process may be stuck and not end cleanly. To check for this, run the command:

    ps -ef | grep python

    If some processes are stuck, kill the python processes with the command:

    kill -9 <pid>
  8. There are two privileged processes owned by root, for example:

    root      7490     1  0 Sep21 ?        00:00:00 python /usr/tideway/python/privileged/main.pyc --daemon start
    root      7495  7490  0 Sep21 ?        01:02:43 python /usr/tideway/python/privileged/main.pyc --daemon start

    It is not necessary to kill these privileged processes. However, killing these processes will cause no harm.

  9. Run the following commands to restart the services:

    sudo systemctl start appliance
    sudo systemctl start omniNames
    sudo systemctl start cluster
    tw_service_control --start


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*