ejabberd 2.1.10, 3.0.0-alpha-5 and exmpp 0.9.9

ejabberd 2.1.10, 3.0.0-alpha-5 and exmpp 0.9.9 have been released, after several months of development. They contain a few bugfixes.

ejabberd 2.1.10

These are the major bugfixes:

  • Erlang/OTP compatibility
    • Support Erlang/OTP R15B regexp and drivers (EJAB-1521)
    • Fix modules update in R14B04 and higher
    • Fix modules update of stripped beams (EJAB-1520)
  • XMPP Core
    • Fix presence problem in C2S after first unavailable (EJAB-1466)
    • Fix bug on S2S shaper when TLS is used
    • Prevent overload of incoming S2S connections
  • XEPs
    • BOSH: Get rid of useless mnesia transaction (EJAB-1502)
    • MUC: Don't reveal invitee resource when room informs invitor
    • Privacy: Activate "Blocked Contacts" to current c2s connection (EJAB-1519)
    • Privacy: Always allow packets from user's server and bare jid (EJAB-1441)
    • Pubsub: Add hooks for node creation/deletion (EJAB-1470)
    • Shared Rosters: support groupname@vhost in Displayed Groups (EJAB-506)
    • Vcard: Fix error when lowercasing some search results (EJAB-1490)

Check the 2.1.10 Release Notes for the full list of fixes and improvements.

The list of solved tickets since the previous version is available on ProcessOne bug tracker: http://redir.process-one.net/ejabberd-2.1.10

If you upgrade from ejabberd 2.0.7 or older, read carefully the release notes of ejabberd 2.1.0 too, because there were several changes in the installation path and the configuration options.

The source package and binary installers for Linux 32 bits, 64 bits, Mac OS X Intel, and Windows are available in the ejabberd ProcessOne download page.

ejabberd 3.0.0-alpha-5

This alpha release contains all the changes from ejabberd 2.1.x branch, many other ejabberd 3 specific changes, and a few improvements like:

  • Option static_modules fully working
  • Update http_bind to XEP-0124 1.10 and XEP-0206 1.3
  • Replaced the full ejabberd_zlib into a simple exmpp_compress interface

The related tickets can be found on the bug tracker.

Please note that the database schema used in this preliminary release is not yet definitive, and it will probably change in the next alpha and beta releases.

When compiling the source code, it is necessary to install exmpp.

Recommendation: try this alpha release far away from a production server. Try it with an empty database, or with a copy of your existing database. Please report bugs you find, including logged errors if any, in the usual https://support.process-one.net/browse/EJAB or in the ejabberd mailing list.

For more information check the release notes included in the release and in
https://git.process-one.net/ejabberd/mainline/blobs/raw/master/doc/relea...

Source tarball and binary installers for preliminary releases can be downloaded here:
http://download.process-one.net/ejabberd/

exmpp 0.9.9

This release of exmpp contains:

  • Add whitespace ping for client sessions
  • Compatibility with Erlang/OTP R15B
  • Compatibility with OSX Lion
  • Libxml2: Fix parser
  • Libxml2: Use exmpp_strdup() in libxml2 driver
  • Protection against billion laughs attack in legacy expat driver
  • Use Erlang memory allocation functions in XML parsers

exmpp home page:
http://support.process-one.net/doc/display/EXMPP/
or easier to remember: http://exmpp.org/

Download exmpp 0.9.9 source code package from:
http://download.process-one.net/exmpp/

You can also check the ProcessOne Labs page:
http://www.process-one.net/en/labs/

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

R15B Lion 10.7.2 ejabberdctl start PROBLEM

I have followed the instructions of the installation guide in README.
1 - ./configure
2 - make
3 - sudo make install

there is no problem or error of these steps. But after I typed 'ejabberdctl live', it complains error:

=PROGRESS REPORT==== 5-Jan-2012::00:07:25 ===
         application: crypto
          started_at: ejabberd@localhost

=ERROR REPORT==== 5-Jan-2012::00:07:25 ===
C(<0.39.0>:sha:53) : unable to load driver '/usr/lib/ejabberd/priv/lib/sha_drv.so': dlopen(/usr/lib/ejabberd/priv/lib/sha_drv.so, 2): no suitable image found.  Did find:
        /usr/lib/ejabberd/priv/lib/sha_drv.so: mach-o, but wrong architecture

=CRASH REPORT==== 5-Jan-2012::00:07:25 ===
  crasher:
    initial call: stringprep:init/1
    pid: <0.107.0>
    registered_name: []
    exception exit: {{case_clause,{error,{open_error,-11}}},
                     [{stringprep,init,1,[{file,"stringprep.erl"},{line,59}]},
                      {gen_server,init_it,6,
                                  [{file,"gen_server.erl"},{line,297}]},
                      {proc_lib,init_p_do_apply,3,
                                [{file,"proc_lib.erl"},{line,227}]}]}
      in function  gen_server:init_it/6 (gen_server.erl, line 321)
    ancestors: [stringprep_sup,<0.39.0>]
    messages: []
    links: [<0.106.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 610
    stack_size: 24
    reductions: 134
  neighbours:

Seems like the release notes

Seems like the release notes for exmpp are from 0.9.8, not from 0.9.9.
Main features of 0.9.9 are:

  • OSX Lion compatibility
  • R15B compatibility
  • libxml2 parser fixes

R15B Lion 10.7.2 ejabberdctl start PROBLEM

I have followed the instructions of the installation guide in README.
1 - ./configure
2 - make
3 - sudo make install

there is no problem or error of these steps. But after I typed 'ejabberdctl live', it complains error:

=PROGRESS REPORT==== 5-Jan-2012::00:07:25 ===
         application: crypto
          started_at: ejabberd@localhost

=ERROR REPORT==== 5-Jan-2012::00:07:25 ===
C(<0.39.0>:sha:53) : unable to load driver '/usr/lib/ejabberd/priv/lib/sha_drv.so': dlopen(/usr/lib/ejabberd/priv/lib/sha_drv.so, 2): no suitable image found.  Did find:
        /usr/lib/ejabberd/priv/lib/sha_drv.so: mach-o, but wrong architecture

=CRASH REPORT==== 5-Jan-2012::00:07:25 ===
  crasher:
    initial call: stringprep:init/1
    pid: <0.107.0>
    registered_name: []
    exception exit: {{case_clause,{error,{open_error,-11}}},
                     [{stringprep,init,1,[{file,"stringprep.erl"},{line,59}]},
                      {gen_server,init_it,6,
                                  [{file,"gen_server.erl"},{line,297}]},
                      {proc_lib,init_p_do_apply,3,
                                [{file,"proc_lib.erl"},{line,227}]}]}
      in function  gen_server:init_it/6 (gen_server.erl, line 321)
    ancestors: [stringprep_sup,<0.39.0>]
    messages: []
    links: [<0.106.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 610
    stack_size: 24
    reductions: 134
  neighbours:

Fixed

Oops, right. Fixed now.

Can not load stringprep_port ?

I have the same problem both on mac lion and ubuntu

The versions I have tries are 2.1.9、 2.1.11 and v3.0.0-alpha-5

=INFO REPORT==== 2013-01-05 09:35:58 ===
    application: ejabberd
    exited: {bad_return,
                {{ejabberd_app,start,[normal,[]]},
                 {'EXIT',
                     {badarg,
                         [{erlang,port_control,
                              [stringprep_port,2,"localhost"]},
                          {stringprep,control,2},
                          {jlib,nodeprep,1},
                          {ejabberd_config,normalize_hosts,2},
                          {ejabberd_config,add_hosts_to_option,2},
                          {lists,foldl,3},
                          {ejabberd_config,load_file,1},
                          {ejabberd_config,start,0}]}}}}
    type: temporary
Syndicate content