<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article NP scheduler or Messenger (RabbitMQ) Service not starting, NPrinting Run Verification Designer Preview issue, NPrinting Engine Offline in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/NP-scheduler-or-Messenger-RabbitMQ-Service-not-starting/ta-p/1717775</link>
    <description>&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Symptoms:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Scenario A: When installing or upgrading&amp;nbsp; the Run Verification will not run after creating an App Connection.&lt;/LI&gt;
&lt;LI&gt;Scenario B: The Engine Service stops immediately after a restart or it works but the Engine in the NPrinting web console stays offline.&lt;/LI&gt;
&lt;LI&gt;Scenario C: NPrinting Services (NP Engine, Web Engine, Scheduler services are not starting or fail to remain in a started state.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Scenario A:&amp;nbsp; All NPrinting services 'may' be are running normally.&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Related error found: in Web Engine log: "Close: Error closing compress writer section=compress type=gzip error="&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Scenario B: The Engine in NPrinting Web Console is offline and the activation fails on adding the password for the certificate. In some cases the Engine service stops immediately after a restart, in some others it keeps running. The Web Engine logs shows this error:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The Web Engine logs show this message: &lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Exception serving the request &lt;A href="http://localhost:4996/npe/engines/bf417c4a-4ad7-4d52-9edd-65f5390fe98f/certificate" target="_blank" rel="noopener"&gt;http://localhost:4996/npe/engines/bf417c4a-4ad7-4d52-9edd-65f5390fe98f/certificate&lt;/A&gt; System.Security.Cryptography.&lt;STRONG&gt;CryptographicException: Invalid provider type specified.↵&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Scenario C:&lt;/STRONG&gt;&amp;nbsp;(Most Common)&amp;nbsp;&lt;STRONG&gt;NP Engine may be found to be in an 'Offline' status and or NP Scheduler service not starting for fails to remain in a 'started' state&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;in the NP Engine, Web Engine and or Scheduler logs check for error&amp;nbsp;"Web Engine client certificate not found in store. Generating a new certificate from RabbitMQ CA key"&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&lt;STRONG&gt;Environment discovered in:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik NPrinting April 2019 and later versions&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;STRONG&gt;Affecting&lt;/STRONG&gt;:&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Any NPrinting version&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;&lt;STRONG&gt;What is the Cause?&lt;/STRONG&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;cookie mismatch due to a different user installing the NPrinting server and engine that is not the current NPrinting service account.&lt;/LI&gt;
&lt;LI&gt;a missing RabbitMQ user.&amp;nbsp; ie:&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;&lt;SPAN&gt;client_scheduler.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;NPrinting server certificates are missing or need updating.&lt;/LI&gt;
&lt;LI&gt;The NPrinting Engine Service users has not full access to the &lt;STRONG data-stringify-type="bold"&gt;C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys&lt;/STRONG&gt; folder.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;&lt;STRONG&gt;Resolution:&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Please upgrade to June 2020 or newer versions of NPrinting&lt;/STRONG&gt;. If the issue persists, please check the steps below:&lt;/P&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Part 1:&amp;nbsp;Check Rabbit MQ User Permissions&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;H4&gt;&lt;STRONG&gt;Diagnosis:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Open a new command prompt as an Administrator&lt;/LI&gt;
&lt;LI&gt;Navigate to the RabbitMQ sbin folder:&amp;nbsp;&lt;I&gt;%ProgramFiles%\NPrintingServer\rabbitmq_server-3.x.x\sbin &lt;/I&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV&gt;&lt;I&gt;navigate manually to %ProgramFiles%\NPrintingServer\rabbitmq_server-3.x.x to determine to determine the values for 'x'&lt;/I&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;I&gt;&lt;BR /&gt;For example:&amp;nbsp;&lt;STRONG&gt;%ProgramFiles%\NPrintingServer\rabbitmq_server-3.7.24&lt;/STRONG&gt; (if NPrinting June 2020)&lt;/I&gt;&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI&gt;Run the following command:&amp;nbsp;&lt;I&gt;rabbitmqctl.bat list_permissions&lt;/I&gt;&lt;/LI&gt;
&lt;LI&gt;Ensure the output looks similar to the following:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;remote  .*      .*      .*
client_engine   .*      .*      .*
client_scheduler        .*      .*      .*   
client_webengine        .*      .*      .*

If November 2020 and later versions, you should also see:
client_audit    .*      .*      .*&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If the output of the &lt;STRONG&gt;&lt;I&gt;rabbitmqctl.bat list_permissions&lt;/I&gt;&lt;/STRONG&gt; test appear as shown above, then NPrinting is running normally. if the test does not show the above information but rather shows&lt;STRONG&gt; node errors&lt;/STRONG&gt; or&lt;STRONG&gt; access denied&lt;/STRONG&gt; or other errors, proceed to next point&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;STRONG&gt;The solution to Part 1:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Copy the&amp;nbsp;&lt;STRONG&gt;.erlang.cookie&lt;/STRONG&gt;&amp;nbsp;file from the&amp;nbsp;&lt;I&gt;%SystemRoot%&lt;/I&gt;&amp;nbsp;folder&amp;nbsp;(&lt;I&gt;C:\WINDOWS\system32\config\systemprofile&lt;/I&gt;)&amp;nbsp;and place it in the %USERPROFILE%&amp;nbsp;&lt;I&gt;folder&amp;nbsp;(ie "C:\Users\installer_user_account'&lt;/I&gt;) of the domain account used to install NPrinting.&lt;/LI&gt;
&lt;LI&gt;Restart all NPrinting services and retest to check if the issue is resolved. If not resolved and there are still missing Rabbit users as per above, proceed to the next part below:&lt;/LI&gt;
&lt;LI&gt;As a precaution, back up/make a copy of any &lt;STRONG&gt;.erlang.cookie &lt;/STRONG&gt;files that will be overwritten&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Part 2: Insert missing Rabbit MQ users, permissions and repair certificates&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;H4&gt;&lt;STRONG&gt;Diagnosis:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Perform the diagnosis step found in Part 1 above again&lt;/LI&gt;
&lt;LI&gt;If the output of the &lt;STRONG&gt;&lt;I&gt;rabbitmqctl.bat list_permissions&lt;/I&gt;&lt;/STRONG&gt; test is missing any of the four&amp;nbsp;rows shown below, proceed to "&lt;STRONG&gt;Solution"&amp;nbsp;&lt;/STRONG&gt;in next point to insert the missing rows/permissions as needed,&lt;/LI&gt;
&lt;LI&gt;Open Windows certificates manager by clicking on Windows start and writing "&lt;STRONG&gt;Manage Computer Certificates&lt;/STRONG&gt;". Notice any missing NPrinting client user (engine, scheduler, web engine). The&amp;nbsp; certificates are in&amp;nbsp; "Certificates-Local Computer&amp;gt;Personal&amp;gt;Certificates.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;remote  .*      .*      .*
client_engine   .*      .*      .*
client_scheduler        .*      .*      .*   
client_webengine        .*      .*      .*

If November 2020 and later versions, you should also see:
client_audit    .*      .*      .*&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;STRONG&gt;The solution to Part 2:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Log on to the machine as the NPrinting Engine user and check that this user has full access to the &lt;STRONG data-stringify-type="bold"&gt;C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys&lt;/STRONG&gt; folder. This step is necessary to proceed with the solution. The certificates can't be recreated if the users has not the correct access level to the folder.&lt;/LI&gt;
&lt;LI&gt;Find the path to the RabbitMQ folder by navigating to "C:\Program Files\NprintingServer"&lt;/LI&gt;
&lt;LI&gt;Replace 3.x.x below with your version of RabbitMQ. (For example Nov. 2020 NPrinting rabbitmq is &lt;STRONG&gt;3.8.3&lt;/STRONG&gt; and June 2020 is &lt;STRONG&gt;3.7.24&lt;/STRONG&gt;)&lt;/LI&gt;
&lt;LI&gt;Run the following commands to insert the missing rabbit users and repair certificates in the local computer certificates repository and the NPrinting server PEM certificates:&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;RabbitMQCertificatesGenerator.exe -p "C:\Program Files\NPrintingServer\rabbitmq_server-3.x.x" -c "C:\ProgramData\NPrinting\certificates" --generate-ec -f&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Final Steps:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Uninstall and reinstall the NPrinting Engine software (make sure to write down the certificate password that you use when installing the NP engine. You will need it in the next step).&lt;/LI&gt;
&lt;LI&gt;Next, delete and re-add the NPrinting Engine in the NPrinting Web Console (Admin&amp;gt;Engine Manager) and click resend the certificate. This will send the certificate to the Windows local computer certificate repository. Notice that the Engine may stay offline until the machine is rebooted.&lt;/LI&gt;
&lt;LI&gt;Reboot the NPrinting Engine server.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Notes:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Some older NPrinting versions lost RabbitMQ users or may not have been inserted normally. This behavior has been resolved in June 2020 and later versions of NPrinting&lt;/LI&gt;
&lt;LI&gt;If upgrading from older versions of NPrinting (April 2020 and earlier), in some edge case situations, this issue may be experienced.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;remote  .*      .*      .*
client_engine   .*      .*      .*
client_scheduler        .*      .*      .*   
client_webengine        .*      .*      .*

If November 2020 and later versions, you should also see:
client_audit    .*      .*      .*​&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Related Information:&lt;/H2&gt;
&lt;P&gt;If the above resolves NP Engine issues but does not restore normal operation of the NPrinting Messenger service, please check the following help page which describes how to remove and reinstall the RabbitMQ service.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/nprinting/Content/NPrinting/Troubleshooting/Qlik-NPrinting-Messaging-Service-startup-connection-problems.htm" target="_self"&gt;https://help.qlik.com/en-US/nprinting/Content/NPrinting/Troubleshooting/Qlik-NPrinting-Messaging-Service-startup-connection-problems.htm&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Fri, 28 Jan 2022 10:13:13 GMT</pubDate>
    <dc:creator>Sonja_Bauernfeind</dc:creator>
    <dc:date>2022-01-28T10:13:13Z</dc:date>
    <item>
      <title>NP scheduler or Messenger (RabbitMQ) Service not starting, NPrinting Run Verification Designer Preview issue, NPrinting Engine Offline</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/NP-scheduler-or-Messenger-RabbitMQ-Service-not-starting/ta-p/1717775</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Symptoms:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Scenario A: When installing or upgrading&amp;nbsp; the Run Verification will not run after creating an App Connection.&lt;/LI&gt;
&lt;LI&gt;Scenario B: The Engine Service stops immediately after a restart or it works but the Engine in the NPrinting web console stays offline.&lt;/LI&gt;
&lt;LI&gt;Scenario C: NPrinting Services (NP Engine, Web Engine, Scheduler services are not starting or fail to remain in a started state.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Scenario A:&amp;nbsp; All NPrinting services 'may' be are running normally.&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Related error found: in Web Engine log: "Close: Error closing compress writer section=compress type=gzip error="&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Scenario B: The Engine in NPrinting Web Console is offline and the activation fails on adding the password for the certificate. In some cases the Engine service stops immediately after a restart, in some others it keeps running. The Web Engine logs shows this error:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The Web Engine logs show this message: &lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Exception serving the request &lt;A href="http://localhost:4996/npe/engines/bf417c4a-4ad7-4d52-9edd-65f5390fe98f/certificate" target="_blank" rel="noopener"&gt;http://localhost:4996/npe/engines/bf417c4a-4ad7-4d52-9edd-65f5390fe98f/certificate&lt;/A&gt; System.Security.Cryptography.&lt;STRONG&gt;CryptographicException: Invalid provider type specified.↵&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Scenario C:&lt;/STRONG&gt;&amp;nbsp;(Most Common)&amp;nbsp;&lt;STRONG&gt;NP Engine may be found to be in an 'Offline' status and or NP Scheduler service not starting for fails to remain in a 'started' state&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;in the NP Engine, Web Engine and or Scheduler logs check for error&amp;nbsp;"Web Engine client certificate not found in store. Generating a new certificate from RabbitMQ CA key"&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&lt;STRONG&gt;Environment discovered in:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik NPrinting April 2019 and later versions&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;STRONG&gt;Affecting&lt;/STRONG&gt;:&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Any NPrinting version&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;&lt;STRONG&gt;What is the Cause?&lt;/STRONG&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;cookie mismatch due to a different user installing the NPrinting server and engine that is not the current NPrinting service account.&lt;/LI&gt;
&lt;LI&gt;a missing RabbitMQ user.&amp;nbsp; ie:&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;&lt;SPAN&gt;client_scheduler.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;NPrinting server certificates are missing or need updating.&lt;/LI&gt;
&lt;LI&gt;The NPrinting Engine Service users has not full access to the &lt;STRONG data-stringify-type="bold"&gt;C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys&lt;/STRONG&gt; folder.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;&lt;STRONG&gt;Resolution:&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Please upgrade to June 2020 or newer versions of NPrinting&lt;/STRONG&gt;. If the issue persists, please check the steps below:&lt;/P&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Part 1:&amp;nbsp;Check Rabbit MQ User Permissions&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;H4&gt;&lt;STRONG&gt;Diagnosis:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Open a new command prompt as an Administrator&lt;/LI&gt;
&lt;LI&gt;Navigate to the RabbitMQ sbin folder:&amp;nbsp;&lt;I&gt;%ProgramFiles%\NPrintingServer\rabbitmq_server-3.x.x\sbin &lt;/I&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV&gt;&lt;I&gt;navigate manually to %ProgramFiles%\NPrintingServer\rabbitmq_server-3.x.x to determine to determine the values for 'x'&lt;/I&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;I&gt;&lt;BR /&gt;For example:&amp;nbsp;&lt;STRONG&gt;%ProgramFiles%\NPrintingServer\rabbitmq_server-3.7.24&lt;/STRONG&gt; (if NPrinting June 2020)&lt;/I&gt;&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI&gt;Run the following command:&amp;nbsp;&lt;I&gt;rabbitmqctl.bat list_permissions&lt;/I&gt;&lt;/LI&gt;
&lt;LI&gt;Ensure the output looks similar to the following:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;remote  .*      .*      .*
client_engine   .*      .*      .*
client_scheduler        .*      .*      .*   
client_webengine        .*      .*      .*

If November 2020 and later versions, you should also see:
client_audit    .*      .*      .*&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If the output of the &lt;STRONG&gt;&lt;I&gt;rabbitmqctl.bat list_permissions&lt;/I&gt;&lt;/STRONG&gt; test appear as shown above, then NPrinting is running normally. if the test does not show the above information but rather shows&lt;STRONG&gt; node errors&lt;/STRONG&gt; or&lt;STRONG&gt; access denied&lt;/STRONG&gt; or other errors, proceed to next point&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;STRONG&gt;The solution to Part 1:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Copy the&amp;nbsp;&lt;STRONG&gt;.erlang.cookie&lt;/STRONG&gt;&amp;nbsp;file from the&amp;nbsp;&lt;I&gt;%SystemRoot%&lt;/I&gt;&amp;nbsp;folder&amp;nbsp;(&lt;I&gt;C:\WINDOWS\system32\config\systemprofile&lt;/I&gt;)&amp;nbsp;and place it in the %USERPROFILE%&amp;nbsp;&lt;I&gt;folder&amp;nbsp;(ie "C:\Users\installer_user_account'&lt;/I&gt;) of the domain account used to install NPrinting.&lt;/LI&gt;
&lt;LI&gt;Restart all NPrinting services and retest to check if the issue is resolved. If not resolved and there are still missing Rabbit users as per above, proceed to the next part below:&lt;/LI&gt;
&lt;LI&gt;As a precaution, back up/make a copy of any &lt;STRONG&gt;.erlang.cookie &lt;/STRONG&gt;files that will be overwritten&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Part 2: Insert missing Rabbit MQ users, permissions and repair certificates&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;H4&gt;&lt;STRONG&gt;Diagnosis:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Perform the diagnosis step found in Part 1 above again&lt;/LI&gt;
&lt;LI&gt;If the output of the &lt;STRONG&gt;&lt;I&gt;rabbitmqctl.bat list_permissions&lt;/I&gt;&lt;/STRONG&gt; test is missing any of the four&amp;nbsp;rows shown below, proceed to "&lt;STRONG&gt;Solution"&amp;nbsp;&lt;/STRONG&gt;in next point to insert the missing rows/permissions as needed,&lt;/LI&gt;
&lt;LI&gt;Open Windows certificates manager by clicking on Windows start and writing "&lt;STRONG&gt;Manage Computer Certificates&lt;/STRONG&gt;". Notice any missing NPrinting client user (engine, scheduler, web engine). The&amp;nbsp; certificates are in&amp;nbsp; "Certificates-Local Computer&amp;gt;Personal&amp;gt;Certificates.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;remote  .*      .*      .*
client_engine   .*      .*      .*
client_scheduler        .*      .*      .*   
client_webengine        .*      .*      .*

If November 2020 and later versions, you should also see:
client_audit    .*      .*      .*&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;STRONG&gt;The solution to Part 2:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Log on to the machine as the NPrinting Engine user and check that this user has full access to the &lt;STRONG data-stringify-type="bold"&gt;C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys&lt;/STRONG&gt; folder. This step is necessary to proceed with the solution. The certificates can't be recreated if the users has not the correct access level to the folder.&lt;/LI&gt;
&lt;LI&gt;Find the path to the RabbitMQ folder by navigating to "C:\Program Files\NprintingServer"&lt;/LI&gt;
&lt;LI&gt;Replace 3.x.x below with your version of RabbitMQ. (For example Nov. 2020 NPrinting rabbitmq is &lt;STRONG&gt;3.8.3&lt;/STRONG&gt; and June 2020 is &lt;STRONG&gt;3.7.24&lt;/STRONG&gt;)&lt;/LI&gt;
&lt;LI&gt;Run the following commands to insert the missing rabbit users and repair certificates in the local computer certificates repository and the NPrinting server PEM certificates:&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;RabbitMQCertificatesGenerator.exe -p "C:\Program Files\NPrintingServer\rabbitmq_server-3.x.x" -c "C:\ProgramData\NPrinting\certificates" --generate-ec -f&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Final Steps:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Uninstall and reinstall the NPrinting Engine software (make sure to write down the certificate password that you use when installing the NP engine. You will need it in the next step).&lt;/LI&gt;
&lt;LI&gt;Next, delete and re-add the NPrinting Engine in the NPrinting Web Console (Admin&amp;gt;Engine Manager) and click resend the certificate. This will send the certificate to the Windows local computer certificate repository. Notice that the Engine may stay offline until the machine is rebooted.&lt;/LI&gt;
&lt;LI&gt;Reboot the NPrinting Engine server.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Notes:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Some older NPrinting versions lost RabbitMQ users or may not have been inserted normally. This behavior has been resolved in June 2020 and later versions of NPrinting&lt;/LI&gt;
&lt;LI&gt;If upgrading from older versions of NPrinting (April 2020 and earlier), in some edge case situations, this issue may be experienced.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;remote  .*      .*      .*
client_engine   .*      .*      .*
client_scheduler        .*      .*      .*   
client_webengine        .*      .*      .*

If November 2020 and later versions, you should also see:
client_audit    .*      .*      .*​&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Related Information:&lt;/H2&gt;
&lt;P&gt;If the above resolves NP Engine issues but does not restore normal operation of the NPrinting Messenger service, please check the following help page which describes how to remove and reinstall the RabbitMQ service.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/nprinting/Content/NPrinting/Troubleshooting/Qlik-NPrinting-Messaging-Service-startup-connection-problems.htm" target="_self"&gt;https://help.qlik.com/en-US/nprinting/Content/NPrinting/Troubleshooting/Qlik-NPrinting-Messaging-Service-startup-connection-problems.htm&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 28 Jan 2022 10:13:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/NP-scheduler-or-Messenger-RabbitMQ-Service-not-starting/ta-p/1717775</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2022-01-28T10:13:13Z</dc:date>
    </item>
  </channel>
</rss>

