DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Building Scalable Real-Time Apps with AstraDB and Vaadin
Register Now

Trending

  • RAML vs. OAS: Which Is the Best API Specification for Your Project?
  • Knowing and Valuing Apache Kafka’s ISR (In-Sync Replicas)
  • How To Manage Vulnerabilities in Modern Cloud-Native Applications
  • Send Email Using Spring Boot (SMTP Integration)

Trending

  • RAML vs. OAS: Which Is the Best API Specification for Your Project?
  • Knowing and Valuing Apache Kafka’s ISR (In-Sync Replicas)
  • How To Manage Vulnerabilities in Modern Cloud-Native Applications
  • Send Email Using Spring Boot (SMTP Integration)

Alternate, when RabbitMQ is not installed as a service on Windows10?

Ajay Sodhi user avatar by
Ajay Sodhi
·
Jul. 14, 20 · Tutorial
Like (3)
Save
Tweet
Share
3.56K Views

Join the DZone community and get the full member experience.

Join For Free

Problem Statement:

I have installed RabbitMQ on windows machine N number of times, but this time, it swallowed all my brain. Reason? Maybe the new permissions/policies that my company has enforced. I have installed Erlang 10, set ERLANG_HOME as well, and then installed RabbitMQ 3.7.7. No error, no exception, but I was unable to see RabbitMQ as a service.

Possible Solutions to try:

  1. Install Erlang and RabbitMQ as Administrator: For this, right-click on the exe and select Run As Administrator. The chances are your installations work fine and you could see RabbitMQ running as a service.
  2. Create ERLANG_HOME: There may be a possibility that you are using multiple versions of Erlang. In such a case, though you can do this otherwise as well, create an environment variable named, ERLANG_HOME and provide the value where your erlang is installed on the disk. Say for example, in my case it was installed at the default location, which is, C:\Program Files\erl10.0.1. So I gave that in this environment variable.

What Worked for Me:

I have tried all the aforementioned possible solutions, but nothing worked though. To manually run RabbitMQ server, do the following.

  1. Open Notepad++ / or any other text editor.
  2. Write down the following commands in it.

  3. PowerShell
     




    xxxxxxxxxx
    1


     
    1
    cd C:\Program Files\RabbitMQ Server\rabbitmq_server-3.7.7\sbin
    2
    rabbitmq-server.bat start


  4. I have installed RabbitMQ version 3.7.7 If you have used some other version, or some other location where you have installed RabbitMQ, modify the above content accordingly.
  5. Save the file on your Desktop with a .bat extension.

You are good to go. Now click on the newly created bat file on your Desktop, it will start RabbitMQ server. 

Installing/Activating/Enabling RabbitMQ Management plugin.

To activate RabbitMQ management plugin, follow below mentioned steps.

  1. Open File Explorer.
  2. Go to RabbitMQ sbin directory. If the default installation is followed, it will be at C:\Program Files\RabbitMQ Server\rabbitmq_server-3.7.7\sbin location.
  3. Click on the Address bar at the top and type cmd there to open a command prompt at that location. 
  4. Type the following command:
  5. PowerShell
     




    xxxxxxxxxx
    1


     
    1
    rabbitmq-plugins.bat enable rabbitmq_management


  6. Once it is done, kill/close this command prompt as well as the previous command window where rabbitMQ server was running.  
  7. Run again the RabbitMQ server from the bat file that you have created on your Desktop.
  8. Open http://localhost:15672/ You will be able to see the RabbitMQ Console:
  9. Enter the user name and password as guest/guest.
  10. You will be logged in and can see the RabbitMQ Console

 

Congratulations, you did it. :)

Please do share if this article helped you in someway or another. IF you face any challenge, do write me back, I will try to resolve your issue. If you have some suggestions/improvements for this article or some other solution worked for you, in that case as well, do write back, I will include your experience in this page so that others can get benifit from this. :)

Opinions expressed by DZone contributors are their own.

Trending

  • RAML vs. OAS: Which Is the Best API Specification for Your Project?
  • Knowing and Valuing Apache Kafka’s ISR (In-Sync Replicas)
  • How To Manage Vulnerabilities in Modern Cloud-Native Applications
  • Send Email Using Spring Boot (SMTP Integration)

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: