Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
steeramp
Partner - Creator II
Partner - Creator II

NPrinting 17 - Service Scheduler always off

Hi to all...

Some one can help me about these error with service SCHEDULER  ?

Failed to stop service. System.InvalidOperationException: An unhandled exception was detected ---> System.NullReferenceException: Object reference not set to an instance of an object. at Qlik.NPrinting.Scheduler.Service.LoadBalancer.Finalize() --- End of inner exception stack trace --- at Topshelf.Runtime.Windows.WindowsServiceHost.OnStop() at System.ServiceProcess.ServiceBase.DeferredStop()

from RABBIT log.....

=INFO REPORT==== 13-Jul-2016::16:13:08 ===

accepting AMQP connection <0.230.0> ([::1]:51380 -> [::1]:5672)

=ERROR REPORT==== 13-Jul-2016::16:13:11 ===

closing AMQP connection <0.230.0> ([::1]:51380 -> [::1]:5672):

{handshake_error,starting,0,

                 {amqp_error,access_refused,

                             "PLAIN login refused: user 'remote' - invalid credentials",

                             'connection.start_ok'}}

=INFO REPORT==== 13-Jul-2016::16:13:13 ===

accepting AMQP connection <0.233.0> ([::1]:51381 -> [::1]:5672)

=ERROR REPORT==== 13-Jul-2016::16:13:16 ===

closing AMQP connection <0.233.0> ([::1]:51381 -> [::1]:5672):

{handshake_error,starting,0,

                 {amqp_error,access_refused,

                             "PLAIN login refused: user 'remote' - invalid credentials",

                             'connection.start_ok'}}

=INFO REPORT==== 13-Jul-2016::16:13:16 ===

accepting AMQP connection <0.236.0> ([::1]:51382 -> [::1]:5672)

=ERROR REPORT==== 13-Jul-2016::16:13:19 ===

closing AMQP connection <0.236.0> ([::1]:51382 -> [::1]:5672):

{handshake_error,starting,0,

                 {amqp_error,access_refused,

                             "PLAIN login refused: user 'remote' - invalid credentials",

                             'connection.start_ok'}}

1 Solution

Accepted Solutions
steeramp
Partner - Creator II
Partner - Creator II
Author

The RabbitMQ user used for the communication between NPrinting and its database hadn't been created during the installation process. To fix this problem we first need to check the permission with this command rabbitmqctl.bat list_permissions in the rabbitMQ Comand line We then created the user with those commands: rabbitmqctl.bat add_user remote remote rabbitmqctl.bat set_permissions remote ".*" ".*" ".*" After those steps we started the Scheduler successfully.


@Bastien Laugiero (QlikTech)

View solution in original post

4 Replies
steeramp
Partner - Creator II
Partner - Creator II
Author

The RabbitMQ user used for the communication between NPrinting and its database hadn't been created during the installation process. To fix this problem we first need to check the permission with this command rabbitmqctl.bat list_permissions in the rabbitMQ Comand line We then created the user with those commands: rabbitmqctl.bat add_user remote remote rabbitmqctl.bat set_permissions remote ".*" ".*" ".*" After those steps we started the Scheduler successfully.


@Bastien Laugiero (QlikTech)

Not applicable

Thanks Steeven. I finally fixed my NPrinting installation error using the commands mentioned.

This needs to be incorporated into the various troubleshooting articles in the knowledge base as it isn't mentioned anywhere that I could find.                                            

Stephen_Jasionowski

Starting in version 17.2.1, a customized version of RabbitMQ is installed by the Qlik NPrinting Server

setup. The Windows service is called QlikNPrintingMessagingService. The installation process will

remove any other version of RabbitMQ that is installed on the same computer.

Not applicable

Glad to hear this, but it would still be useful to update the existing troubleshooting guides for anyone who needs to install any earlier versions.

Once again, thanks for info regarding the upgrade.