sympa-community / sympa

Sympa, Mailing List Management Software
https://www.sympa.community/sympa
GNU General Public License v2.0
237 stars 94 forks source link

Ubuntu distribution configuration issue #1816

Open smythp opened 3 months ago

smythp commented 3 months ago

Overview

I installed Sympa 6.2.66 using the Debian package on Ubuntu 22.04.2 LTS. After selecting sqlite3, the automatic config failed with a timeout. Trying to configure Sympa manually, it seems there's no sqlite3 script in the bin folder.

I'd appreciate any advice on resolving the install. The log is below.

info Sympa::Spool::Outgoing::_create_spool() Creating spool /var/spool/sym
pa/bulk/msg
info Sympa::Spool::Outgoing::_create_spool() Creating spool /var/spool/sym
pa/bulk/pct
info Sympa::Spool::Outgoing::_create_spool() Creating spool /var/spool/sym
pa/bulk/bad
info Sympa::Spool::Outgoing::_create_spool() Creating spool /var/spool/sym
pa/bulk/bad/msg
info Sympa::Spool::Outgoing::_create_spool() Creating spool /var/spool/sym
pa/bulk/bad/pct
notice main::process() bulkmailer table not found in database, bulk spool 
of your Sympa is probably up-to-date
Job for sympa.service failed because a timeout was exceeded.
See "systemctl status sympa.service" and "journalctl -xeu sympa.service" f
or details.
invoke-rc.d: initscript sympa, action "restart" failed.
● sympa.service - SYMPA mailing list manager
     Loaded: loaded (/lib/systemd/system/sympa.service; disabled; vendor p
reset: enabled)
     Active: activating (auto-restart) (Result: timeout) since Wed 2024-03
-20 00:03:52 UTC; 73ms ago
       Docs: man:sympa_msg(8)
    Process: 2907191 ExecStartPre=/bin/mkdir -p /run/sympa (code=exited, s
tatus=0/SUCCESS)
    Process: 2907196 ExecStartPre=/bin/chown sympa:sympa /run/sympa (code=
exited, status=0/SUCCESS)
    Process: 2907201 ExecStart=/usr/lib/sympa/bin/sympa_msg.pl (code=kille
d, signal=TERM)
        CPU: 4.463s

Mar 20 00:03:52 other systemd[1]: sympa.service: start operation timed out
. Terminating.
Mar 20 00:03:52 other systemd[1]: sympa.service: Failed with result 'timeo
ut'.
Mar 20 00:03:52 other systemd[1]: Failed to start SYMPA mailing list manag
er.
Mar 20 00:03:52 other systemd[1]: sympa.service: Consumed 4.463s CPU time.
dpkg: error processing package sympa (--configure):
 installed sympa package post-installation script subprocess returned erro
r exit status 1
Processing triggers for fontconfig (2.13.1-4.2ubuntu5) ...
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
Processing triggers for rsyslog (8.2112.0-2ubuntu2.2) ...
Processing triggers for man-db (2.10.2-1) ...
Errors were encountered while processing:
 sympa
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
ikedas commented 3 months ago

Hi @smythp ,

Please try: