Skip to main content

The Qlik NPrinting messaging service and the Qlik NPrinting Scheduler service go offline after restart

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

The Qlik NPrinting messaging service and the Qlik NPrinting Scheduler service go offline after restart

Last Update:

Oct 27, 2021 12:06:00 PM

Updated By:

Frank_S

Created date:

Jan 8, 2018 11:18:03 AM

The Qlik NPrinting messaging service and the Qlik NPrinting Scheduler service go down after a restart.  The services run briefly before stopping automatically. You are not able to run any tasks. The Engine status stays on Offline.

 

Environment:

Qlik NPrinting 


To diagnose the issue:

  1. Open a new command prompt as Administrator
  2. Navigate to the RabbitMQ sbin folder:
cd %ProgramFiles%\NPrintingServer\rabbitmq_server-3.5.7\sbin
Run: rabbitmqctl.bat status

The command line shows that the node is down or unreachable.

The issue may be caused by one or both of the following points:

  • A mismatched erlang.cookie file
  • a corruption of files the Rabbit service needs to run. This corruption may occur after a change in the OS, like an update or after an upgrade of NPrinting.

Resolution:

Fix Erlange.Cookie

  1. Stop all the NPrinting services
  2. Copy the file .erlang.cookie from the %SystemRoot% folder (C:\Windows).
    For NPrinting 2018 November release and higher, the .erlang.coockie file is in C:\Windows\System32\config\systemprofile.
  3. Go to the %USERPROFILE% folder (C:\Users\npadmin) remove the .erlang.cookie file that you can find there and replace it with the file you found in point 2.
  4. Restart the NPrinting services

Re-install the Rabbit service if the problem persists:

  • Stop all the NPrinting services
  • Open a new command prompt as Administrator
  • Navigate to the RabbitMQ sbin folder (this depends on the version of NPrinting that you are running. Replace the x's in the path below with your version information):
    • cd %ProgramFiles%\NPrintingServer\rabbitmq_server-3.x.x\sbin
    • Run: rabbitmq-service.bat stop
  • Make a backup copy of the  C:\ProgramData\NPrinting\RabbitMQ folder
  • Remove all the files and folders EXCEPT:
    • rabbitmq.config ("advanced.config" in newer NP versions)
    • enabled_plugins
  • Run: rabbitmq-service.bat remove
  • Run: rabbitmq-service.bat install
  • Run: rabbitmq-service.bat start
  • Start the NPrinting services (the Qlik NPrinting Messaging service should be already running)

 

Related Information:

Version history
Last update:
‎2021-10-27 12:06 PM
Updated by: