Bug#939377: citadel-server: After installation: Webcit cannot connect, server hangs
Package: citadel-server
Version: 917-2+b1
Severity: grave
Justification: renders package unusable
Dear Maintainer,
The installation could only be done after I manually removed Exim. I
also removed Apache, which might not have been necessary.
The Citadel server hangs directly after it is started, so that Webcit
and the comman-line client cannot connect:
# systemctl status citadel.service
● citadel.service - LSB: control citadel server start at boot time
Loaded: loaded (/etc/init.d/citadel; generated)
Active: active (exited) since Tue 2019-09-03 21:49:58 CEST; 4min 8s ago
Docs: man:systemd-sysv-generator(8)
Process: 469 ExecStart=/etc/init.d/citadel start (code=exited, status=0/SUCCESS)
Sep 03 21:49:53 frodo systemd[1]: Starting LSB: control citadel server start at boot time...
Sep 03 21:49:58 frodo systemd[1]: Started LSB: control citadel server start at boot time.
Sep 03 21:50:00 frodo citserver[666]: db: cursor still in progress on cdb 00: attempt to write during r/o cursor
So the server is lying as it reports success without actually working.
The files /var/lib/citadel/data/cdb* are owned by root:root. If I remove
them, they are recreated in the same way with the same error. The
situation is the same if I manually set their ownership to
citadel:citadel.
The files can be verified:
# db_verify cdb.0*
BDB5105 Verification of cdb.00 succeeded.
[…]
db-util/stable,now 5.3.1+nmu1 all [installed]
db5.3-util/stable,now 5.3.28+dfsg1-0.5 i386 [installed,automatic]
-- System Information:
Debian Release: 10.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 4.19.0-5-686-pae (SMP w/1 CPU core)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_IE:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages citadel-server depends on:
ii adduser 3.118
ii debconf [debconf-2.0] 1.5.71
ii libc6 2.28-10
ii libcitadel4 917-2
ii libcurl4 7.64.0-4
ii libdb5.3 5.3.28+dfsg1-0.5
ii libexpat1 2.2.6-2
ii libical3 3.0.4-3
ii libldap-2.4-2 2.4.47+dfsg-3
ii libpam0g 1.3.1-5
ii libsieve2-1 2.2.6-2
ii libssl1.1 1.1.1c-1
ii lsb-base 10.2019051400
ii openssl 1.1.1c-1
ii patch 2.7.6-3+deb10u1
ii zlib1g 1:1.2.11.dfsg-1
Versions of packages citadel-server recommends:
pn db4.6-util <none>
ii shared-mime-info 1.10-1
citadel-server suggests no packages.
-- Configuration Files:
/etc/citadel/messages/changepw [Errno 13] Permission denied: '/etc/citadel/messages/changepw'
/etc/citadel/messages/goodbye [Errno 13] Permission denied: '/etc/citadel/messages/goodbye'
/etc/citadel/messages/hello [Errno 13] Permission denied: '/etc/citadel/messages/hello'
/etc/citadel/messages/newuser [Errno 13] Permission denied: '/etc/citadel/messages/newuser'
/etc/citadel/messages/register [Errno 13] Permission denied: '/etc/citadel/messages/register'
/etc/citadel/messages/roomaccess [Errno 13] Permission denied: '/etc/citadel/messages/roomaccess'
/etc/citadel/messages/unlisted [Errno 13] Permission denied: '/etc/citadel/messages/unlisted'
-- debconf information:
* citadel/ServerIPAddress: 0.0.0.0
citadel/BadUser:
citadel/LDAPServer: 0.0.0.0
* citadel/LoginType: Internal
citadel/LDAPServerPort: 389
* citadel/Administrator: admin
citadel/LDAPBindDNPassword: OpenSesame
citadel/LDAPBaseDN: dc=example,dc=com
citadel/LDAPBindDN:
*** I had to remove the Citadel server as I needed a working MTA. ***
-- System Information:
Debian Release: 10.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 4.19.0-5-686-pae (SMP w/1 CPU core)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_IE:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages citadel-server depends on:
ii adduser 3.118
ii debconf [debconf-2.0] 1.5.71
ii libc6 2.28-10
ii libcitadel4 917-2
ii libcurl4 7.64.0-4
ii libdb5.3 5.3.28+dfsg1-0.5
ii libexpat1 2.2.6-2
ii libical3 3.0.4-3
ii libldap-2.4-2 2.4.47+dfsg-3
ii libpam0g 1.3.1-5
ii libsieve2-1 2.2.6-2
ii libssl1.1 1.1.1c-1
ii lsb-base 10.2019051400
ii openssl 1.1.1c-1
ii patch 2.7.6-3+deb10u1
ii zlib1g 1:1.2.11.dfsg-1
Versions of packages citadel-server recommends:
pn db4.6-util <none>
ii shared-mime-info 1.10-1
citadel-server suggests no packages.
Reply to: