Property Transforms > Troubleshooting Property Transforms > Create the RabbitMQ User Manually
Create the RabbitMQ User Manually
If an installation or upgrade procedure fails to created the necessary RabbitMQ user, follow the Linux or Windows steps below to create the user manually.
For Linux
1. Open a terminal window as the root user and navigate to the Platform Analytics installation directory:
/opt/ThingWorxAnalytics/PlatformAnalytics
2. Run the following command to create a new user and assign a password:
./rabbitmq_server-*/sbin/rabbitmqctl add_user <username> <password>
* 
The RabbitMQ user name should match the ThingWorx user name.
3. Run the following command to configure the new user to be a RabbitMQ administrator:
./rabbitmq_server-*/sbin/rabbitmqctl set_user_tags <username> administrator
4. Run the following command to configure permissions for the new user in the RabbitMQ directories:
./rabbitmq_server-*/sbin/rabbitmqctl set_permissions <username> ".*" ".*" ".*"
5. Navigate to the bin folder of the installation directory and run the following command to restart Platform Analytics:
./twpas.sh restart
For Windows
1. On the Windows computer where your Platform Analytics is installed, open the Windows PowerShell, or a Command Prompt, in Administrator mode.
2. Navigate to the installation directory:
C:\Program Files\ThingWorxAnalytics\PlatformAnalytics
3. Run the following command to create a new user and assign a password:
.\rabbitmqctl.bat add_user <username> <password>
* 
The RabbitMQ user name should match the ThingWorx user name.
4. Run the following command to configure the new user to be a RabbitMQ administrator:
.\rabbitmqctl.bat set_user_tags <username> administrator
5. Run the following command to configure permissions for the new user in the RabbitMQ directories:
.\rabbitmqctl.bat set_permissions <username> ".*" ".*" ".*"
6. Navigate to the bin folder of the installation directory and run the following commands to restart Platform Analytics:
Stop the server: .\twpas.bat stop
Starts the server: .\twpas.bat start
Was this helpful?