Qlik Community

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

steeramp
New Contributor III

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
New Contributor III

Re: NPrinting 17 - Service Scheduler always off

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)

4 Replies
steeramp
New Contributor III

Re: NPrinting 17 - Service Scheduler always off

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)

Highlighted
Not applicable

Re: NPrinting 17 - Service Scheduler always off

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.                                            

sjw
Valued Contributor II

Re: NPrinting 17 - Service Scheduler always off

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

Re: NPrinting 17 - Service Scheduler always off

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.

Community Browser