ejabberd 2.1.10 + blocking = internal-server-error

Hi,

Blocking users doesn't work with ejabberd 2.1.10 :/

I have following config in my ejabberd.cfg:

...
{mod_blocking, []},
{mod_privacy_odbc, []},
...

I would say ODBC (mysql) works fine - I can see data in some tables (in rostergroups or pubsub_state for example)
tables privacy_default_list, privacy_list, privacy_list_data on other hand are empty

When I try to block user (Pidgin 2.10.1) I see this:

ejabberd log:

Received XML on stream = "<iq type='set' id='purple88a19368'><block xmlns='urn:xmpp:blocking'><item jid='bad@user.com'/></block></iq>"

Send XML on stream = <<"<iq from='me@domain.com' to='me@domain.com/AMC' id='purple88a19368' type='error'><block xmlns='urn:xmpp:blocking'><item jid='bad@user.com'/>
</block><error code='500' type='wait'><internal-server-error xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>">>

Received XML on stream = ... <iq type='get' id='purple88a19364'><blocklist xmlns='urn:xmpp:blocking'/></iq> ...
Send XML on stream = <<"<iq from='me@domain.com' to='me@domain.com/AMC' id='purple88a19364' type='error'><blocklist xmlns='urn:xmpp:blocking'/><error code='500' type='wait'><internal-server-error xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>">

Pidgin:

(20:07:25) jabber: Sending (ssl) (me@domain.com/AMC): <iq type='set' id='purple88a19382'><block xmlns='urn:xmpp:blocking'><item jid='bad@user.com'/></block></iq>
(20:07:25) jabber: Recv (ssl)(273): <iq from='me@domain.com' to='me@domain.com/AMC' id='purple88a19382' type='error'><block xmlns='urn:xmpp:blocking'><item jid='bad@user.com'/></block><error code='500' type='wait'><internal-server-error xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
(20:07:25) jabber: Sending (ssl) (me@domain.com/AMC): <iq type='result' id='purple88a19382'/>
(20:07:28) jabber: Sending (ssl) (me@domain.com/AMC): <iq type='set' id='purple88a19383'><unblock xmlns='urn:xmpp:blocking'><item jid='bad@user.com'/></unblock></iq>
(20:07:28) jabber: Recv (ssl)(277): <iq from='me@domain.com' to='me@domain.com/AMC' id='purple88a19383' type='error'><unblock xmlns='urn:xmpp:blocking'><item jid='bad@user.com'/></unblock><error code='500' type='wait'><internal-server-error xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
(20:07:28) jabber: Sending (ssl) (me@domain.com/AMC): <iq type='result' id='purple88a19383'/>

Any idea what is wrong ? Thank you in advance.

Regards,
Michal

Seems it was filesystem

Seems it was filesystem problem - mnesia DB got corrupted - I deleted files in /var/lib/ejabberd (Debian) and after re-creation of mnesia files this error has gone away.

Syndicate content