[ejabberd] mysql modules failed to load - 'badfile' error

Ricardo Otero dos Santos oterosantos at gmail.com
Fri Apr 23 18:14:08 MSD 2010


Hi all,

For some reason all my mysql modules fail to load. Here's the error log:

-------------------------------------------------------------------------------------------

=ERROR REPORT==== 23-Apr-2010::15:00:26 ===
beam/beam_load.c(1712): Error loading function mysql:asciz_binary/2:
op bs_start_match f r:
  please re-compile this module with an R13B01 compiler


=ERROR REPORT==== 23-Apr-2010::15:00:26 ===
Loading of /usr/lib/ejabberd/ebin/mysql.beam failed: badfile

=ERROR REPORT==== 23-Apr-2010::15:00:26 ===
beam/beam_load.c(1712): Error loading function
mysql_auth:do_new_auth/8: op bs_start_match f x:
  please re-compile this module with an R13B01 compiler


=ERROR REPORT==== 23-Apr-2010::15:00:26 ===
Loading of /usr/lib/ejabberd/ebin/mysql_auth.beam failed: badfile

=ERROR REPORT==== 23-Apr-2010::15:00:26 ===
beam/beam_load.c(1712): Error loading function mysql_conn:do_recv/3:
op m_plus p x i y:
  please re-compile this module with an R13B01 compiler


=ERROR REPORT==== 23-Apr-2010::15:00:26 ===
Loading of /usr/lib/ejabberd/ebin/mysql_conn.beam failed: badfile

=ERROR REPORT==== 23-Apr-2010::15:00:26 ===
beam/beam_load.c(1712): Error loading function
mysql_recv:sendpacket/2: op bs_start_match f x:
  please re-compile this module with an R13B01 compiler


=ERROR REPORT==== 23-Apr-2010::15:00:26 ===
Loading of /usr/lib/ejabberd/ebin/mysql_recv.beam failed: badfile

=ERROR REPORT==== 23-Apr-2010::15:00:26 ===
C(<0.41.0>:ejabberd_check:63) : ejabberd is configured to use 'mysql',
but the following Erlang modules are not installed: '[mysql,

                                                      mysql_auth,

                                                      mysql_conn,

                                                      mysql_recv]'

=INFO REPORT==== 23-Apr-2010::15:00:26 ===
    application: ejabberd
    exited: {bad_return,{{ejabberd_app,start,[normal,[]]},
                         {'EXIT',database_module_missing}}}
    type: temporary
-------------------------------------------------------------------------------------------

I'm new to Erlang, so I don't know what an R13B01 compiler is or how
to do it. :S

Thanks,

-Ricardo


More information about the ejabberd mailing list