Page MenuHomekolab.org

(An Untitled Masterwork)
ActivePublic

Authored by vanmeeuwen on Mar 16 2016, 10:32 AM.
[root@kolab ~]# kolab --server guam01.example.org lm
Traceback (most recent call last):
File "/usr/sbin/kolab", line 39, in <module>
kolab = Cli()
File "/usr/lib/python2.6/site-packages/pykolab/cli/__init__.py", line 73, in __init__
commands.execute('_'.join(to_execute))
File "/usr/lib/python2.6/site-packages/pykolab/cli/commands.py", line 138, in execute
commands[cmd_name]['function'](conf.cli_args, kw)
File "/usr/lib/python2.6/site-packages/pykolab/cli/cmd_list_mailboxes.py", line 88, in execute
folders.extend(imap.lm(imap_utf7.encode(search)))
File "/usr/lib/python2.6/site-packages/pykolab/imap/__init__.py", line 1140, in lm
return self.imap.lm(*args, **kw)
File "/usr/lib/python2.6/site-packages/cyruslib.py", line 512, in lm
res, ml = self.__docommand('list', '""', self.decode(pattern))
File "/usr/lib/python2.6/site-packages/cyruslib.py", line 389, in __docommand
self.__doexception(function, error, *args)
File "/usr/lib/python2.6/site-packages/cyruslib.py", line 358, in __doexception
self.__doraise( function.upper(), msg )
File "/usr/lib/python2.6/site-packages/cyruslib.py", line 367, in __doraise
raise CYRUSError( idError[0], mode, msg )
cyruslib.CYRUSError: (99, 'LIST', 'EOF')
[root@guam01 ~]# guam foreground
Exec: /opt/kolab_guam/erts-6.3/bin/erlexec -noinput +Bd -boot /opt/kolab_guam/releases/0.7.2/kolab_guam -config /opt/kolab_guam/releases/0.7.2/sys.config -args_file /opt/kolab_guam/releases/0.7.2/vm.args -- foreground
Root: /opt/kolab_guam
10:30:40.956 [debug] Lager installed handler {lager_file_backend,"log/error.log"} into lager_event
10:30:40.956 [debug] Lager installed handler {lager_file_backend,"log/console.log"} into lager_event
10:30:40.963 [debug] Lager installed handler error_logger_lager_h into error_logger
10:30:40.971 [debug] Supervisor gr_param_sup started gr_param:start_link(gr_lager_default_tracer_params) at pid <0.69.0>
10:30:40.971 [debug] Supervisor gr_counter_sup started gr_counter:start_link(gr_lager_default_tracer_counters) at pid <0.70.0>
10:30:40.971 [debug] Supervisor gr_manager_sup started gr_manager:start_link(gr_lager_default_tracer_params_mgr, gr_lager_default_tracer_params, []) at pid <0.71.0>
10:30:40.971 [debug] Supervisor gr_manager_sup started gr_manager:start_link(gr_lager_default_tracer_counters_mgr, gr_lager_default_tracer_counters, [{input,0},{filter,0},{output,0}]) at pid <0.72.0>
10:30:41.041 [info] Application lager started on node 'kolab_guam@127.0.0.1'
10:30:41.042 [info] Application crypto started on node 'kolab_guam@127.0.0.1'
10:30:41.042 [info] Application asn1 started on node 'kolab_guam@127.0.0.1'
10:30:41.042 [info] Application public_key started on node 'kolab_guam@127.0.0.1'
10:30:41.046 [debug] Supervisor ssl_sup started ssl_manager:start_link([]) at pid <0.81.0>
10:30:41.047 [debug] Supervisor ssl_sup started tls_connection_sup:start_link() at pid <0.82.0>
10:30:41.047 [debug] Supervisor ssl_sup started ssl_listen_tracker_sup:start_link() at pid <0.83.0>
10:30:41.048 [info] Application ssl started on node 'kolab_guam@127.0.0.1'
10:30:41.048 [info] Starting Kolab Guam IMAP session proxy ...
10:30:41.048 [info] Starting the main supervisor ...
10:30:41.049 [debug] Creating listeners ...
10:30:41.049 [debug] Making listener "imap" with [{port,143},{imap_server,imap},{rules,[{filter_groupware,[]}]},{tls_config,[{certfile,"/etc/pki/tls/private/localhost.pem"}]}]
10:30:41.050 [debug] Making listener "imaps" with [{port,993},{implicit_tls,true},{imap_server,imaps},{rules,[{filter_groupware,[]}]},{tls_config,[{certfile,"/etc/pki/tls/private/localhost.pem"}]}]
10:30:41.050 [debug] We have [{imap,{kolab_guam_listener,start_link,[imap,[{port,143},{imap_server,imap},{rules,[{filter_groupware,[]}]},{tls_config,[{certfile,"/etc/pki/tls/private/localhost.pem"}]}]]},permanent,5000,supervisor,[imap]},{imaps,{kolab_guam_listener,start_link,[imaps,[{port,993},{implicit_tls,true},{imap_server,imaps},{rules,[{filter_groupware,[]}]},{tls_config,[{certfile,"/etc/pki/tls/private/localhost.pem"}]}]]},permanent,5000,supervisor,[imaps]}]
10:30:41.051 [info] Starting listener "imap" on port 143 ([{active,once},{reuseaddr,true}]) with 1 rules
10:30:41.051 [debug] ImapConfig is {eimap_server_config,"imapf.example.org",143,starttls}
10:30:41.051 [debug] Creating session pool for listener <0.88.0>
10:30:41.052 [debug] Supervisor kolab_guam_sup started kolab_guam_listener:start_link(imap, [{port,143},{imap_server,imap},{rules,[{filter_groupware,[]}]},{tls_config,[{certfile,"/etc/pki..."}]}]) at pid <0.88.0>
10:30:41.053 [info] Starting listener "imaps" on port 993 ([{reuseaddr,true},{active,once},{certfile,"/etc/pki/tls/private/localhost.pem"}]) with 1 rules
10:30:41.064 [debug] ImapConfig is {eimap_server_config,"imapf.example.org",993,true}
10:30:41.064 [debug] Creating session pool for listener <0.91.0>
10:30:41.064 [debug] Supervisor kolab_guam_sup started kolab_guam_listener:start_link(imaps, [{port,993},{implicit_tls,true},{imap_server,imaps},{rules,[{filter_groupware,[]}]},{tls_config,...}]) at pid <0.91.0>
10:30:41.065 [info] Application kolab_guam started on node 'kolab_guam@127.0.0.1'
10:30:41.451 [debug] Lager installed handler lager_backend_throttle into lager_event
10:30:48.564 [debug] Supervisor inet_gethost_native_sup started undefined at pid <0.143.0>
10:30:48.564 [debug] Supervisor kernel_safe_sup started inet_gethost_native:start_link() at pid <0.142.0>
10:30:48.734 [error] gen_server <0.116.0> terminated with reason: no function clause matching lists:foldl(#Fun<kolab_guam_rule_filter_groupware.0.43776079>, [], {error,<<"Mailbox does not exist">>}) line 1260
10:30:48.734 [error] CRASH REPORT Process <0.116.0> with 1 neighbours exited with reason: no function clause matching lists:foldl(#Fun<kolab_guam_rule_filter_groupware.0.43776079>, [], {error,<<"Mailbox does not exist">>}) line 1260 in gen_server:terminate/7 line 804
10:30:48.735 [error] Supervisor {<0.91.0>,kolab_guam_listener} had child session started with {kolab_guam_session,start_link,undefined} at <0.116.0> exit with reason no function clause matching lists:foldl(#Fun<kolab_guam_rule_filter_groupware.0.43776079>, [], {error,<<"Mailbox does not exist">>}) line 1260 in context child_terminated
2016-03-16T10:30:48.005378+01:00 imapf02 imaps[13501]: TLS is available.
2016-03-16T10:30:48.007798+01:00 imapf02 imaps[13501]: command: BOMF0 Capability
2016-03-16T10:30:48.008063+01:00 imapf02 imaps[13501]: TLS is available.
2016-03-16T10:30:48.009143+01:00 imapf02 imaps[13501]: command: BOMF1 Login
2016-03-16T10:30:48.060416+01:00 imapf02 imaps[13501]: login: guam01.example.org [192.168.121.11] cyrus-admin plaintext+TLS User logged in SESSIONID=<imapf02.example.org-13501-1458120647-1-9392608527196765504>
2016-03-16T10:30:48.060499+01:00 imapf02 imaps[13501]: TLS is available.
2016-03-16T10:30:48.062030+01:00 imapf02 imaps[13501]: command: BOMF2 Dump
2016-03-16T10:30:48.063172+01:00 imapf02 imaps[13501]: command: BOMF3 List
2016-03-16T10:30:48.065316+01:00 imapf02 imaps[13501]: command: EG0001 Getmetadata
2016-03-16T10:30:48.065840+01:00 imapf02 imaps[13501]: command: BOMF4 List
[root@imapf02 cyrus-admin]# cat imaps-13501
---------- cyrus-admin Wed Mar 16 10:30:48 2016
>1458120648>BOMF1 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE URLAUTH URLAUTH=BINARY X-NETSCAPE MUPDATE=mupdate://mupdate.example.org/ LOGINDISABLED AUTH=LOGIN AUTH=PLAIN COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<imapf02.example.org-13501-1458120647-1-9392608527196765504>
<1458120648<BOMF2 DUMP NIL
>1458120648>BOMF2 NO Mailbox does not exist
<1458120648<BOMF3 LIST "" ""
>1458120648>* LIST (\Noselect) "/" ""
BOMF3 OK Completed (0.000 secs)
<1458120648<EG0001 GETMETADATA (DEPTH infinity) "*" (/shared/vendor/kolab/folder-type)
>1458120648>EG0001 NO Mailbox does not exist
<1458120648<BOMF4 LIST "" *
>1458120648>BOMF4 OK Completed (0.000 secs)
2016-03-16 10:30:48 =ERROR REPORT====
** Generic server <0.116.0> terminating
** Last message in was {{rule_data,kolab_guam_rule_filter_groupware,blacklist},{error,<<"Mailbox does not exist">>}}
** When Server state == {state,{sslsocket,{gen_tcp,#Port<0.1382>,tls_connection,<0.113.0>},<0.138.0>},<0.91.0>,[{certfile,"/etc/pki/tls/private/localhost.pem"}],true,true,{eimap_server_config,"imapf.example.org",993,true},[{kolab_guam_rule_filter_groupware,{state,undefined,<<"BOMF4">>,true,<<>>}}],[],<0.141.0>,undefined,undefined}
** Reason for termination ==
** {function_clause,[{lists,foldl,[#Fun<kolab_guam_rule_filter_groupware.0.43776079>,[],{error,<<"Mailbox does not exist">>}],[{file,"lists.erl"},{line,1260}]},{kolab_guam_rule_filter_groupware,imap_data,3,[{file,"src/rules/kolab_guam_rule_filter_groupware.erl"},{line,57}]},{kolab_guam_session,handle_info,2,[{file,"src/kolab_guam_session.erl"},{line,86}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,593}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,659}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}
2016-03-16 10:30:48 =CRASH REPORT====
crasher:
initial call: kolab_guam_session:init/1
pid: <0.116.0>
registered_name: []
exception exit: {{function_clause,[{lists,foldl,[#Fun<kolab_guam_rule_filter_groupware.0.43776079>,[],{error,<<"Mailbox does not exist">>}],[{file,"lists.erl"},{line,1260}]},{kolab_guam_rule_filter_groupware,imap_data,3,[{file,"src/rules/kolab_guam_rule_filter_groupware.erl"},{line,57}]},{kolab_guam_session,handle_info,2,[{file,"src/kolab_guam_session.erl"},{line,86}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,593}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,659}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]},[{gen_server,terminate,7,[{file,"gen_server.erl"},{line,804}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}
ancestors: [<0.91.0>,kolab_guam_sup,<0.86.0>]
messages: [{imap_server_response,<<"BOMF4 OK Completed (0.000 secs)\r\n">>}]
links: [<0.91.0>,<0.141.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 1598
stack_size: 27
reductions: 1334
neighbours:
neighbour: [{pid,<0.141.0>},{registered_name,[]},{initial_call,{eimap,init,['Argument__1']}},{current_function,{gen_fsm,loop,7}},{ancestors,[<0.116.0>,<0.91.0>,kolab_guam_sup,<0.86.0>]},{messages,[]},{links,[<0.116.0>]},{dictionary,[]},{trap_exit,false},{status,waiting},{heap_size,376},{stack_size,10},{reductions,2680}]
2016-03-16 10:30:48 =SUPERVISOR REPORT====
Supervisor: {<0.91.0>,kolab_guam_listener}
Context: child_terminated
Reason: {function_clause,[{lists,foldl,[#Fun<kolab_guam_rule_filter_groupware.0.43776079>,[],{error,<<"Mailbox does not exist">>}],[{file,"lists.erl"},{line,1260}]},{kolab_guam_rule_filter_groupware,imap_data,3,[{file,"src/rules/kolab_guam_rule_filter_groupware.erl"},{line,57}]},{kolab_guam_session,handle_info,2,[{file,"src/kolab_guam_session.erl"},{line,86}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,593}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,659}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}
Offender: [{pid,<0.116.0>},{name,session},{mfargs,{kolab_guam_session,start_link,undefined}},{restart_type,temporary},{shutdown,1000},{child_type,worker}]