I tried to stop the rabbitmq server from shell script, but its failing to stop
i can run the below command from the shell prompt and could able to stop the rabbitmq server.
sh /data/rabbitmq-3.1.5/rabbitmq_server-3.1.5/sbin/rabbitmqctl stop
but when i try to run the same command from shell script its not able to identify the "stop" after rabbitmqctl command.
Message Received
Error: could not recognize command Usage: rabbitmqctl [-n ] [-q] []