Resetting emergency shutdown flags

After resolving the issue that caused an emergency shutdown, use this procedure to service status, and then restart the service.

  1. Log in to the Control Center master host as root, or as a user with superuser privileges.
  2. Check services for the emergency shutdown flag:
    for s in $(serviced service list --show-fields ServiceID); \
      do serviced service list $s | grep EmergencyShutdown\"; done

    "True" indicates an emergency shutdown.

  3. Clear the emergency-shutdown flag for a service or the entire application:
    serviced service clear-emergency SERVICEID
    serviced service clear-emergency APPLICATION_ID
  4. Check services for the emergency shutdown flag:
    for s in $(serviced service list --show-fields ServiceID); \
      do serviced service list $s | grep EmergencyShutdown\"; done

    "False" indicates that the flags have been cleared.

  5. Start the service:
    serviced service start SERVICEID