Looks like the user running Rabbit MQ does not have the appropriate permissions to listen on the Stomp port 61613.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Looks like the user running Rabbit MQ does not have the appropriate permissions to listen on the Stomp port 61613.
On Oct 30, 2015 7:19 PM, "Oi Lee" <lee...@gmail.com> wrote:
Hi MK, no it does not run with the same user as RabbitMQ.
I removed everything and tried to start of scratch. I actually got startup_err and startup_log files today.startup_err:/usr/lib/rabbitmq/bin/rabbitmq-server: line 164: 14369 User defined signal 2 start_rabbitmq_server "$@"
startup_log:RabbitMQ 3.5.6. Copyright (C) 2007-2015 Pivotal Software, Inc.## ## Licensed under the MPL. See http://www.rabbitmq.com/## ##
########## Logs: /var/log/rabbitmq/rabbit@newDev.log###### ## /var/log/rabbitmq/rabbit@newDev-sasl.log
##########Starting broker...BOOT FAILED===========Error description:{could_not_start,rabbitmq_stomp,{{shutdown,{failed_to_start_child,'rabbit_stomp_listener_sup_:::61613',{shutdown,{failed_to_start_child,tcp_listener,{cannot_listen,{0,0,0,0,0,0,0,0},61613,eacces}}}}},{rabbit_stomp,start,[normal,[]]}}}Log files (may contain more information):
/var/log/rabbitmq/rabbit@newDev.log/var/log/rabbitmq/rabbit@newDev-sasl.log
{"init terminating in do_boot",{could_not_start,rabbitmq_stomp,{{shutdown,{failed_to_start_child,'rabbit_stomp_listener_sup_:::61613',{shutdown,{failed_to_start_child,tcp_listener,{cannot_listen,{0,0,0,0,0,0,0,0},61613,eacces}}}}},{rabbit_stomp,start,[normal,[]]}}}}[ OK ]Thanks!OiOn Monday, October 26, 2015 at 1:04:16 PM UTC-6, Michael Klishin wrote:Did your test program also run with the same effective user as RabbitMQ?
Sorry but the error message is unambiguous: something prevents STOM plugin from binding to its non-TLS port.
See system logs (syslog and so on) for
possible clues.
> On 27 oct 2015, at 3:55, Oi Lee <lee...@gmail.com> wrote:
>
> I test the ports using ServerSocket object in Java to see if it is closed. It is able to bind to the ports with no errors.