I put a ?INFO_MSG() log in ejabberd_odbc:sql_query_internal method and then when I sent a message to userB who is offline, the message doesn't go in spool table and I get above mentioned message in the ejabberd.log . Could someone please explain me what does above error message explains.. ? Please help.