[ejabberd] message archiving

Jonathan Schleifer js-ejabberd at webkeks.org
Mon Jun 1 22:25:35 MSD 2009


Ok, this still gives a few .rej files - of course, because it's against
ejabberd 2.0.3. After manually fixing that, I got:


=INFO REPORT==== 2009-06-01 18:23:21 ===
I(<0.20295.0>:mod_logdb:357) : mod_logdb_pgsql connection established

=ERROR REPORT==== 2009-06-01 18:23:21 ===
** Generic server 'ejabberd_mod_logdb_buddycloud.com' terminating 
** Last message in was start
** When Server state == {state,"buddycloud.com",mod_logdb_pgsql,undefined,
                            undefined,undefined,undefined,
                            [{user,"ejabberd"},
                             {password,"cascade22"},
                             {server,"erebor.buddycloud.com"},
                             {port,5432},
                             {db,"location"},
                             {schema,"public"}],
                            [{pgsql,
                                 [{user,"ejabberd"},
                                  {password,"cascade22"},
                                  {server,"erebor.buddycloud.com"},
                                  {port,5432},
                                  {db,"location"},
                                  {schema,"public"}]}],
                            true,[],none,30,10,true}
** Reason for termination == 
** {'function not exported',
       [{ejabberd_ctl,unregister_commands,
            ["buddycloud.com",
             [{"rebuild_stats",
               "rebuild mod_logdb module stats for vhost"}],
             mod_logdb,rebuild_stats]},
        {mod_logdb,cleanup,1},
        {mod_logdb,terminate,2},
        {gen_server,terminate,6},
        {proc_lib,init_p,5}]}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
** Generic server 'ejabberd_mod_logdb_buddycloud.com' terminating 
** Last message in was start
** When Server state == {state,"buddycloud.com",mod_logdb_pgsql,undefined,
                            undefined,undefined,undefined,
                            [{user,"ejabberd"},
                             {password,"cascade22"},
                             {server,"erebor.buddycloud.com"},
                             {port,5432},
                             {db,"location"},
                             {schema,"public"}],
                            [{pgsql,
                                 [{user,"ejabberd"},
                                  {password,"cascade22"},
                                  {server,"erebor.buddycloud.com"},
                                  {port,5432},
                                  {db,"location"},
                                  {schema,"public"}]}],
                            true,[],none,30,10,true}
** Reason for termination == 
** {'function not exported',
       [{ejabberd_ctl,unregister_commands,
            ["buddycloud.com",
             [{"rebuild_stats",
               "rebuild mod_logdb module stats for vhost"}],
             mod_logdb,rebuild_stats]},
        {mod_logdb,cleanup,1},
        {mod_logdb,terminate,2},
        {gen_server,terminate,6},
        {proc_lib,init_p,5}]}

=INFO REPORT==== 2009-06-01 18:23:21 ===
I(<0.20314.0>:mod_logdb:357) : mod_logdb_pgsql connection established

=ERROR REPORT==== 2009-06-01 18:23:21 ===
** Generic server 'ejabberd_mod_logdb_buddycloud.com' terminating 
** Last message in was start
** When Server state == {state,"buddycloud.com",mod_logdb_pgsql,undefined,
                            undefined,undefined,undefined,
                            [{user,"ejabberd"},
                             {password,"cascade22"},
                             {server,"erebor.buddycloud.com"},
                             {port,5432},
                             {db,"location"},
                             {schema,"public"}],
                            [{pgsql,
                                 [{user,"ejabberd"},
                                  {password,"cascade22"},
                                  {server,"erebor.buddycloud.com"},
                                  {port,5432},
                                  {db,"location"},
                                  {schema,"public"}]}],
                            true,[],none,30,10,true}
** Reason for termination == 
** {'function not exported',
       [{ejabberd_ctl,unregister_commands,
            ["buddycloud.com",
             [{"rebuild_stats",
               "rebuild mod_logdb module stats for vhost"}],
             mod_logdb,rebuild_stats]},
        {mod_logdb,cleanup,1},
        {mod_logdb,terminate,2},
        {gen_server,terminate,6},
        {proc_lib,init_p,5}]}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
** Generic server 'ejabberd_mod_logdb_buddycloud.com' terminating 
** Last message in was start
** When Server state == {state,"buddycloud.com",mod_logdb_pgsql,undefined,
                            undefined,undefined,undefined,
                            [{user,"ejabberd"},
                             {password,"cascade22"},
                             {server,"erebor.buddycloud.com"},
                             {port,5432},
                             {db,"location"},
                             {schema,"public"}],
                            [{pgsql,
                                 [{user,"ejabberd"},
                                  {password,"cascade22"},
                                  {server,"erebor.buddycloud.com"},
                                  {port,5432},
                                  {db,"location"},
                                  {schema,"public"}]}],
                            true,[],none,30,10,true}
** Reason for termination == 
** {'function not exported',
       [{ejabberd_ctl,unregister_commands,
            ["buddycloud.com",
             [{"rebuild_stats",
               "rebuild mod_logdb module stats for vhost"}],
             mod_logdb,rebuild_stats]},
        {mod_logdb,cleanup,1},
        {mod_logdb,terminate,2},
        {gen_server,terminate,6},
        {proc_lib,init_p,5}]}

=INFO REPORT==== 2009-06-01 18:23:21 ===
I(<0.20319.0>:mod_logdb:357) : mod_logdb_pgsql connection established

=ERROR REPORT==== 2009-06-01 18:23:21 ===
** Generic server 'ejabberd_mod_logdb_buddycloud.com' terminating 
** Last message in was start
** When Server state == {state,"buddycloud.com",mod_logdb_pgsql,undefined,
                            undefined,undefined,undefined,
                            [{user,"ejabberd"},
                             {password,"cascade22"},
                             {server,"erebor.buddycloud.com"},
                             {port,5432},
                             {db,"location"},
                             {schema,"public"}],
                            [{pgsql,
                                 [{user,"ejabberd"},
                                  {password,"cascade22"},
                                  {server,"erebor.buddycloud.com"},
                                  {port,5432},
                                  {db,"location"},
                                  {schema,"public"}]}],
                            true,[],none,30,10,true}
** Reason for termination == 
** {'function not exported',
       [{ejabberd_ctl,unregister_commands,
            ["buddycloud.com",
             [{"rebuild_stats",
               "rebuild mod_logdb module stats for vhost"}],
             mod_logdb,rebuild_stats]},
        {mod_logdb,cleanup,1},
        {mod_logdb,terminate,2},
        {gen_server,terminate,6},
        {proc_lib,init_p,5}]}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
** Generic server 'ejabberd_mod_logdb_buddycloud.com' terminating 
** Last message in was start
** When Server state == {state,"buddycloud.com",mod_logdb_pgsql,undefined,
                            undefined,undefined,undefined,
                            [{user,"ejabberd"},
                             {password,"cascade22"},
                             {server,"erebor.buddycloud.com"},
                             {port,5432},
                             {db,"location"},
                             {schema,"public"}],
                            [{pgsql,
                                 [{user,"ejabberd"},
                                  {password,"cascade22"},
                                  {server,"erebor.buddycloud.com"},
                                  {port,5432},
                                  {db,"location"},
                                  {schema,"public"}]}],
                            true,[],none,30,10,true}
** Reason for termination == 
** {'function not exported',
       [{ejabberd_ctl,unregister_commands,
            ["buddycloud.com",
             [{"rebuild_stats",
               "rebuild mod_logdb module stats for vhost"}],
             mod_logdb,rebuild_stats]},
        {mod_logdb,cleanup,1},
        {mod_logdb,terminate,2},
        {gen_server,terminate,6},
        {proc_lib,init_p,5}]}

=INFO REPORT==== 2009-06-01 18:23:21 ===
I(<0.20324.0>:mod_logdb:357) : mod_logdb_pgsql connection established

=ERROR REPORT==== 2009-06-01 18:23:21 ===
** Generic server 'ejabberd_mod_logdb_buddycloud.com' terminating 
** Last message in was start
** When Server state == {state,"buddycloud.com",mod_logdb_pgsql,undefined,
                            undefined,undefined,undefined,
                            [{user,"ejabberd"},
                             {password,"cascade22"},
                             {server,"erebor.buddycloud.com"},
                             {port,5432},
                             {db,"location"},
                             {schema,"public"}],
                            [{pgsql,
                                 [{user,"ejabberd"},
                                  {password,"cascade22"},
                                  {server,"erebor.buddycloud.com"},
                                  {port,5432},
                                  {db,"location"},
                                  {schema,"public"}]}],
                            true,[],none,30,10,true}
** Reason for termination == 
** {'function not exported',
       [{ejabberd_ctl,unregister_commands,
            ["buddycloud.com",
             [{"rebuild_stats",
               "rebuild mod_logdb module stats for vhost"}],
             mod_logdb,rebuild_stats]},
        {mod_logdb,cleanup,1},
        {mod_logdb,terminate,2},
        {gen_server,terminate,6},
        {proc_lib,init_p,5}]}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
** Generic server 'ejabberd_mod_logdb_buddycloud.com' terminating 
** Last message in was start
** When Server state == {state,"buddycloud.com",mod_logdb_pgsql,undefined,
                            undefined,undefined,undefined,
                            [{user,"ejabberd"},
                             {password,"cascade22"},
                             {server,"erebor.buddycloud.com"},
                             {port,5432},
                             {db,"location"},
                             {schema,"public"}],
                            [{pgsql,
                                 [{user,"ejabberd"},
                                  {password,"cascade22"},
                                  {server,"erebor.buddycloud.com"},
                                  {port,5432},
                                  {db,"location"},
                                  {schema,"public"}]}],
                            true,[],none,30,10,true}
** Reason for termination == 
** {'function not exported',
       [{ejabberd_ctl,unregister_commands,
            ["buddycloud.com",
             [{"rebuild_stats",
               "rebuild mod_logdb module stats for vhost"}],
             mod_logdb,rebuild_stats]},
        {mod_logdb,cleanup,1},
        {mod_logdb,terminate,2},
        {gen_server,terminate,6},
        {proc_lib,init_p,5}]}

=INFO REPORT==== 2009-06-01 18:23:21 ===
I(<0.20300.0>:ejabberd_listener:201) : (#Port<0.15467>) Accepted connection {{209,85,162,129},44206} -> {{78,47,197,187},5269}

=INFO REPORT==== 2009-06-01 18:23:21 ===
I(<0.20329.0>:mod_logdb:357) : mod_logdb_pgsql connection established

=ERROR REPORT==== 2009-06-01 18:23:21 ===
** Generic server 'ejabberd_mod_logdb_buddycloud.com' terminating 
** Last message in was start
** When Server state == {state,"buddycloud.com",mod_logdb_pgsql,undefined,
                            undefined,undefined,undefined,
                            [{user,"ejabberd"},
                             {password,"cascade22"},
                             {server,"erebor.buddycloud.com"},
                             {port,5432},
                             {db,"location"},
                             {schema,"public"}],
                            [{pgsql,
                                 [{user,"ejabberd"},
                                  {password,"cascade22"},
                                  {server,"erebor.buddycloud.com"},
                                  {port,5432},
                                  {db,"location"},
                                  {schema,"public"}]}],
                            true,[],none,30,10,true}
** Reason for termination == 
** {'function not exported',
       [{ejabberd_ctl,unregister_commands,
            ["buddycloud.com",
             [{"rebuild_stats",
               "rebuild mod_logdb module stats for vhost"}],
             mod_logdb,rebuild_stats]},
        {mod_logdb,cleanup,1},
        {mod_logdb,terminate,2},
        {gen_server,terminate,6},
        {proc_lib,init_p,5}]}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
** Generic server 'ejabberd_mod_logdb_buddycloud.com' terminating 
** Last message in was start
** When Server state == {state,"buddycloud.com",mod_logdb_pgsql,undefined,
                            undefined,undefined,undefined,
                            [{user,"ejabberd"},
                             {password,"cascade22"},
                             {server,"erebor.buddycloud.com"},
                             {port,5432},
                             {db,"location"},
                             {schema,"public"}],
                            [{pgsql,
                                 [{user,"ejabberd"},
                                  {password,"cascade22"},
                                  {server,"erebor.buddycloud.com"},
                                  {port,5432},
                                  {db,"location"},
                                  {schema,"public"}]}],
                            true,[],none,30,10,true}
** Reason for termination == 
** {'function not exported',
       [{ejabberd_ctl,unregister_commands,
            ["buddycloud.com",
             [{"rebuild_stats",
               "rebuild mod_logdb module stats for vhost"}],
             mod_logdb,rebuild_stats]},
        {mod_logdb,cleanup,1},
        {mod_logdb,terminate,2},
        {gen_server,terminate,6},
        {proc_lib,init_p,5}]}

=INFO REPORT==== 2009-06-01 18:23:21 ===
I(<0.20336.0>:mod_logdb:357) : mod_logdb_pgsql connection established

=ERROR REPORT==== 2009-06-01 18:23:21 ===
** Generic server 'ejabberd_mod_logdb_buddycloud.com' terminating 
** Last message in was start
** When Server state == {state,"buddycloud.com",mod_logdb_pgsql,undefined,
                            undefined,undefined,undefined,
                            [{user,"ejabberd"},
                             {password,"cascade22"},
                             {server,"erebor.buddycloud.com"},
                             {port,5432},
                             {db,"location"},
                             {schema,"public"}],
                            [{pgsql,
                                 [{user,"ejabberd"},
                                  {password,"cascade22"},
                                  {server,"erebor.buddycloud.com"},
                                  {port,5432},
                                  {db,"location"},
                                  {schema,"public"}]}],
                            true,[],none,30,10,true}
** Reason for termination == 
** {'function not exported',
       [{ejabberd_ctl,unregister_commands,
            ["buddycloud.com",
             [{"rebuild_stats",
               "rebuild mod_logdb module stats for vhost"}],
             mod_logdb,rebuild_stats]},
        {mod_logdb,cleanup,1},
        {mod_logdb,terminate,2},
        {gen_server,terminate,6},
        {proc_lib,init_p,5}]}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                             {gen_server,call,
                              [ejabberd_sup,
                               {terminate_child,
                                'ejabberd_mod_logdb_buddycloud.com'},
                               infinity]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                             {gen_server,call,
                              [ejabberd_hooks,
                               {delete,user_send_packet,"buddycloud.com",
                                mod_service_log,log_user_send,50}]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                                {gen_server,call,
                                    ['ejabberd_mod_archive_odbc_buddycloud.com',
                                     stop]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                             {gen_server,call,
                              [ejabberd_hooks,
                               {delete,user_send_packet,"buddycloud.com",
                                mod_logxml,send_packet,90}]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                                {gen_server,call,
                                    ['ejabberd_mod_proxy65_service_buddycloud.com',
                                     get_port_ip]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {badarg,[{ejabberd_local,unregister_iq_handler,2},
                                     {gen_mod,stop_module_keep_config,2},
                                     {lists,foreach,2},
                                     {ejabberd_app,prep_stop,1},
                                     {application_master,prep_stop,2},
                                     {application_master,loop_it,4}]}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                             {gen_server,call,
                              [ejabberd_hooks,
                               {delete,remove_user,"buddycloud.com",
                                mod_last_odbc,remove_user,50}]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {badarg,[{ejabberd_local,unregister_iq_handler,2},
                                     {gen_mod,stop_module_keep_config,2},
                                     {lists,foreach,2},
                                     {ejabberd_app,prep_stop,1},
                                     {application_master,prep_stop,2},
                                     {application_master,loop_it,4}]}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                                {gen_server,call,
                                    ['ejabberd_mod_pubsub_buddycloud.com',
                                     stop]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                             {gen_server,call,
                              [ejabberd_hooks,
                               {delete,webadmin_menu_host,"buddycloud.com",
                                mod_shared_roster,webadmin_menu,70}]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                                {gen_server,call,
                                    ['ejabberd_mod_muc_log_buddycloud.com',
                                     stop]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                             {gen_server,call,
                              [ejabberd_sup,
                               {terminate_child,
                                'ejabberd_mod_muc_sup_buddycloud.com'},
                               infinity]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                                {gen_server,call,
                                    [ejabberd_sup,
                                     {terminate_child,ejabberd_http_bind_sup},
                                     infinity]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                                {gen_server,call,
                                    ['ejabberd_mod_caps_buddycloud.com',
                                     stop]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                             {gen_server,call,
                              [ejabberd_hooks,
                               {delete,remove_user,"buddycloud.com",
                                mod_private,remove_user,50}]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                             {gen_server,call,
                              [ejabberd_hooks,
                               {delete,offline_message_hook,"buddycloud.com",
                                mod_offline_odbc,store_packet,50}]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                             {gen_server,call,
                              [ejabberd_hooks,
                               {delete,remove_user,"buddycloud.com",
                                mod_vcard_odbc,remove_user,50}]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                             {gen_server,call,
                              [ejabberd_hooks,
                               {delete,disco_sm_items,"buddycloud.com",
                                mod_disco,get_publish_items,75}]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {badarg,[{ejabberd_local,unregister_iq_handler,2},
                                     {gen_mod,stop_module_keep_config,2},
                                     {lists,foreach,2},
                                     {ejabberd_app,prep_stop,1},
                                     {application_master,prep_stop,2},
                                     {application_master,loop_it,4}]}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                             {gen_server,call,
                              [ejabberd_hooks,
                               {delete,adhoc_sm_commands,"buddycloud.com",
                                mod_configure,adhoc_sm_commands,50}]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                             {gen_server,call,
                              [ejabberd_hooks,
                               {delete,privacy_iq_get,"buddycloud.com",
                                mod_privacy,process_iq_get,50}]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                             {gen_server,call,
                              [ejabberd_hooks,
                               {delete,roster_get,"buddycloud.com",
                                mod_roster_odbc,get_user_roster,50}]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                             {gen_server,call,
                              [ejabberd_hooks,
                               {delete,c2s_stream_features,"buddycloud.com",
                                mod_register,stream_feature_register,50}]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                             {gen_server,call,
                              [ejabberd_hooks,
                               {delete,adhoc_local_commands,"buddycloud.com",
                                mod_announce,announce_commands,50}]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                             {gen_server,call,
                              [ejabberd_hooks,
                               {delete,user_available_hook,"buddycloud.com",
                                mod_statsdx,user_login,90}]}}

=ERROR REPORT==== 2009-06-01 18:23:21 ===
E(<0.19760.0>:gen_mod:95) : {noproc,
                             {gen_server,call,
                              [ejabberd_hooks,
                               {delete,adhoc_local_commands,"buddycloud.com",
                                mod_adhoc,ping_command,100}]}}

=INFO REPORT==== 2009-06-01 18:23:21 ===
I(<0.19760.0>:ejabberd_app:83) : ejabberd 2.1.0-alpha is stopped in the node ejabberd at localhost

=INFO REPORT==== 2009-06-01 18:23:22 ===
    application: ejabberd
    exited: shutdown
    type: temporary

And tada, it shut down the server again. So no difference to the patch
that's linked on the page, it doesn't work with trunk as well.

-- 
Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20090601/e5e97b33/attachment-0001.pgp>


More information about the ejabberd mailing list