无法启动任何版本?
所以,我想我应该创建一个真正的版本来运行我的下一个应用程序。不幸的是,似乎有一个交易破坏者。
首先,我尝试使用本指南从头开始制作一个项目:
http://alancastro.org/2010/05/01/erlang-application-management-with-rebar.html
由于一个模糊的错误而失败,所以为了确保,我尝试运行一个我知道的项目很好,etorrent。
当我尝试运行 etorrent 的版本时,我得到了同样的错误:
[me@my-ip etorrent]# rel/etorrent/bin/etorrent console
Exec: /root/etorrent/rel/etorrent/erts-5.8.4/bin/erlexec -boot /root/etorrent/rel/etorrent/releases/1.2.1/etorrent -embedded -config /root/etorrent/rel/etorrent/etc/app.config -args_file /root/etorrent/rel/etorrent/etc/vm.args -- console
Root: /root/etorrent/rel/etorrent
pthread/ethr_event.c:98: Fatal error in wait__(): Function not implemented (38)
Aborted
我搜索了该错误,并且 serps 中充满了对 CentOS 上具有相同问题的 RabbitMQ 的引用。显然,它比具体的 RabbitMQ 问题更普遍。基于此线程:
...根据我自己的经验,在 14 系列 erlang 安装和 CentOS 5 系列上运行版本似乎不起作用。顺便说一句,我昨晚在网站上安装了最新的 erlang,所以这就是我正在使用的。我没有传递任何标志来“配置”,只是使用了股票期权。
有谁知道 erlang 是否有一个编译选项可以解决这个问题?或者还有其他建议吗?是否还有其他人在此环境中成功地使用 rebar 创建的应用程序版本?
So, I thought I'd create a bonafide release to run my next application in. Unfortunately, there seems to be a deal breaker.
First I tried making a project from scratch using this guide:
http://alancastro.org/2010/05/01/erlang-application-management-with-rebar.html
That failed with an obscure error, so just to make sure, I tried to run a project I know is good, etorrent.
When I tried to run etorrent's release, I got the same error:
[me@my-ip etorrent]# rel/etorrent/bin/etorrent console
Exec: /root/etorrent/rel/etorrent/erts-5.8.4/bin/erlexec -boot /root/etorrent/rel/etorrent/releases/1.2.1/etorrent -embedded -config /root/etorrent/rel/etorrent/etc/app.config -args_file /root/etorrent/rel/etorrent/etc/vm.args -- console
Root: /root/etorrent/rel/etorrent
pthread/ethr_event.c:98: Fatal error in wait__(): Function not implemented (38)
Aborted
I searched for that error, and the serps are filled with references to RabbitMQ on CentOS having the same problem. Obviously, it's more general than a RabbitMQ problem specifically. Based on this thread:
RabbitMQ install issue on Centos 5.5
...and my own experience, it seems like running releases on 14 series erlang installations coupled with series 5 CentOS doesn't work. I installed the latest erlang up on the site last night, by the way, so that's what I'm using. I didn't pass any flags to 'configure', just used the stock options.
Does anyone have any idea if there's a compile option for erlang that might fix this? Or any other advice? Is anyone else successfully using rebar created releases for applications in this environment?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您查看对此的评论,这似乎是 CentOS 端需要解决的问题 Centos 5.5 上的 RabbitMQ 安装问题 答案
所以在我看来你需要将你的 CentOS 升级到 5.6
Seems to be a problem that needed to be solved on the CentOS side if you look at this comment to this RabbitMQ install issue on Centos 5.5 answer
So it looks to me that you need to upgrade your CentOS to 5.6