【问题标题】:Rabbitmq 2.2 not working on Snow Leopard (SSL errors)Rabbitmq 2.2 不适用于 Snow Leopard(SSL 错误)
【发布时间】:2011-06-05 12:51:30
【问题描述】:

当我启动 rabbitmq 时,我看到以下消息:

Activating RabbitMQ plugins ...
*WARNING* Undefined function crypto:des3_cbc_decrypt/5  
*WARNING* Undefined function crypto:start/0  
*WARNING* Undefined function ssl:close/1  
*WARNING* Undefined function ssl:controlling_process/2  
*WARNING* Undefined function ssl:peercert/1  
*WARNING* Undefined function ssl:peername/1  
*WARNING* Undefined function ssl:recv/3  
*WARNING* Undefined function ssl:send/2  
*WARNING* Undefined function ssl:sockname/1  
*WARNING* Undefined function ssl:ssl_accept/3    
0 plugins activated:

我按照 here 的建议安装了 openssl 并使用 --with-ssl 路径集重新编译 erlang。

当我重新编译erlang时,我使用了以下.configure:

./configure \  
    --prefix=/usr/local/erlang/R13B04 \  
    --enable-smp-support \  
    --enable-threads \  
    --enable-darwin-64bit \  
    --with-ssl=/usr/include/openssl 

它编译得很好。然后,以防万一,我从 macports 重新安装了 rabbit。我仍然得到错误。我是否为--with-ssl 使用了错误的路径?

【问题讨论】:

    标签: erlang openssl osx-snow-leopard rabbitmq


    【解决方案1】:

    这也发生在我身上。我发现的所有指南和教程都使用的是 rabbitmq-server 1.7.2,所以我使用@https://trac.macports.org/wiki/howto/InstallingOlderPort描述的 SVN 方法降级到了这个。

    现在工作得很好。

    【讨论】:

      【解决方案2】:

      这很可能是因为您的 erlang 版本(MacPorts 会在安装 RabbitMQ 时自动安装,因为它依赖于它)不包含必要的 SSL 依赖项。要解决此问题,请运行:

      sudo port sync
      sudo port install erlang +ssl
      

      +ssl 是关键。如果您在 erlang w/ssl 安装过程中遇到任何问题,请修复问题然后再次运行命令(我必须在安装过程中强制激活 perl5,要运行的命令会在构建退出之前显示在终端中)。

      一旦你这样做了,你就不应该再收到警告了。

      这里有一些reference information

      【讨论】:

        猜你喜欢
        • 2011-11-13
        • 1970-01-01
        • 1970-01-01
        • 2011-05-05
        • 1970-01-01
        • 1970-01-01
        • 2010-11-24
        • 2012-03-07
        • 2012-05-20
        相关资源
        最近更新 更多