Understanding service status discrepancies between Start_Need4Viz.ps1 and Windows Service Manager

Anonymised summary of support ticket #361235 (2024-09-03)

Symptom

The Windows Service Manager (or CCM) shows the Need4Viz service as 'stopped' even when processes are running after executing Start_Need4Viz.ps1. Additionally, two node.exe processes persist after executing Stop_Need4Viz.ps1.

Environment

SAP BusinessObjects Web Intelligence with N4V FOR WEBI extension, Windows Service Manager, CCM, Tomcat, Node.js processes managed via PM2.

Resolution

  1. The Windows service status does not reflect the actual state of Need4Viz nodes. Starting nodes via Start_Need4Viz.ps1 does not change the Windows service status, which remains 'stopped'.
  2. To fully stop all nodes, execute 'pm2 stop all' followed by 'pm2 kill' after Stop_Need4Viz.ps1. This ensures the Process Manager (PM2) and log-rotate processes are also terminated.