RABBITMQ-SERVER(8)

✨ RABBITMQ-SERVER ✨

okay so bestie, this is the System Manager's Manual page for the one and only rabbitmq-server, section 8 of the manual. yes the whole thing is giving "i run servers for a living" and honestly? iconic.

πŸ’– NAME πŸ’–

rabbitmq-server β€” starts a RabbitMQ node. that's it. that's the whole job. she starts, she slays.


🌸 SYNOPSIS 🌸

rabbitmq-server [-detached]

πŸ¦‹ DESCRIPTION πŸ¦‹

RabbitMQ is an open source multi-protocol messaging broker. like, she speaks multiple protocols. versatility queen fr fr. πŸ°πŸ‘‘

so when you run rabbitmq-server, it starts a RabbitMQ node in the foreground. the node will show you a cute little startup banner and then tell you when startup is complete. that's your moment. that's the "we're so back" moment. ✨

to shut the server down you do not just aggressively smash keys, no no. use service management tools, or rabbitmqctl(8). periodt.


πŸŽ€ ENVIRONMENT πŸŽ€

these are the environment variables, aka the levers you can pull. every single one, no skips. πŸ’…

  • RABBITMQ_CONFIG_FILE β€” defaults to /etc/rabbitmq/rabbitmq.conf. this is the node configuration file path. want the full lore? check the RabbitMQ Configuration guide: https://www.rabbitmq.com/docs/configure
  • RABBITMQ_MNESIA_BASE β€” defaults to /var/lib/rabbitmq/mnesia. the node data directory gets located (or created, if she's new here 🐣) inside this directory. full lore: the RabbitMQ File and Directory guide, https://www.rabbitmq.com/docs/relocate
  • RABBITMQ_LOG_BASE β€” defaults to /var/log/rabbitmq. all the log files the server generates land in this directory. full lore: the RabbitMQ Logging guide, https://www.rabbitmq.com/docs/logging
  • RABBITMQ_NODENAME β€” defaults to "rabbit@" followed by the computed hostname. this one lets you run multiple nodes on the same host, main character behavior honestly. every node in a cluster must have a unique RABBITMQ_NODENAME. full lore: the RabbitMQ Clustering guide, https://www.rabbitmq.com/docs/clustering
  • RABBITMQ_NODE_IP_ADDRESS β€” by default RabbitMQ will bind to all IPv6 and IPv4 interfaces available, she's social like that 🫢. this variable limits the node to one network interface or address family. full lore: the RabbitMQ Networking guide, https://www.rabbitmq.com/docs/networking
  • RABBITMQ_NODE_PORT β€” the AMQP 0-9-1 and AMQP 1.0 port. defaults to 5672. full lore: the RabbitMQ Networking guide, https://www.rabbitmq.com/docs/networking

πŸ’… OPTIONS πŸ’…

  • -detached β€” starts the server process in the background. real "i'll be in the other room" energy. but heads up bestie: this will cause the pid not to be written to the pid file. so don't go looking for it there, she's not home. 😭

like, for example, this here runs the RabbitMQ AMQP server in the background:

rabbitmq-server -detached

πŸ”₯ SEE ALSO πŸ”₯

go read these too, they're all part of the friend group:


πŸ‘‘ AUTHOR πŸ‘‘

The RabbitMQ Team <contact-tanzu-data.pdl@broadcom.com>


ok that's the whole page, you ate that πŸ’– go start a node, you've got this 🐰✨

RabbitMQ Server Β· June 22, 2023 Β· mwah, that's a wrap on RABBITMQ-SERVER(8) πŸŽ€πŸ¦‹β­

πŸ“¦ where this page comes from