As root
, I installed RabbitMQ per the instructions here. I then did:
cd /sbin
sudo service rabbitmq-server start
...and I got...
Redirecting to /bin/systemctl start rabbitmq-server.service
Failed to start rabbitmq-server.service: Unit rabbitmq-server.service failed to load: No such file or directory.
Linux info:
>cat /proc/version
Linux version 3.10.0-327.el7.x86_64 (mockbuild@x86-034.build.eng.bos.redhat.com) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Oct 29 17:29:29 EDT 2015
>cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 (Maipo)
Any idea what I've done wrong?
EDIT #1: Here's some additional info:
>systemctl status rabbitmq-server
● rabbitmq-server.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
EDIT #2 More info:
>rpm -qa | grep rabbitmq
>
(basically no output)
Here's how I installed, per the instructions here on Package Cloud installation.
For erlang:
curl -s https://packagecloud.io/install/repositories/rabbitmq/erlang/script.rpm.sh | sudo bash
For rabbitmq:
curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.rpm.sh | sudo bash