[Pkg-mailman-hackers] Bug#894855: bind(): No such file or directory [core/socket.c line 230]
Purism Sysadmins
admins at puri.sm
Wed Apr 4 21:51:21 UTC 2018
Package: mailman3-web
Version: 0+20170523-13~bpo9+1
Severity: important
Dear Maintainer,
When I tried to install mailman3-full I got this:
```
Apr 04 12:36:10 lists systemd[1]: mailman3-web.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 12:36:10 lists systemd[1]: Failed to start Mailman3-web uWSGI service.
Apr 04 12:36:10 lists systemd[1]: mailman3-web.service: Unit entered failed state.
Apr 04 12:36:10 lists systemd[1]: mailman3-web.service: Failed with result 'exit-code'.
dpkg: error processing package mailman3-web (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mailman3-full:
mailman3-full depends on mailman3-web; however:
Package mailman3-web is not configured yet.
dpkg: error processing package mailman3-full (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for systemd (232-25+deb9u3) ...
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.36.5-2+deb9u2) ...
Errors were encountered while processing:
mailman3-web
mailman3-full
E: Sub-process /usr/bin/dpkg returned an error code (1)
W: Operation was interrupted before it could finish
```
Checking in the logs (/var/log/mailman3/web/mailman-web.log) I got this:
```
*** Starting uWSGI 2.0.14-debian (64bit) on [Wed Apr 4 12:36:10 2018] ***
compiled with version: 6.3.0 20170516 on 17 March 2018 15:41:47
os: Linux-4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02)
nodename: announcements
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 1
current working directory: /
detected binary path: /usr/bin/uwsgi-core
setgid() to 33
setuid() to 33
chdir() to /usr/share/mailman3-web
your processes number limit is 7931
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
bind(): No such file or directory [core/socket.c line 230]
```
My workaround was this:
```
mkdir /run/mailman3/web/
chown www-data:www-data /run/mailman3/web/
```
Regards,
Theodotos Andreou
Purism Sysadmin
-- System Information:
Debian Release: 9.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-6-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mailman3-web depends on:
ii dbconfig-sqlite3 2.0.9~bpo9+1
ii debconf [debconf-2.0] 1.5.61
ii lsb-base 9.20161125
ii node-less 1.6.3~dfsg-2
ii python 2.7.13-2
ii python-django-hyperkitty 1.1.4-4~bpo9+2
ii python-django-postorius 1.1.2-3~bpo9+2
ii python-psycopg2 2.6.2-1
ii python-whoosh 2.7.0-2
ii ruby-sass 3.4.23-1
ii ucf 3.0036
ii uwsgi 2.0.14+20161117-3+deb9u2
ii uwsgi-plugin-python 2.0.14+20161117-3+deb9u2
Versions of packages mailman3-web recommends:
ii libapache2-mod-proxy-uwsgi 2.0.14+20161117-3+deb9u2
Versions of packages mailman3-web suggests:
pn postgresql | default-mysql-server | virtual-mysql-server <none>
-- debconf information:
mailman3-web/superuser-password: (password omitted)
mailman3-web/app-password-confirm: (password omitted)
mailman3-web/password-confirm: (password omitted)
mailman3-web/internal/skip-preseed: false
mailman3-web/purge: false
mailman3-web/upgrade-error: abort
mailman3-web/db/dbname: mailman3web.db
mailman3-web/emailname: localhost.local
mailman3-web/django-site: lists.example.com
mailman3-web/install-error: abort
mailman3-web/superuser-name: admin
mailman3-web/passwords-do-not-match:
* mailman3-web/database-type: sqlite3
mailman3-web/superuser-mail: root at localhost
mailman3-web/dbconfig-remove: true
mailman3-web/internal/reconfiguring: false
mailman3-web/configure-webserver: none
mailman3-web/db/basepath: /var/lib/mailman3/web
* mailman3-web/dbconfig-install: true
mailman3-web/restart-webserver: true
mailman3-web/remove-error: abort
mailman3-web/dbconfig-upgrade: true
mailman3-web/nginx-choice:
mailman3-web/missing-db-package-error: abort
mailman3-web/upgrade-backup: true
mailman3-web/dbconfig-reinstall: false
More information about the Pkg-mailman-hackers
mailing list