After changing the Hostname of the server hosting the NPrinting 17 server you will see the NPrinting Engine Offline in the NPrinting administration console
The QlikNPrintingMessagingService and Qlik Nprinting Scheduler service will be stopped. If you try to start then it will fail.
- Open the Windows command line console as administrator (cmd.exe).
- In the command line move the RabbitMQ command prompt (sbin dir) by using the command cd "C:\ProgramFiles\NPrintingServer\rabbitmq_server-3.5.7\sbin" (the path may be different, depending on the Qlik NPrinting Server installation folder).
- Run the command rabbitmq-service.bat remove
- Run the command rabbitmq-service.bat install
- Go to the service console and Right click -> Properties on QlikNPrintingMessagingService
- Synchronize back the .erlang.cookie by copying the one in C:\Windows\.erlang.cookie and pasting it in C:\<user-who-installed-NPrinting>\.erlang.cookie
- **(Qlik Nprinting June 2018 New location) C:\WINDOWS\system32\config\systemprofile\**
- Start the QlikNprintingMessagingService
- Go back to the Command Prompt and type the command rabbitmqctl.bat list_permissions
If you get the result below then you can start the Qlik Nprinting Scheduler service otherwise you can use this guide to troubleshoot the problem : RabbitMQ/Erlang Troubleshooting guide
- Stop the Qlik Nprinting Engine service and open the file C:\Program Files\NPrintingServer\NPrinting\Engine\engine.config (It's recommended to take a backup of this file first)
- Locate the line <add key="rabbitmq-host" value="servername" />
to the new name where NPrinting Scheduler is installed.
- Start Qlik Nprinting Engine and connect to the Nprinting Administration Console
- Go to Admin -> Engine Manager
- Remove the Engine with the old name and add it again with the new name.