Qlik NPrinting messaging service (RabbitMQ ) start up and connection problems
Possible cause
If reports are not produced, or engines never go to
The scheduler log shows a message like:
2016-01-21 16:45:58,404 FATAL:
*********************************************
Error: RabbitMQ message broker is unreachable
Shutting down scheduler service
*********************************************
2016-01-21 16:46:12,102 FATAL: Unable to start SchedulerService: exception of type System.AggregateException
One or more errors occurred.
Proposed action
Check the service status
- Check that Qlik NPrinting messaging service is running.
Check the node status on the RabbitMQ console
- Copy the .erlang.cookie file from the %SystemRoot% folder (C:\WINDOWS\system32\config\systemprofile\) and replace it in the %USERPROFILE% folder (C:\Users\npadmin).
-
Open a new command prompt as Administrator.
-
Navigate to the RabbitMQ sbin folder: %ProgramFiles%\NPrintingServer\rabbitmq_server-3.7.7\sbin
-
Run the following command:
rabbitmqctl.bat status
Repair the Qlik NPrinting messaging service
- Copy the .erlang.cookie file from the %SystemRoot% folder (C:\WINDOWS\system32\config\systemprofile\) and replace it in the %USERPROFILE% folder (C:\Users\npadmin).
- Open a new command prompt as Administrator.
- Navigate to the RabbitMQ sbin folder: %ProgramFiles%\NPrintingServer\rabbitmq_server-3.7.7\sbin
-
Run the following commands:
rabbitmq-service.bat stop
rabbitmq-service.bat remove
- Add the system environment variable ERLANG_HOME (if missing) with the path to the Erlang base folder (usually C:\Program Files\erl9.3)
- Close the command prompt and open a new one as Administrator.
- Navigate to the RabbitMQ sbin folder: %ProgramFiles%\NPrintingServer\rabbitmq_server-3.7.4\sbin
-
Run the following commands:
rabbitmq-service.bat install
rabbitmq-service.bat start
Check and fix permissions
- Copy the .erlang.cookie file from the %SystemRoot% folder (C:\WINDOWS\system32\config\systemprofile\) and replace it in the %USERPROFILE% folder (C:\Users\npadmin).
- Open a new command prompt as Administrator.
- Navigate to the RabbitMQ sbin folder: %ProgramFiles%\NPrintingServer\rabbitmq_server-3.7.7\sbin
-
Run the following command:
rabbitmqctl.bat list_permissions
-
If the output does not contain the row:
remote .* .* .*
Run the following commands:
rabbitmqctl.bat add_user remote remote
rabbitmqctl.bat set_permissions remote ".*" ".*" ".*"
If you see connection errors instead, refer to the Erlang cookie section in the