[ejabberd] mod_statsdx

Bryan Barnes Bryan.Barnes at verety.com
Mon May 15 17:38:27 MSD 2006


That fixed it.  Thank you for all the help!

Bryan

-----Original Message-----
From: ejabberd-bounces at jabber.ru [mailto:ejabberd-bounces at jabber.ru] On
Behalf Of Badlop
Sent: Friday, May 12, 2006 4:08 PM
To: ejabberd at jabber.ru
Subject: Re: [ejabberd] mod_statsdx

2006/5/12, Bryan Barnes <Bryan.Barnes at verety.com>:
> When the file attempts to write I get this error:
>
> =ERROR REPORT==== 2006-05-12 15:02:31 ===
> Error in process <0.305.0> on node 'ejabberd at farjabber01' with exit
> value:
>
{{badmatch,{aborted,{{badmatch,{{1147,463884,356558},<0.309.0>}},[{mod_s
>
tatsdx,'-get_authusers/1-fun-0-',2},{lists,foldl,3},{mnesia,do_foldl,8},
>
{mnesia,foldl,6},{mnesia_tm,apply_fun,3},{mnesia_tm,execute_transaction,
> 5},{mod_statsdx,get_authusers,...

Ah, the structure of 'sessions' table changed slightly on ejabberd
1.1.x. It's simple to fix, just edit mod_statsdx.erl and replace the
only occurrence of:
  -record(session, {usr, us, pid}).
with:
  -record(session, {sid, usr, us, priority}).

--
_______________________________________________
ejabberd mailing list
ejabberd at jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd


More information about the ejabberd mailing list