Re: Guam listener not working at clean installation

Valentin Laskov <[email protected]> Thu, 11 Apr 2024 11:30:51 +0300
Newsgroups gmane.comp.kde.devel.kroupware
Message-ID <6c2b5460-60d8-4834-bb91-ae5469121e61__27209.5722657227$1712825356$gmane$org@festa.bg>
This is a multi-part message in MIME format.
--===============7112351768439007784==
Content-Type: multipart/alternative;
 boundary="------------Y72Ww45mvQXjT514Z7ogSF8z"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------Y72Ww45mvQXjT514Z7ogSF8z
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Hi ladas,

as a temporary workaround you can stop guam and set cyrus-imapd to 
listen to standard IMAP ports

   imap   cmd="imapd"    listen="imap"  prefork=5
   imaps  cmd="imapd -s" listen="imaps" prefork=5

instead of
   imap   cmd="imapd"    listen="127.0.0.1:144" prefork=5
   imaps  cmd="imapd -s" listen="0.0.0.0:9993"  prefork=5

or whatever you have there in /etc/cyrus.conf

You may need to set cert files in /etc/imapd.conf

The purpose of guam is to hide special folders as Calendar and others in 
kolab. You can set guam ( /etc/guam/sys.config ) to listen to other 
ports and continue debugging . You must set mail client appropriately to 
use new guam ports.

Regards!
V. Laskov

На 10.4.2024 г. в 20:37, [email protected] написа:
> Hi everybody,
>
> I installed clean server at Alma9 and by log file there is some problem with GUAM listener since the beginning. Log  /var/log/guam/log/error.log is full of this lines:
>
> 2024-04-10 19:02:11.342 [error] <0.529.0>@kolab_guam_listener:init:46 Supervisor kolab_guam_sup had child imap started with kolab_guam_listener:start_link(imap, [{port,143},{imap_server,imaps},{rules,[{filter_groupware,[]}]},{tls_config,[{certfile,"/etc/pk..."},...]}]) at undefined exit with reason no match of right hand value {error,eafnosupport} in kolab_guam_listener:init/1 line 46 in context start_error
> 2024-04-10 19:02:11.342 [error] <0.530.0>@kolab_guam_listener:init:46 CRASH REPORT Process <0.530.0> with 0 neighbours crashed with reason: no match of right hand value {error,eafnosupport} in kolab_guam_listener:init/1 line 46
> 2024-04-10 19:02:11.343 [error] <0.527.0> CRASH REPORT Process <0.527.0> with 0 neighbours exited with reason: {{shutdown,{failed_to_start_child,imap,{{badmatch,{error,eafnosupport}},[{kolab_guam_listener,init,1,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.13/apps/kolab_guam/src/kolab_guam_listener.erl"},{line,46}]},{supervisor,init,1,[{file,"supervisor.erl"},{line,330}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,851}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,814}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}}},{kolab_guam,start,[normal,[]]}} in application_master:init/4 line 142
>
> Guam daemon is running but server do not listen at 143 and 993 ports. Can somebody help, please?
>
> --
> Greetings, ladas
>
>
>
> _______________________________________________
> users mailing list
> [email protected]
> https://lists.kolab.org/mailman/listinfo/users
--------------Y72Ww45mvQXjT514Z7ogSF8z
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi <span style="white-space: pre-wrap">ladas,</span></p>
    <p>as a temporary workaround you can stop guam and set cyrus-imapd
      to listen to standard IMAP ports<br>
    </p>
    <p>  imap   cmd="imapd"    listen="imap"  prefork=5<br>
        imaps  cmd="imapd -s" listen="imaps" prefork=5<br>
      <br>
      instead of<br>
        imap   cmd="imapd"    listen="127.0.0.1:144" prefork=5<br>
        imaps  cmd="imapd -s" listen="0.0.0.0:9993"  prefork=5</p>
    <p>or whatever you have there in /etc/cyrus.conf</p>
    <p>You may need to set cert files in /etc/imapd.conf<br>
    </p>
    <p>The purpose of guam is to hide special folders as Calendar and
      others in kolab. You can set guam ( /etc/guam/sys.config ) to
      listen to other ports and continue debugging . You must set mail
      client appropriately to use new guam ports.<br>
    </p>
    <p>Regards!<br>
      V. Laskov<br>
    </p>
    <div class="moz-cite-prefix">На 10.4.2024 г. в 20:37,
      <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> написа:<br>
    </div>
    <blockquote type="cite" cite="mid:5458921.Sb9uPGUboI@zbook">
      <pre class="moz-quote-pre" wrap="">Hi everybody,

I installed clean server at Alma9 and by log file there is some problem with GUAM listener since the beginning. Log  /var/log/guam/log/error.log is full of this lines:

2024-04-10 19:02:11.342 [error] &lt;0.529.0&gt;@kolab_guam_listener:init:46 Supervisor kolab_guam_sup had child imap started with kolab_guam_listener:start_link(imap, [{port,143},{imap_server,imaps},{rules,[{filter_groupware,[]}]},{tls_config,[{certfile,"/etc/pk..."},...]}]) at undefined exit with reason no match of right hand value {error,eafnosupport} in kolab_guam_listener:init/1 line 46 in context start_error
2024-04-10 19:02:11.342 [error] &lt;0.530.0&gt;@kolab_guam_listener:init:46 CRASH REPORT Process &lt;0.530.0&gt; with 0 neighbours crashed with reason: no match of right hand value {error,eafnosupport} in kolab_guam_listener:init/1 line 46
2024-04-10 19:02:11.343 [error] &lt;0.527.0&gt; CRASH REPORT Process &lt;0.527.0&gt; with 0 neighbours exited with reason: {{shutdown,{failed_to_start_child,imap,{{badmatch,{error,eafnosupport}},[{kolab_guam_listener,init,1,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.13/apps/kolab_guam/src/kolab_guam_listener.erl"},{line,46}]},{supervisor,init,1,[{file,"supervisor.erl"},{line,330}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,851}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,814}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}}},{kolab_guam,start,[normal,[]]}} in application_master:init/4 line 142

Guam daemon is running but server do not listen at 143 and 993 ports. Can somebody help, please?

--
Greetings, ladas



_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="https://lists.kolab.org/mailman/listinfo/users">https://lists.kolab.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </body>
</html>

--------------Y72Ww45mvQXjT514Z7ogSF8z--

--===============7112351768439007784==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
users mailing list
[email protected]
https://lists.kolab.org/mailman/listinfo/users

--===============7112351768439007784==--