eJabberD TLS 驱动程序错误
我正在尝试让 ejabberd 服务器运行以用作 Android 应用程序中的实时聊天。
我已经使用 32 位二进制文件安装了服务器,并将其配置为可以使用 Web 界面登录。不过,我在与客户端连接时遇到问题。服务器返回的错误是 {open_error,-10},这应该是尝试读取 tls_drv.so 文件时发生的错误。
网上搜索了一下,有人和我有同样的问题,但我似乎找不到具体的解决方案。 这里的这个线程 http://www.ejabberd.im/node/4200 提到了完全相同的问题正如我所拥有的,OP似乎已经使用更新版本的驱动程序修复了它们。但我不知道如何或在哪里获得这些驱动程序。
这里有人可以帮我解决这个问题吗?谢谢。
I'm trying to get an ejabberd server running to use as a real time chat in an android application.
I have installed the server using a 32bit binary and configured it to a point that I can log in using the web interface. I have issues connecting to it with a client though. The error returned by the server is an {open_error,-10}, which is supposed to be an error when trying to read the tls_drv.so file.
Some searches on the web revealed that there are people with the same issue as me but I can't seem to find a concrete solution.
This thread here http://www.ejabberd.im/node/4200 mentions the exact same problems as I'm having and the OP seemed to have fixed them using a newer version of the drivers. I don't know how or where to get those drivers though.
Can anyone here please help me fix this? Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
非常感谢 ldd 命令!它解决了我的问题:-D
事情是这样的:显然 tls_drv.so 正在寻找 libssl.so.0.9.8 和 libcrypto.so.0.9.8,而 ejabberd 包含 0.9.7。我碰巧安装了 libssl.so.0.9.8e 和 libcrypto.so.0.9.8e,tls_drv.so 找不到(因为“e”?)。
我所做的是创建一个指向 0.9.8e 的符号链接,命名为 0.9.8。瞧!成功了!
以下是更多信息:
这是修复之前抱怨的 erlang 日志:
这是修复它的过程:
我重新启动了 ejabberd,就是这样!
我真的希望它对其他人有帮助,因为谷歌搜索让我找到了很多有同样问题的人,但没有一个解决方案。
问候!
马加纳普
Thanks a lot for that ldd command! It solved my issue :-D
Here's the thing: apparently tls_drv.so is looking for libssl.so.0.9.8 and libcrypto.so.0.9.8, and ejabberd includes 0.9.7. I happened to have installed libssl.so.0.9.8e and libcrypto.so.0.9.8e, which tls_drv.so couldn't find (because of the 'e'?).
What I did was creating a symbolic link to 0.9.8e, named 0.9.8. And voilà! It worked!
Here's some more info:
Here's the erlang log complaining before the fix:
Here's the process to fix it:
I restarted ejabberd, and that was it!
I really hope it helps someone else, since googling made me find a lot of people with the same issue, but not a single solution.
Regards!
maganap
最新的安装程序将解决对 ejabberd 的依赖。
感谢您的举报!
Latest installer will solve this dependancy on ejabberd.
Thank you for reporting it !