2014-01-30 26 views
1

我試圖在運行在VirtualBox下的Mac主機和Fedora 20映像之間建立聯合消息隊列原型。在一定程度的頭撞之後,我設法從Fedora交換機獲得了聯盟的Mac交換機,這意味着發送到Fedora上游經紀商的消息在Mac經紀商處收到。嘗試設置聯盟時RabbitMQ中的eacces錯誤

但是,當嘗試以其他方式(Fedora將Mac視爲上游)時,我收到有關「eacces」的錯誤消息。

==> [email protected] <== 

=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} 

==> [email protected] <== 

=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:[email protected]">>], 
         <<"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:[email protected]">>], 
          <<"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}] 

我的Google-fu讓我失望。什麼可能導致上述錯誤,我應該如何解決它?

順便說一句,它可能是Linux或Mac防火牆的理論,我試着在Fedora盒子上打開瀏覽器並請求http://172.30.42.19:5672。我得到了一個(微小的)答案,所以防火牆看起來不太可能成爲問題。

回答

1

這可能與SELinux設置有關。當我禁用SELinux時,這個錯誤消失了,RabbitMQ開始按預期工作。

下面的命令可以用於在Fedora 20禁用SELinux:sudo setenforce 0

+0

此錯誤https://bugzilla.redhat.com/show_bug.cgi?id=998682可能與這個問題。 – Rajish

相關問題