undef, [{odbc_queries

Error

ejabberd has been compiled, but next error appears when I try to start it:

=ERROR REPORT==== 2006-10-18 19:02:22 ===
E(<0.22026.0>:ejabberd_hooks:172): {undef,
                                       [{odbc_queries,
                                            set_last_t,
                                            ["example.com",
                                             "user",
                                             "1161190942",
                                             []]},
                                        {ejabberd_hooks,run1,3},
                                        {ejabberd_c2s,terminate,3},
                                        {gen_fsm,terminate,7},
                                        {proc_lib,init_p,5}]}

Explanation

A function on the module odbc_queries.beam is not defined, probably because the beam file does not even exist. The reason is probably that you are trying to use an ODBC database with ejabberd, but you forgot to compile the ODBC support.

Solution

Rerun ejabberd's configure and make sure to enable ODBC, with something like this:

./configure --enable-odbc

You must compile and install ejabberd again.

Syndicate content