
Digital Support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Qlik NPrinting messaging service and the Qlik NPrinting Scheduler service go offline after restart
Last Update:
Jan 20, 2025 3:28:47 AM
Updated By:
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:
To diagnose the issue:
- Open a new command prompt as Administrator
- 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
- Stop all the NPrinting services
- 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. - 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.
- 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 Content:
2,604 Views