Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6551767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:22:43+00:00 2026-05-25T12:22:43+00:00

I’m trying to get an ejabberd server running to use as a real time

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T12:22:44+00:00Added an answer on May 25, 2026 at 12:22 pm

    Thanks a lot for that ldd command! It solved my issue 😀

    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:

    • Centos 5.5, 32 bit
    • ejabberd 2.1.8
    • I downloaded the binary installer directly from http://www.process-one.net (www.ejabberd.im)
    • I still have the default configuration, except for the hostname and the admin user, which are required by the installer.
    • The connection from a jabber client seems to work fine without TLS. The problem came when I configured my client to encrypt connection when available.

    Here’s the erlang log complaining before the fix:

    =CRASH REPORT==== 12-Sep-2011::22:48:56 ===
      crasher:
        pid: <0.372.0>
        registered_name: []
        exception exit: {{case_clause,{error,{open_error,-10}}},
                         [{tls,tcp_to_tls,2},
                          {ejabberd_socket,starttls,3},
                          {ejabberd_c2s,wait_for_feature_request,2},
                          {p1_fsm,handle_msg,10},
                          {proc_lib,init_p,5}]}
          in function  p1_fsm:terminate/7
        initial call: gen:init_it(p1_fsm,<0.258.0>,<0.258.0>,ejabberd_c2s,
                                  [{ejabberd_socket,
                                       {socket_state,gen_tcp,#Port<0.406>,
                                           <0.371.0>}},
                                   [inet,
                                    {certfile,
                                        "/opt/ejabberd-2.1.8/conf/server.pem"},
                                    starttls,
                                    {access,c2s},
                                    {shaper,c2s_shaper},
                                    {max_stanza_size,65536},
                                    {ip,{0,0,0,0}}]],
                                  [])
        ancestors: [ejabberd_c2s_sup,ejabberd_sup,<0.36.0>]
        messages: []
        links: [<0.258.0>]
        dictionary: [{'$internal_queue_len',0}]
        trap_exit: false
        status: running
        heap_size: 987
        stack_size: 23
        reductions: 3258
      neighbours:
    
    =SUPERVISOR REPORT==== 12-Sep-2011::22:48:56 ===
         Supervisor: {local,ejabberd_c2s_sup}
         Context:    child_terminated
         Reason:     {{case_clause,{error,{open_error,-10}}},
                      [{tls,tcp_to_tls,2},
                       {ejabberd_socket,starttls,3},
                       {ejabberd_c2s,wait_for_feature_request,2},
                       {p1_fsm,handle_msg,10},
                       {proc_lib,init_p,5}]}
         Offender:   [{pid,<0.372.0>},
                      {name,undefined},
                      {mfa,
                          {ejabberd_c2s,start_link,
                              [{ejabberd_socket,
                                   {socket_state,gen_tcp,#Port<0.406>,<0.371.0>}},
                               [inet,
                                {certfile,"/opt/ejabberd-2.1.8/conf/server.pem"},
                                starttls,
                                {access,c2s},
                                {shaper,c2s_shaper},
                                {max_stanza_size,65536},
                                {ip,{0,0,0,0}}]]}},
                      {restart_type,temporary},
                      {shutdown,brutal_kill},
                      {child_type,worker}]
    

    Here’s the process to fix it:

    root@mail [/opt/ejabberd-2.1.8]# find . -name tls_drv.so
    ./lib/ejabberd-2.1.8/priv/linux-x86/lib/tls_drv.so
    root@mail [/opt/ejabberd-2.1.8]# cd lib/ejabberd-2.1.8/priv/linux-x86/lib/
    root@mail [/opt/ejabberd-2.1.8/lib/ejabberd-2.1.8/priv/linux-x86/lib]# ldd tls_drv.so 
    linux-gate.so.1 =>  (0x00f9c000)
    libssl.so.0.9.8 => not found
    libcrypto.so.0.9.8 => not found
    libc.so.6 => /lib/libc.so.6 (0x00d9c000)
    /lib/ld-linux.so.2 (0x00943000)
    root@mail [/lib]# cd /lib
    root@mail [/lib]# ll libcrypto.so.* libssl.so.*
    -rwxr-xr-x 1 root root 1296964 Mar  6  2011 libcrypto.so.0.9.8e*
    lrwxrwxrwx 1 root root      14 Nov 24  2009 libcrypto.so.4 -> libcrypto.so.6*
    lrwxrwxrwx 1 root root      19 Apr 26 11:06 libcrypto.so.6 -> libcrypto.so.0.9.8e*
    -rwxr-xr-x 1 root root  293044 Mar  6  2011 libssl.so.0.9.8e*
    lrwxrwxrwx 1 root root      11 Nov 24  2009 libssl.so.4 -> libssl.so.6*
    lrwxrwxrwx 1 root root      16 Apr 26 11:06 libssl.so.6 -> libssl.so.0.9.8e*
    root@mail [/lib]# ln -s libcrypto.so.0.9.8e libcrypto.so.0.9.8
    root@mail [/lib]# ln -s libssl.so.0.9.8e libssl.so.0.9.8
    root@mail [/lib]# cd -
    /opt/ejabberd-2.1.8/lib/ejabberd-2.1.8/priv/linux-x86/lib
    root@mail [/opt/ejabberd-2.1.8/lib/ejabberd-2.1.8/priv/linux-x86/lib]# ldd tls_drv.so 
    ./tls_drv.so: /lib/libcrypto.so.0.9.8: no version information available (required by ./tls_drv.so)
    ./tls_drv.so: /lib/libssl.so.0.9.8: no version information available (required by ./tls_drv.so)
    linux-gate.so.1 =>  (0x0088c000)
    libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00110000)
    libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x00ebf000)
    libc.so.6 => /lib/libc.so.6 (0x00252000)
    libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x008ef000)
    libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00ae0000)
    libcom_err.so.2 => /lib/libcom_err.so.2 (0x0077c000)
    libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00527000)
    libresolv.so.2 => /lib/libresolv.so.2 (0x00158000)
    libdl.so.2 => /lib/libdl.so.2 (0x0016c000)
    libz.so.1 => /usr/lib/libz.so.1 (0x00a67000)
    /lib/ld-linux.so.2 (0x00943000)
    libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00df3000)
    libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00e2a000)
    libselinux.so.1 => /lib/libselinux.so.1 (0x008cc000)
    libsepol.so.1 => /lib/libsepol.so.1 (0x00171000)
    root@mail [/opt/ejabberd-2.1.8/lib/ejabberd-2.1.8/priv/linux-x86/lib]#
    

    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

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have a French site that I want to parse, but am running into
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
I have thousands of HTML files to process using Groovy/Java and I need to
I am trying to loop through a bunch of documents I have to put
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.