Hi,
I get the following error message in ejabberd.log when starting it:
"In host "example.com" extauth is used, extauth_cache is enabled but mod_last is not enabled."
Ejabberd ver. "2.1.5-3+squeeze1" (Debian).
My config is as follows:
$ cat ejabberd.cfg |erl
Eshell V5.8 (abort with ^G)
1> {acl,admin,{user,"foobar","example.com"}}
2> {acl,admin,{user,"foobar2","example.com"}}
3> {hosts,["example.com"]}
4> {loglevel,4}
5> {listen,[{5222,ejabberd_c2s,
[{access,c2s},
{shaper,c2s_shaper},
{max_stanza_size,65536},
starttls,
{certfile,"/etc/ejabberd/ejabberd.pem"}]},
{5280,ejabberd_http,[http_bind,http_poll,web_admin]}]}
6> {max_fsm_queue,1000}
7> {s2s_use_starttls,true}
8> {s2s_certfile,"/etc/ejabberd/ejabberd.pem"}
9> {s2s_default_policy,deny}
10> {auth_method,external}
11> {extauth_program,"/usr/local/ejabberd/JabberAuth.php"}
12> {extauth_instances,5}
13> {extauth_cache,600}
14> {shaper,normal,{maxrate,1000}}
15> {shaper,fast,{maxrate,50000}}
16> {acl,local,{user_regexp,[]}}
17> {access,max_user_sessions,[{1,all}]}
18> {access,max_user_offline_messages,[{5000,admin},{0,all}]}
19> {access,local,[{allow,local}]}
20> {access,c2s,[{deny,blocked},{allow,all}]}
21> {access,c2s_shaper,[{none,admin},{normal,all}]}
22> {access,s2s_shaper,[{fast,all}]}
23> {access,announce,[{allow,admin}]}
24> {access,configure,[{allow,admin}]}
25> {access,muc_admin,[{allow,admin}]}
26> {access,muc,[{allow,all}]}
27> {access,register,[{deny,all}]}
28> {access,pubsub_createnode,[{deny,all}]}
29> {language,"en"}
30> {modules,
[{mod_adhoc,[]},
{mod_announce,[{access,announce}]},
{mod_caps,[]},
{mod_configure,[]},
{mod_admin_extra,[]},
{mod_disco,[]},
{mod_last,[{iqdisc,{queues,2}}]},
{mod_muc,
[{host,"conference.@HOST@"},
{access,muc},
{access_create,muc_admin},
{access_persistent,muc_admin},
{access_admin,muc_admin},
{max_users,1000},
{history_size,25},
{min_message_interval,0.4},
{min_presence_interval,4},
{default_room_options,
[{allow_change_subj,false},
{allow_private_messages,true},
{allow_visitor_nickchange,false},
{logging,...},
{...}|...]}]},
{mod_muc_log,[{outdir,"/var/www/muclogs"}]},
{mod_privacy,[]},
{mod_private,[]},
{mod_roster,[]},
{mod_stats,[]},
{mod_http_bind,[]}]}
31> *** Terminating erlang (nonode@nohost)
So mod_last would be enabled actually..
Does anyone know why this happens?
Thanks,
Michael
This bug was fixed in
This bug was fixed in ejabberd 2.1.6https://support.process-one.net/browse/EJAB-641
See my last comment in
Hi, hm. Thanks. Maybe I'll
Hi,
hm. Thanks. Maybe I'll have to upgrade my debian version because I'm using it from there.
Cheers,
Michael
I'm having this error too, 4
I'm having this error too, 4 years later in ejabberd 15.07 and in FreeBSD.
I have the error and I have mod_last enabled.
Is this a regression?
Exactly! Thanks for
Exactly! Thanks for reporting, I've fixed in
https://github.com/processone/ejabberd/commit/ee456cc2afaa223f5086c54a17...
Hi guys, I'm having this
Hi guys,
I'm having this exactly same error, can't find out why.
I'm using an external authentication script with the newest 16.02 ejabberd. I updated to see if the error goes away, but continue and was happening with 16.01 too.
2016-03-01 00:44:51.684 [error] <0.366.0>@ejabberd_auth_external:check_password_cache:200 extauth is used, extauth_cache is enabled but mod_last is not enabled in that host
I have the mod_last enabled to all virtual hosts, like a default configuration (actually I have just 1 vhost). I also tried to define a mod_last configuration specific for the vhost, but without success too.
I'm using this way:
mod_last:
iqdisc: one_queue
Any help?
Thanks!