[rabbitmq-discuss] eacces error in RabbitMQ when trying to set up federation

Simon MacMullen simon at rabbitmq.com
Mon Feb 3 15:57:05 GMT 2014


That's quite odd. 'eacces' is an OS-level error, nothing in RabbitMQ 
should be generating that error for anything AMQPish.

Is there anything interesting in the logs on the upstream?

Cheers, Simon

On 03/02/2014 2:35PM, J. Daniel Ashton wrote:
> I'm trying to prototype federated message queuing between a Mac host and
> a Fedora 20 image running under VirtualBox. After a certain amount of
> head banging I managed to get the Mac exchanges federated from the
> Fedora exchanges, meaning that messages sent to the Fedora upstream
> broker are received on the Mac (downstream) broker.
>
> However, when trying to go the other way (Fedora sees Mac as upstream),
> I get error messages about "eacces".
>
> |==> rabbit at localhost.log <==
>
> =WARNING REPORT==== 29-Jan-2014::21:18:11 ===
> Federation exchange 'amq.direct' in vhost '/' did not connect to exchange 'amq.direct' in vhost '/' on amqp://172.30.42.19
> {error,eacces}
>
> ==> rabbit at localhost-sasl.log <==
>
> =SUPERVISOR REPORT==== 29-Jan-2014::21:18:11 ===
>   Supervisor: {<0.15681.0>,
>                                         rabbit_federation_link_sup}
>   Context:    child_terminated
>   Reason:     {shutdown,restart}
>   Offender:   [{pid,<0.21716.0>},
>                {name,
>                    {upstream,
>                        [<<"amqp://guest:guest@172.30.42.19">>],
>                        <<"amq.direct">>,<<"amq.direct">>,1000,1,1,36000000,
>                        none,false,'on-confirm',none,<<"mac_host">>}},
>                {mfargs,
>                    {rabbit_federation_exchange_link,start_link,
>                        [{{upstream,
>                              [<<"amqp://guest:guest@172.30.42.19">>],
>                              <<"amq.direct">>,<<"amq.direct">>,1000,1,1,
>                              36000000,none,false,'on-confirm',none,
>                              <<"mac_host">>},
>                          {resource,<<"/">>,exchange,<<"amq.direct">>}}]}},
>                {restart_type,{permanent,1}},
>                {shutdown,4294967295},
>                {child_type,worker}]
> |
>
> My Google-fu is failing me. What may be causing the above error (/e.g./
> SELinux?) and how should I go about fixing it?
>
> BTW, on the theory that it might be the Linux or Mac firewalls, I tried
> opening a browser on the Fedora box and requesting
> |http://172.30.42.19:5672|. I got a (tiny) answer in return, so the
> firewall looks less likely to be the problem.
>
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>

-- 
Simon MacMullen
RabbitMQ, Pivotal


More information about the rabbitmq-discuss mailing list