| Author |
Message |
< Ejabberd mailing list ~ mysql modules failed to load - 'badfile' error |
| Guest |
Posted: Fri Apr 23, 2010 2:14 pm |
|
|
|
Guest
|
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
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Fri Apr 23, 2010 2:35 pm |
|
|
|
Guest
|
On Fri, 23 Apr 2010 15:14:08 +0100
Ricardo Otero dos Santos <oterosantos@gmail.com> wrote:
> 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
[..]
> I'm new to Erlang, so I don't know what an R13B01 compiler is or how
> to do it. :S
"Some reason" most probably was an upgrade of your Linux (or whatever)
distribution which upgraded Erlang and ejabberd (at the same time),
while your MySQL module was compiled by hand using an older Erlang
compiler; since compiled Erlang modules are not genreally upward- or
downward-compatible, you have to recompile them.
To compile your modules just do what you did for the first time and
replace the old compiled modules with their new versions.
You seem to be after [1] and its INSTALL file in particular.
1. https://svn.process-one.net/ejabberd-modules/mysql/trunk/
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Fri Apr 23, 2010 2:49 pm |
|
|
|
Guest
|
Hi and thanks for your reply.
I didn't do anything more than apt-get for the first time, so I'm not
experienced with compiling Erlang code.
I've checked out the modules and INSTALL tells me to just type
./build.sh, but here's the result:
rsantos@c3s:~/mysql_module$ ./build.sh
{"init terminating in
do_boot",{undef,[{make,all,[]},{init,start_it,1},{init,start_em,1}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
I thought it might be the lack of erlang-dev package, but after
instalation of erlang-dev I still have the same problem.
On Fri, Apr 23, 2010 at 3:34 PM, Konstantin Khomoutov
<flatworm@users.sourceforge.net> wrote:
> On Fri, 23 Apr 2010 15:14:08 +0100
> Ricardo Otero dos Santos <oterosantos@gmail.com> wrote:
>
>> 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:
>> |
|
|
| Back to top |
|
| Guest |
Posted: Fri Apr 23, 2010 3:08 pm |
|
|
|
Guest
|
Hi!
I finally did it. Some more packages were needed to compile the modules.
Now I have some issues with passwords being saved on mysql as plain
text! Can I avoid this?
Thanks,
-Ricardo
On Fri, Apr 23, 2010 at 3:49 PM, Ricardo Otero dos Santos
<oterosantos@gmail.com> wrote:
> Hi and thanks for your reply.
>
> I didn't do anything more than apt-get for the first time, so I'm not
> experienced with compiling Erlang code.
>
> I've checked out the modules and INSTALL tells me to just type
> ./build.sh, but here's the result:
>
> rsantos@c3s:~/mysql_module$ ./build.sh
> {"init terminating in
> do_boot",{undef,[{make,all,[]},{init,start_it,1},{init,start_em,1}]}}
>
> Crash dump was written to: erl_crash.dump
> init terminating in do_boot ()
>
> I thought it might be the lack of erlang-dev package, but after
> instalation of erlang-dev I still have the same problem.
>
> On Fri, Apr 23, 2010 at 3:34 PM, Konstantin Khomoutov
> <flatworm@users.sourceforge.net> wrote:
>> On Fri, 23 Apr 2010 15:14:08 +0100
>> Ricardo Otero dos Santos <oterosantos@gmail.com> wrote:
>>
>>> 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:
>>> |
|
|
| Back to top |
|
| Guest |
Posted: Fri Apr 23, 2010 3:26 pm |
|
|
|
Guest
|
On Fri, 23 Apr 2010 16:07:26 +0100
Ricardo Otero dos Santos <oterosantos@gmail.com> wrote:
> Hi!
>
> I finally did it. Some more packages were needed to compile the
> modules.
That's strange. I have just compiled these modules myself (on Debian)
and the results are at [1].
As can be seen, only two minimal Erlang packages were needed.
> Now I have some issues with passwords being saved on mysql as plain
> text! Can I avoid this?
You can't, see [2] and study the discussions it refers to.
1. http://pastebin.com/LSKdBUEA
2. http://www.ejabberd.im/plaintext-passwords-db
P.S.
Please refrain from top-posting.
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist |
|
|
| Back to top |
|
| wuji |
Posted: Wed Aug 29, 2012 7:00 am |
|
|
|
User
Joined: 10 Aug 2012
Posts: 654
|
of conviction in relation to one or more offenses," said said replica designer *beep* said Crown Prosecutor Alison Levitt at a news conference this
those charged are Andy Coulson, former aide to Britain's prime prime cheap authentic jordans prime minister and ex-editor of the New of the World
Rebekah Brooks, Murdoch's trusted head of British operations.The story exploded exploded [h1]cheap polo ralph lauren[/h1] exploded here in Britain last year when it was revealed
the News of the World had hacked the phone of of cheap designer *beep* of missing schoolgirl Milly Dowler and reported on the desperate
left by her parents. When her family noticed that voicemails voicemails [h3]cheap Ralph Lauren[/h3] voicemails were being deleted from her phone, they were convinced
was alive.In fact she had been murdered and the messages messages cheap real jordans messages had been deleted by the tabloid to make room
new messages.That revelation revolted the entire country and sparked what what replica designer *beep* what has been the decline of Murdoch's global media empire. |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|