This isn't your immediate problem, but it is an issue. The above isn't too informative. What do you get if you run
/opt/mailman/mm/bin/django-admin qcluster
manually?
I get the following:
# /opt/mailman/mm/bin/django-admin qcluster 11:50:41 [Q] INFO Q Cluster autumn-sixteen-tango-march starting. 11:50:41 [Q] INFO Process-1:1 ready for work at 3725610 11:50:41 [Q] INFO Process-1:2 ready for work at 3725611 11:50:42 [Q] INFO Process-1:3 ready for work at 3725612 11:50:42 [Q] INFO Process-1:4 ready for work at 3725613 11:50:42 [Q] INFO Process-1:5 monitoring at 3725614 11:50:42 [Q] INFO Process-1 guarding cluster autumn-sixteen-tango-march 11:50:42 [Q] INFO Process-1:6 pushing tasks at 3725615 11:50:42 [Q] INFO Q Cluster autumn-sixteen-tango-march running.
And then nothing until I end the command with Ctrl-C.
It would help to see the full traceback, not truncated at the right. You can scroll the display to the right with the right arrow key or just find the messages in /var/log/syslog.
Sorry, I didn't realize that they were truncated. Here are ( I hope) the full logs from /var/log/syslog:
Jan 8 21:24:57 lists systemd[1]: Started GNU Mailman web interfaces. Jan 8 21:24:57 lists gunicorn[3707354]: !!! Jan 8 21:24:57 lists gunicorn[3707354]: !!! WARNING: configuration file should have a valid Python extension. Jan 8 21:24:57 lists gunicorn[3707354]: !!! Jan 8 21:24:57 lists gunicorn[3707354]: Traceback (most recent call last): Jan 8 21:24:57 lists gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 209, in run Jan 8 21:24:57 lists gunicorn[3707354]: self.sleep() Jan 8 21:24:57 lists gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 357, in sleep Jan 8 21:24:57 lists gunicorn[3707354]: ready = select.select([self.PIPE[0]], [], [], 1.0) Jan 8 21:24:57 lists gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 242, in handle_chld Jan 8 21:24:57 lists gunicorn[3707354]: self.reap_workers() Jan 8 21:24:57 lists gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 525, in reap_workers Jan 8 21:24:57 lists gunicorn[3707354]: raise HaltServer(reason, self.WORKER_BOOT_ERROR) Jan 8 21:24:57 lists gunicorn[3707354]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3> Jan 8 21:24:57 lists gunicorn[3707354]: During handling of the above exception, another exception occurred: Jan 8 21:24:57 lists gunicorn[3707354]: Traceback (most recent call last): Jan 8 21:24:57 lists gunicorn[3707354]: File "/opt/mailman/mm/bin/gunicorn", line 14, in <module> Jan 8 21:24:57 lists gunicorn[3707354]: sys.exit(gunicorn.app.wsgiapp.run()) Jan 8 21:24:57 lists gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 67, in run Jan 8 21:24:57 lists gunicorn[3707354]: WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run() Jan 8 21:24:57 lists gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-packages/gunicorn/app/base.py", line 231, in run Jan 8 21:24:57 lists gunicorn[3707354]: super().run() Jan 8 21:24:57 lists gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-packages/gunicorn/app/base.py", line 72, in run Jan 8 21:24:57 lists gunicorn[3707354]: Arbiter(self).run() Jan 8 21:24:57 lists gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 229, in run Jan 8 21:24:57 lists gunicorn[3707354]: self.halt(reason=inst.reason, exit_status=inst.exit_status) Jan 8 21:24:57 lists gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 342, in halt Jan 8 21:24:57 lists gunicorn[3707354]: self.stop() Jan 8 21:24:57 lists gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 393, in stop Jan 8 21:24:57 lists gunicorn[3707354]: time.sleep(0.1) Jan 8 21:24:57 lists gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 242, in handle_chld Jan 8 21:24:57 lists gunicorn[3707354]: self.reap_workers() Jan 8 21:24:57 lists gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 525, in reap_workers Jan 8 21:24:57 lists gunicorn[3707354]: raise HaltServer(reason, self.WORKER_BOOT_ERROR) Jan 8 21:24:57 lists gunicorn[3707354]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3> Jan 8 21:24:58 lists systemd[1]: gunicorn.service: Main process exited, code=exited, status=1/FAILURE Jan 8 21:24:58 lists systemd[1]: gunicorn.service: Failed with result 'exit-code'.