Page MenuHomePhorge

guam 0.9.13-1 is crashing
Open, LowPublic

Description

guam 0.9.13-1 is crashing (pykolab 0.8.23-0~kolab1 on Debian 10 Buster)

2023-07-13 01:54:42.809 [error] <0.473.0> Supervisor {<0.473.0>,kolab_guam_listener} had child session started with kolab_guam_session:start_link(<0.473.0>, #Port<0.8>, [{host,"127.0.0.1"},{port,9993},{tls,true}], true, [{certfile,"/etc/ssl/private/cyrus-imapd.pem"}], [{filter_groupware,[]}]) at undefined exit with reason killed in context shutdown_error

Only solution I found was to downgrade to 0.9.11-1 (previous version) and then it works again.

# apt install guam=0.9.11-1
warning: downgrading guam from 0.9.13-1 to 0.9.11-1
The following additional packages will be installed:
  erlang-eimap erlang-goldrush erlang-lager erlang-lager-syslog erlang-syslog guam-bundled-libs
The following NEW packages will be installed:
  erlang-eimap erlang-goldrush erlang-lager erlang-lager-syslog erlang-syslog guam-bundled-libs
The following packages will be DOWNGRADED:
  guam

Details

Ticket Type
Task

Event Timeline

Looks like a duplication.

Got the same error:
The connection doesn't close correct, so it crashes on closing,
, but guam will work for me, just crash log, but no functional error.

This Error is discussed in https://git.kolab.org/T7247#102317

The referenced ticket T7247 discusses a Kolab installation on Debian 11 (and the various issues that arise).

In this ticket I explained the error I encountered when I just performed a regular package upgrade of my Kolab installation running on Debian 10 (sadly it is not the first time for me that such a critical Kolab error happened after a regular package upgrade).

In my case, there was a functional error; Kolab failed to function without Guam working. For an email/calendar/contacts groupware solution that people depend on, this is not a happy situation.

As I mention in the ticket, downgrading guam was the quickest solution for me.

Debian OS version doesn't matter.

Erlang version is the major change,
while downgrading the package you reinstalled older erlang version.

Digging deeper into:

I only get the report, when restart or stop the guam service.

Guam listeners working on my systems! (Debian 10 on kolab server and and guam standalone on Debian 11 in DMZ Zone)

reported error:

undefined exit with reason killed in context shutdown_error

context shutdown_error is the key and explained more detailed here:
https://erlang.org/pipermail/erlang-questions/2012-June/067189.html

When listeners won't start, there should be some other error!

With newer erlang: deprecated parameters in /etc/guam/sys.config could be the clue.

Check SSL/TLS parameter:
old:

tls_config, [
                                    { certfile, "/etc/pki/cyrus-imapd/cyrus-imapd.pem" }

         ]
``
new:
tls_config, [
    { certfile, "/etc/pki/cyrus-imapd/cyrus-imapd.pem" },
    { cacertfile, "/etc/pki/cyrus-imapd/cyrus-imapd-ca.pem" },
    { keyfile, "/etc/pki/cyrus-imapd/cyrus-imapd-key.pem" }
  ]
machniak lowered the priority of this task from Needs Triage to Low.Sep 27 2023, 12:26 PM
machniak added projects: Kolab 16, Guam.