[ejabberd] mod_pubsub_odbc error report

Terry Xie kitlycol at gmail.com
Fri Dec 4 06:01:17 MSK 2009


i have the same problem on windows, but not config pubsub host issue
here is my configure:

  {mod_pubsub_odbc,   [ % requires mod_caps
		  {access_createnode, pubsub_createnode},
		  {ignore_pep_from_offline, true},
		  {last_item_cache, false},
		  {plugins, ["flat_odbc", "hometree_odbc", "pep_odbc", "mb_odbc"]},
		  {pep_mapping, [{"urn:xmpp:microblog", "mb_odbc"}]}
		 ]},

On Fri, Dec 4, 2009 at 6:30 AM, Badlop <badlop at gmail.com> wrote:
> 2009/12/2 Mark <mark at mitsein.net>:
>> I'm running ejabberd 2.1.0 on gentoo linux with erlang 12B5
>>
>> =ERROR REPORT==== 2009-12-02 11:46:16 ===
>> E(<0.264.0>:mod_pubsub_odbc:3550) : transaction return internal error:
>> {'EXIT',
>> {noproc,
>> {sys,
>> get_status,
>> ['ejabberd_odbc_sup_jaertetsorceforge.domain.com',
>> 500]}}}
>>
>> ejabberd_odbc_sup_jaertetsorceforge.domain.com confuses me because my domain
>> is actually jabbertest.sourceforge.domain.com so something is getting
>> munged.
>
> I imagine you put something like this in your ejabberd.cfg:
> {hosts, ["jabbertest.sourceforge.domain.com"]}.
> {modules, [
>  {mod_pubsub_odbc, [
>    {host, "jabbertest.sourceforge.domain.com"},
>    ...
>  ]},
>  ...
> ]}.
>
> That config is wrong, because it sets the same JID for the XMPP server
> and the Pubsub service.
>
> Better put this option:
> {hosts, ["jabbertest.sourceforge.domain.com"]}.
> {modules, [
>  {mod_pubsub_odbc, [
>    {host, "pubsub. at HOST@"},
>    ...
>  ]},
>  ...
> ]}.
>
>
>
> ---
> Badlop
> ProcessOne
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>


More information about the ejabberd mailing list