Changing RABBITMQ_BASE Directory for Windows Installation

Recent versions of Perceptive Content require a user to utilize the RabbitMQ messaging service.

By default, RABBITMQ_BASE (data and log) folder is set to %APPDATA%\RabbitMQ. This location is tied to the user who performed the install, making it inconvenient for anyone else when trying to troubleshoot the RabbitMQ installation. You may also run into permissions issues where the Local Service account is not able to access user’s AppData folder, in which case the service will crash without generating any errors.

Here is a straightforward way to place data into a folder that is easily accessible:

During install uncheck the RabbitMQ service:

After install is complete – Open Elevated (Run as Administrator) Command prompt, navigate to the sbin directory:

Run: set RABBITMQ_BASE=C:\Program Files\RabbitMQ Server\data. This sets variable that is used by the installer, that otherwise defaults to %APPDATA%\RabbitMQ

Run: rabbitmq-service install

Start the RabbitMQ service:

Run: rabbitmqctl status to check status:

Add the user and set permissions:

  • rabbitmqctl add_user USERNAME PASSWORD
  • rabbitmqctl set_permissions -p / USERNAME “.*” “.*” “.*”

(Optional) Run: rabbitmqctl report > report.txt to output a report of the current state to file.

And that is all!  Hopefully by following the simple steps above you are able to correctly and efficiently install RabbitMQ into a folder that does not cause future permissions issues, problems with troubleshooting, or (seemingly but not) random crashes that can be frustrating.

And remember, if ever you need additional help with your Perceptive Content, Kofax KTM/KTA, or OnBase implementations or upgrades, be sure to call RPI Consultants!  Our senior consultants have vast experience implementing all of the above enterprise software solutions within all of the major ERP software out there, in addition to legacy systems.  We are also experts in security, custom scripting, workflow process improvement, AP automation, technical and functional health checks, management consulting, managed services, and all things related to Perceptive Content, Kofax and OnBase.

X