ejabberd icon indicating copy to clipboard operation
ejabberd copied to clipboard

Ejabberd with riak db

Open singhalavi opened this issue 11 years ago • 8 comments

I am getting below exception while trying to use riak db with mod_muc

[critical] <0.38.0>@ejabberd:exit_or_halt:123 failed to start application 'riakc': {error, {"no such file or directory", "riakc.app"}

i added db_type: riak in ejabberd.yml file

I am using ejabberd community edition installed from binaries ejabberd version 14.12 riak version 2.0.5

Please help ?

singhalavi avatar Mar 01 '15 10:03 singhalavi

Do you have any riak related BEAM files in ebin directory? For example, riakc_obj.beam.

zinid avatar Mar 01 '15 10:03 zinid

Thanks for quick response

riakc_obj.beam file is not there only these three riak beam files are present in ejabberd-14.12/lib/ejabberd-14.12/ebin directory

ls | grep riak ejabberd_auth_riak.beam ejabberd_riak.beam ejabberd_riak_sup.beam

singhalavi avatar Mar 01 '15 15:03 singhalavi

It means you are missing the riak client library. Did you build ejabberd yourself ? Did you make sure you enabled Riak in the build ?

mremond avatar Mar 02 '15 18:03 mremond

@mremond he installed it from binary installer, I think the installer lacks Riak support. I reassign to @cromain

zinid avatar Mar 02 '15 18:03 zinid

@singhalavi At the moment, you need to build ejabberd from source to enable Riak client support. However, we plan to package Riak client library in installer for next release. Thanks for your feedback !

mremond avatar Mar 02 '15 20:03 mremond

riak support (with client library) is now enabled by default in our installer, i'll close this ticket when next installer will be released.

cromain avatar Mar 03 '15 14:03 cromain

riak included in installer since 15.03

cromain avatar Apr 22 '15 07:04 cromain

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jun 12 '19 13:06 lock[bot]