Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 261883

Summary: net-im/ejabberd-2.0.2-r1 doesn't work with mysql
Product: Gentoo Linux Reporter: Markus Blaschke <markus.blaschke>
Component: [OLD] ServerAssignee: Gentoo Net-im project <net-im>
Status: RESOLVED WORKSFORME    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Markus Blaschke 2009-03-09 17:23:54 UTC
ejabberd doesn't find mysql-module

tried it with:
* net-im/ejabberd-2.0.2-r1 (mod_irc mod_muc mod_pubsub odbc pam ssl web zlib -debug -ldap)
* dev-lang/erlang-12.2.5-r1 (hipe kpoll odbc sctp ssl -doc -emacs -java -smp -tk)

maybe the mysql-module is missing?
https://support.process-one.net/doc/display/MESSENGER/Using+ejabberd+with+MySQL+native+driver

Reproducible: Always




--- snip ---
=CRASH REPORT==== 9-Mar-2009::13:43:30 ===
  crasher:
    pid: <0.35.0>
    registered_name: []
    exception exit: {bad_return,{{ejabberd_app,start,[normal,[]]},
                                 {'EXIT',database_module_missing}}}
      in function  application_master:init/4
    initial call: application_master:init/4
    ancestors: [<0.34.0>]
    messages: [{'EXIT',<0.36.0>,normal}]
    links: [<0.34.0>,<0.5.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 610
    stack_size: 23
    reductions: 100
  neighbours:
--- snip ---
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-03-11 18:46:12 UTC
I would hazard a guess that MySQL is supported through ODBC, so if you turned this into a request to add a direct MySQL client module, that would degrade the Severity of this bug to an Enhancement.
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2009-03-21 12:31:28 UTC
I agree with jer.  But, it may be able to work otherwise as well.  Can you provide a patch to the ebuild?  I'm happy to integrate it.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2010-07-01 13:39:46 UTC
Markus if you need native mysql support, please, create patch, test it and attach here. I will include modules that our users need and use. Currently odbc works for me.