Skip to main content
InSource Solutions

TN - 1119 How To Force Stop a j5 Service

Description

 

This article from InSource shows how to use the Command Prompt to manually stop a j5 service in the event that the j5 Stop Services method fails to do so.

  • Author: Justin Benton
  • Published: 03/15/2021
  • Applies to: j5 Version 2019 and Greater

Details

In the event that the "Stop j5 Services" option is unable to stop one or more of the core services, you can use this method in order to manually stop the service. There are multiple reasons a service may fail to stop. In this instance, there is a memory leak on the machine causing the problem:

 

clipboard_e689740167c775a41038920cfd88211b6.png

In this instance, the Application Service was stuck in a "Stopping" state.

 

To stop it manually, perform the following steps:

  1. Open command prompt as Administrator.
  2. Run "sc queryex j5ApplicationServer" (or whatever the problem service may be).
  3. Take note of the "PID" number from the information logged.
  4. Run "taskkill /pid insert_pid_number /f" e.g taskkill /pid ### /f
  5. Confirm the service is now stopped from the Services window.
  6. Run the 'Stop j5 Services'  application again and confirm the rest of the services stop successfully.