Hello!
I am running here an eJabberd 1.1.1 + MySQL.
But I got a very strange problem!
Everybody, who wants to register with this jabber server, gets "feature-not-implemted"
BUT the User has been created! Its in the MySQL DB and the User can login.
How can I remove this nasty error message?
You can test it: jabber.geode-blackbox.de
This are the Logs, when somebody register and get this error message:
=ERROR REPORT==== 30-Aug-2006::17:01:47 === E(<0.295.0>:ejabberd_hooks:187): {function_clause, [{jlib,string_to_jid1,[67,[]]}, {mod_register, '-send_registration_notifications/1-fun-0-', 3}, {lists,foreach,2}, {mod_register,try_register,3}, {mod_register,process_iq,3}, {mod_register, unauthenticated_iq_register, 3}, {ejabberd_hooks,run_fold1,4}, {ejabberd_c2s, process_unauthenticated_stanza, 2}]} running hook: {c2s_unauthenticated_iq,["jabber.geode-blackbox.de", {iq,"4", set, "jabber:iq:register", [], {xmlelement, "query", [{"xmlns","jabber:iq:register"}], [{xmlelement, "username", [], [{xmlcdata, <<"test123555">>}]}, {xmlelement, "password", [], [{xmlcdata,<<"12345">>}]}, {xmlelement, "instructions", [], [{xmlcdata, <<"Choose a username and password to register with this server">>}]}]}}]}
ejabberd.cfg
% BlackBox - Ejabberd % User ConiKost als Admin {acl, admin, {user, "conikost"}}. % Lokale User {acl, local, {user_regexp, ""}}. % Nur Admins dürfen das Webinterface öffnen {access, configure, [{allow, admin}]}. % Jeder darf sich reggen {access, register, [{allow, all}]}. % Nach dem Reggen keine Wilkommensnachricht zeigen % {welcome_message, none}. % Bei neuer Registrierung automatisch eine E-Mail senden % {registration_watchers, "ConiKost@geode-blackbox.de"}. % Ankündigungen können nur von einem Admin geschickt werden {access, announce, [{allow, admin}]}. % Blockierter User dürfen den Server nicht nutzen {access, c2s, [{deny, blocked}, {allow, all}]}. % Normales Sharper auf 1000B/s begrenzen {shaper, normal, {maxrate, 1000}}. % Schnelles Sharper auf 50000B/s begrenzen {shaper, fast, {maxrate, 50000}}. % Schnelles Sharper für Admins {access, c2s_shaper, [{none, admin}, {normal, all}]}. % Schnelles Sharper für alle {access, s2s_shaper, [{fast, all}]}. % Admins haben komplette Rechte für MUC {access, muc_admin, [{allow, admin}]}. % Alle User dürfen MUC nutzen {access, muc, [{allow, all}]}. % Zugriff für Lokale User {access, local, [{allow, local}]}. % Daten werden in MySQL gespeichert {auth_method, odbc}. {odbc_server, {mysql, "localhost", "Ejabberd", "Ejabberd", "MYPSW"}}. % Host {hosts, ["jabber.geode-blackbox.de"]}. % Deutsche Sprache {language, "de"}. % Ports {listen, [{5222, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper}, {max_stanza_size, 65536}, starttls_required, {certfile, "/etc/jabber/ssl/jabber.geode-blackbox.de.pem"}]}, {5223, ejabberd_c2s, [{access, c2s}, {max_stanza_size, 65536}, tls, {certfile, "/etc/jabber/ssl/jabber.geode-blackbox.de.pem"}]}, {5269, ejabberd_s2s_in, [{shaper, s2s_shaper}, {max_stanza_size, 131072} ]}, {5280, ejabberd_http, [http_poll, web_admin]}, {5342, ejabberd_service, [{access, all}, {hosts, ["aim.geode-blackbox.de"], [{password, "aim"}]}]}, {5343, ejabberd_service, [{access, all}, {hosts, ["gg.geode-blackbox.de"], [{password, "gg"}]}]}, {5344, ejabberd_service, [{access, all}, {hosts, ["icq.geode-blackbox.de"], [{password, "icq"}]}]}, {5345, ejabberd_service, [{access, all}, {hosts, ["irc.geode-blackbox.de"], [{password, "irc"}]}]}, {5346, ejabberd_service, [{access, all}, {hosts, ["msn.geode-blackbox.de"], [{password, "msn"}]}]}, {5347, ejabberd_service, [{access, all}, {hosts, ["yim.geode-blackbox.de"], [{password, "yim"}]}]} ]}. % SSL Support {s2s_use_starttls, true}. {s2s_certfile, "/etc/jabber/ssl/jabber.geode-blackbox.de.pem"}. % Falls Port 8888 versagt, Port 5269 nutzen {outgoing_s2s_port, 5269}. % Module {modules, [ {mod_register, [{access, register}]}, {mod_roster_odbc, []}, {mod_privacy, []}, {mod_adhoc, []}, {mod_configure, []}, % Depends on mod_adhoc {mod_configure2, []}, {mod_disco, []}, {mod_stats, []}, {mod_vcard_odbc, []}, {mod_offline_odbc, []}, {mod_announce, [{access, announce}]}, % Depends on mod_adhoc {mod_echo, [{host, "echo.geode-blackbox.de"}]}, {mod_private, []}, % {mod_irc, []}, {mod_muc, [{access, muc}, {access_create, muc}, {access_admin, muc_admin}]}, {mod_time, []}, {mod_last_odbc, []}, {mod_version, []} ]}.
The problem was found by
The problem was found by Legoscia on the ejabberd chatroom. On ejabberd.cfg, he said:
% Bei neuer Registrierung automatisch eine E-Mail senden
{registration_watchers, "ConiKost@geode-blackbox.de"}.
But the correct syntax would be
He must fix the syntax and restart ejabberd. 'Commenting it out and reloading the configuration won't do, since the config is overwritten, not replaced.'
Jey! Thank you! Its working
Jey!
Thank you!
Its working now :)