[ejabberd] Need fast help: Production server doesn't start anymore after update

Jonathan Schleifer js-ejabberd at webkeks.org
Thu Feb 18 21:42:39 MSK 2010


After upgrading ejabberd, I am flooded with errors:

=ERROR REPORT==== 2010-02-18 19:37:44 ===
E(<0.36.0>:gen_mod:46): {noproc,
                             {gen_server,call,
                                 [ejabberd_iq_sup,
                                  {start_child,
                                       
["webkeks.org",mod_register,process_iq]},
                                  infinity]}}

=ERROR REPORT==== 2010-02-18 19:37:44 ===
E(<0.36.0>:gen_mod:46): {noproc,
                             {gen_server,call,
                                 [ejabberd_hooks,
                                  {add,roster_get,"webkeks.org",
                                      mod_roster_odbc,get_user_roster, 
50}]}}

=ERROR REPORT==== 2010-02-18 19:37:44 ===
E(<0.36.0>:gen_mod:46): {undef,[{mod_privacy_odbc,start,["webkeks.org", 
[]]},
                                 {gen_mod,start_module,3},
                                 {lists,foreach,2},
                                 {ejabberd_app,start,2},
                                 {application_master,start_it_old,4}]}

=ERROR REPORT==== 2010-02-18 19:37:44 ===
E(<0.36.0>:gen_mod:46): {undef,[{mod_adhoc,start,["webkeks.org",[]]},
                                 {gen_mod,start_module,3},
                                 {lists,foreach,2},
                                 {ejabberd_app,start,2},
                                 {application_master,start_it_old,4}]}

=ERROR REPORT==== 2010-02-18 19:37:44 ===
E(<0.36.0>:gen_mod:46): {noproc,
                             {gen_server,call,
                                 [ejabberd_iq_sup,
                                  {start_child,
                                      ["webkeks.org",mod_configure,
                                       process_local_iq]},
                                  infinity]}}

=ERROR REPORT==== 2010-02-18 19:37:44 ===
E(<0.36.0>:gen_mod:46): {noproc,
                             {gen_server,call,
                                 [ejabberd_iq_sup,
                                  {start_child,
                                      ["webkeks.org",mod_configure2,
                                       process_local_iq]},
                                  infinity]}}

=ERROR REPORT==== 2010-02-18 19:37:44 ===
E(<0.36.0>:gen_mod:46): {badarg,[{ejabberd_local,refresh_iq_handlers,0},
                                  {mod_disco,start,2},
                                  {gen_mod,start_module,3},
                                  {lists,foreach,2},
                                  {ejabberd_app,start,2},
                                  {application_master,start_it_old,4}]}

=ERROR REPORT==== 2010-02-18 19:37:44 ===
E(<0.36.0>:gen_mod:46): {noproc,
                             {gen_server,call,
                                 [ejabberd_iq_sup,
                                  {start_child,
                                      ["webkeks.org",mod_stats,
                                       process_local_iq]},
                                  infinity]}}

=ERROR REPORT==== 2010-02-18 19:37:44 ===
E(<0.36.0>:gen_mod:46): {noproc,
                             {gen_server,call,
                                 [ejabberd_hooks,
                                   
{add,remove_user,"webkeks.org",mod_vcard,
                                      remove_user,50}]}}

=ERROR REPORT==== 2010-02-18 19:37:44 ===
E(<0.36.0>:gen_mod:46): {noproc,
                             {gen_server,call,
                                 [ejabberd_hooks,
                                   
{add,offline_message_hook,"webkeks.org",
                                      mod_offline_odbc,store_packet, 
50}]}}

=ERROR REPORT==== 2010-02-18 19:37:44 ===
E(<0.36.0>:gen_mod:46): {noproc,
                             {gen_server,call,
                                 [ejabberd_hooks,
                                  {add,local_send_to_resource_hook,
                                       
"webkeks.org",mod_announce,announce,
                                      50}]}}

=ERROR REPORT==== 2010-02-18 19:37:44 ===
E(<0.36.0>:gen_mod:46): {undef,[{mod_caps,start,["webkeks.org",[]]},
                                 {gen_mod,start_module,3},
                                 {lists,foreach,2},
                                 {ejabberd_app,start,2},
                                 {application_master,start_it_old,4}]}

=ERROR REPORT==== 2010-02-18 19:37:44 ===
E(<0.36.0>:gen_mod:46): {noproc,
                             {gen_server,call,
                                 [ejabberd_hooks,
                                   
{add,remove_user,"webkeks.org",mod_private,
                                      remove_user,50}]}}

=ERROR REPORT==== 2010-02-18 19:37:44 ===
Error in process <0.290.0> on node 'ejabberd at webkeks' with exit value:  
{badarg,[{erlang,port_control,[stringprep_port,1,"muc.webkeks.org"]}, 
{stringprep,control,2},{jlib,nameprep,1}, 
{ejabberd_router,register_route,1},{mod_muc,init,3}]}


=ERROR REPORT==== 2010-02-18 19:37:44 ===
E(<0.36.0>:gen_mod:46): {undef,
                             [{mod_muc_log,start,
                                  ["webkeks.org",
                                   [{outdir,
                                        "/var/chroot/lighttpd/htdocs/ 
jabber/logs"},
                                    {top_link,
                                        {"https://webkeks.org/jabber/",
                                         "WebKeks.org"}}]]},
                              {gen_mod,start_module,3},
                              {lists,foreach,2},
                              {ejabberd_app,start,2},
                              {application_master,start_it_old,4}]}

=ERROR REPORT==== 2010-02-18 19:37:44 ===
E(<0.36.0>:gen_mod:46): {noproc,
                             {gen_server,call,
                                 [ejabberd_iq_sup,
                                  {start_child,
                                      ["webkeks.org",mod_time,
                                       process_local_iq]},
                                  infinity]}}

=ERROR REPORT==== 2010-02-18 19:37:44 ===
E(<0.36.0>:gen_mod:46): {noproc,
                             {gen_server,call,
                                 [ejabberd_iq_sup,
                                  {start_child,
                                      ["webkeks.org",mod_last_odbc,
                                       process_local_iq]},
                                  infinity]}}

=ERROR REPORT==== 2010-02-18 19:37:44 ===
E(<0.36.0>:gen_mod:46): {noproc,
                             {gen_server,call,
                                 [ejabberd_iq_sup,
                                  {start_child,
                                      ["webkeks.org",mod_version,
                                       process_local_iq]},
                                  infinity]}}

=ERROR REPORT==== 2010-02-18 19:37:44 ===
E(<0.36.0>:gen_mod:46): {undef,[{mod_http_bind,start,["webkeks.org", 
[]]},
                                 {gen_mod,start_module,3},
                                 {lists,foreach,2},
                                 {ejabberd_app,start,2},
                                 {application_master,start_it_old,4}]}

=INFO REPORT==== 2010-02-18 19:37:44 ===
     application: ejabberd
     exited: shutdown
     type: temporary

My config looks like this:

override_global.
override_local.
override_acls.

%{loglevel, 5}.

% ACL
{acl, admin, {user, "js"}}.
{acl, local, {user_regexp, ""}}.

% Access
{access, pubsub_createnode, [{allow, local}]}.
{access, configure, [{allow, admin}]}.
{access, register, [{allow, all}]}.

% Shaper
{access, announce, [{allow, admin}]}.
{access, c2s, [{deny, blocked},
	       {allow, all}]}.
{shaper, normal, {maxrate, 1000}}.
{shaper, fast, {maxrate, 50000}}.
{access, c2s_shaper, [{none, admin},
		      {normal, all}]}.
{access, s2s_shaper, [{fast, all}]}.

% MUC
{access, muc_admin, [{allow, admin}]}.
{access, muc, [{allow, all}]}.

% Access
{access, local, [{allow, local}]}.
%{auth_method, internal}.
{auth_method, odbc}.

% Misc
{hosts, ["webkeks.org"]}.
{max_user_sessions, 10}.
{language, "de"}.
{odbc_server, {pgsql, "localhost", "ejabberd", "ejabberd",  
"<censored>"}}.

% Listen
{listen,
  [{5222, ejabberd_c2s,		[inet6, {access, c2s}, {shaper, c2s},
				 {max_stanza_size, 65536},
				 starttls, starttls_required,
				 {certfile, "/etc/ejabberd/ssl.pem"}]},
   {5223, ejabberd_c2s,		[inet6, {access, c2s}, {shaper, c2s},
				 {max_stanza_size, 65536},
				 tls,
				 {certfile, "/etc/ejabberd/ssl.pem"}]},
   {5269, ejabberd_s2s_in,	[inet6, {shaper, s2s_shaper},
				 {max_stanze_size, 131072},
				 {certfile, "/etc/ejabberd/ssl.pem"}]},
   {5280, ejabberd_http,		[{ip, {192, 168, 1, 1}},
				 http_poll, http_bind, web_admin]},
   {5555, ejabberd_service,	[{ip, {127, 0, 0, 1}},
				 {access, local},
				 {host, "icq.webkeks.org",
				  [{password, "<censored>"}]}]},
   {5556, ejabberd_service,	[{ip, {127, 0, 0, 1}},
				 {access, local},
				 {host, "msn.webkeks.org",
				  [{password, "<censored>"}]}]}
]}.

% TLS
{s2s_use_starttls, true}.
{s2s_certfile, "/etc/ejabberd/ssl.pem"}.

{outgoing_s2s_port, 5269}.
{s2s_default_policy, allow}.

{modules,
  [{mod_register,	[{access, register},
			 {welcome_message, none},
			 {registration_watchers, ["js at webkeks.org"]}]},
   {mod_roster_odbc,	[]},
   {mod_privacy_odbc,	[]},
   {mod_adhoc,		[]},
   {mod_configure,	[]},	% Depends on mod_adhoc
   {mod_configure2,	[]},
   {mod_disco,		[{extra_domains, ["proxy.draugr.de",
					  "proxy65.talkonaut.com"]}]},
   {mod_stats,		[]},
   {mod_vcard,		[]},
   {mod_offline_odbc,	[]},
   {mod_announce,	[{access, announce}]},
   {mod_caps,		[]},
%  {mod_echo,		[{host, "echo.webkeks.org"}]},
   {mod_private,		[]},
%  {mod_irc,		[]},
   {mod_muc,		[{access, muc},
			 {access_create, muc},
			 {access_admin, muc_admin},
			 {host, "muc.webkeks.org"}]},
   {mod_muc_log,		[{outdir, "/var/chroot/lighttpd/htdocs/jabber/logs"},
			 {top_link, {"https://webkeks.org/jabber/",
			  "WebKeks.org"}}]},
%  {mod_service_log,	[]},
%  {mod_shared_roster,	[]},
   {mod_pubsub,		[{access_createnode, pubsub_createnode},
			 {pep_sendlast_offline, true},
			 {last_item_cache, false},
			 {plugins, ["flat", "hometree", "pep"]}]},
   {mod_time,		[]},
   {mod_last_odbc,	[]},
   {mod_version,		[]},
   {mod_http_bind,	[]}
]}.

% vim: se syn=erlang:

Any idea what's happening here? Even after removing the modules from  
the config it complains about, it doesn't work.

And I wonder: Why were _odbc modules removed? And how do I migrate  
those back from odbc to mnesia? Am I forced to just lose all privacy  
lists, vcards etc?

--
Jonathan



More information about the ejabberd mailing list