Articles in this section

SOGo webmail fails to install on RedHat-based distros: segfault in libgnustep-base.so

kb: technical

Symptoms

  • After installing the SOGo extension, the nightly packages fail to install in a RedHat-based distribution:

    PLESK_INFO: Aug 18 22:24:19 example.com systemd[1]: sogod.service: Control process exited, code=dumped status=11
    Aug 18 22:24:19 example.com systemd[1]: sogod.service: Failed with result 'core-dump'.
    -- Subject: Unit failed
    -- Defined-By: systemd
    -- Support: https://access.redhat.com/support
    --
    -- The unit sogod.service has entered the 'failed' state with result 'core-dump'.
    Aug 18 22:24:19 example.com systemd[1]: Failed to start SOGo is a groupware server.
    -- Subject: Unit sogod.service has failed
    -- Defined-By: systemd
    -- Support: https://access.redhat.com/support
    --
    -- Unit sogod.service has failed.
    --
    -- The result is failed.

  • The following segmentation fault error can be found in /var/log/messages:

    CONFIG_TEXT: Aug 19 16:32:59 web01 kernel: sogod[417320]: segfault at 7fff52b5ec98 ip 00007f51aa727edd sp 00007fff52b5ec98 error 6 in libgnustep-base.so.1.24.9[7f51aa387000+4e8000]

Cause

The system installed the GNUstep dependency from the EPEL repository. SOGo requires the version from the Alinto repository added by the extension.

Resolution

  1. Connect to the server via SSH.
  2. Remove the extension:

    # plesk bin extension -u sogo

  3. Remove any related package:

    # dnf list gnustep*
    Installed Packages
    gnustep-base-libs.x86_64

    # dnf remove gnustep-base-libs-1.24.9-1.el8.x86_64

  4. Delete any leftovers:

    # find / -name "GNU*"
    /var/lib/sogo/GNUstep
    /usr/lib64/GNUstep

    # mv /var/lib/sogo/GNUstep{,.bak}
    # mv /usr/lib64/GNUstep{,.bak}

  5. Exclude the dependencies from the EPEL repo as instructed in the official SOGo guide:

    # sed -i '/enabled=1/a exclude=gnustep* ytnef*' /etc/yum.repos.d/epel.repo

  6. Clean the package cache:

    # dnf clean all

  7. Reinstall the extension:

    # plesk bin extension -i sogo

    Note: Continue installation following the instructions in the extension itself inside Plesk.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.