Installation Through NI Package Manager Fails Due to Skyline RabbitMQ

Updated Feb 14, 2022

Reported In

Software

  • SystemLink Server
  • LabVIEW NXG Web Module
  • FlexLogger 2018 R3
  • FlexLogger
  • LabVIEW NXG

Issue Details

When I try to install SystemLink™, FlexLogger, LabVIEW, LabVIEW NXG, or LabVIEW NXG Web Module I get the following error about NI Skyline RabbitMQ. How can I resolve this and install the software?

 

Solution

This issue may be caused by several underlying problems.  To resolve them, follow these steps:

1. Go into NI Package Manager and make sure that the Show full version numbers and infrastructure packages option is checked from inside the menu accessed by selecting the cog in the upper right-hand corner of NI Package Manager. 
 

2. Go to the Installed tab uncheck the box Products only. 
3. Enter "rabbit" into the search bar. Uninstall anything that shows up in that list. 
4. Enter "erlang" into the search bar. Uninstall anything that shows up in that list.
5. Go to the Windows Add or Remove Programs menu and search for the RabbitMQ server entry and OTP Erlang. Make sure to uninstall these as well if they are present. 
6. Delete the cache of the packages downloaded by deleting the contents of "C:\ProgramData\National Instruments\MDF\ProductCache" as well as "C:\ProgramData\National Instruments\NI Package Manager\packages".
7. Restart your computer and try installing SystemLink™, FlexLogger, or the LabVIEW NXG Web Module again. 

If this didn't solve the problem, you can try deactivating your anti-virus. This is because security software can sometimes incorrectly block the installation of RabbitMQ or other dependencies of SystemLink™, FlexLogger, or the LabVIEW NXG Web Module.

8. In some cases, the uninstallation will not remove a registry key and this will cause the NI Package Manager to fail when installing the package. To resolve this follow the steps below:

WARNING: Inappropriate changes to the Windows Registry can disable your operating system. Only follow these instructions if you are comfortable making these changes, otherwise, enlist the help of your system administrator. Before attempting these steps, make a backup copy of your existing registry by launching the Registry Editorhighlight the top-level Computer entry, and select File»Export. Save the copy in case you need to restore the registry.
  1. Open Regedit.exe
  2. Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Ericsson\Erlang\ErlSrv\1.1\RabbitMQ
  3. Remove that key.
If you are still having issues, follow the instructions in Generating and Locating NI Package Manager Error Logs to turn on MSI logging on your system. The next time you try to install and it fails with this error, an error file will be generated at the directory indicated in that link. Contact NI Support and include the entire NIPM logs directory in your service request. Note that issues that are not resolved by the other steps in this document may require reimaging the affected computer to allow for a fresh installation of the affected software.

If any of these steps solve your issue, please contact NI Technical Support

Additional Information

It is important to note that the installation of other software can enable the installation of RabbitMQ by default.  It can be helpful to review the packages selected in your installation, including any optional or recommended packages, and uncheck any that are not necessary for your use case.  This will minimize the number of dependencies that are installed.

For example:
NI Web Server Development Support for LabVIEW xxxx xx-bit depends on RabbitMQ, and is a recommended package for LabVIEW
Screenshot_47.png