Common run time problems

The common run time problems include difficulties with starting an instance, adding a resource, and accessing the services.

You have difficulties starting an instance, adding a resource, or accessing the services.

Use the streamtool checkhosts, streamtool checkdomainhosts, or streamtool checkinstancehosts commands to identify the issues and correct them. You can also use the dependency checker script (dependency_checker.sh) to identify issues.

If you correct the identified issues and you continue to encounter problems when the services start, you can use the run time logs to help you identify the problems.
  • If the instance started correctly but later encountered problems, identify the states of the services by entering the following command:
      streamtool getresourcestate
    Tip: If the streamtool getresourcestate command fails, typically the application metrics service failed or cannot be found. To identify the services that are typically on the hosts, enter the following command:
      streamtool lshost --long
  • To view the log file of a specific service, enter the following command:
      streamtool viewlog --service service-name