8 Jan
2022
8 Jan
'22
8:31 p.m.
Hi Mark, Stephen, in fact, there isn't anything running on port 8000, even though I added the service description files under "/lib/systemd/system" as detailed in the HowTo.
Looking at "journalctl -xe", both the "gunicorn" and the "qcluster" service run into errors i don't understand:
(qcluster)
Jan 08 21:22:23 lists.mydomain.com systemd[1]: qcluster.service: Start request repeated too quickly. Jan 08 21:22:23 lists.mydomain.com systemd[1]: qcluster.service: Failed with result 'exit-code'. -- Subject: Unit failed -- Defined-By: systemd -- Support: http://www.ubuntu.com/support
-- The unit qcluster.service has entered the 'failed' state with result 'exit-code'. Jan 08 21:22:23 lists.mydomain.com systemd[1]: Failed to start HyperKitty async tasks runner. -- Subject: A start job for unit qcluster.service has failed -- Defined-By: systemd -- Support: http://www.ubuntu.com/support
-- A start job for unit qcluster.service has finished with a failure.
-- The job identifier is 734836 and the job result is failed.
(gunicorn)
Jan 08 21:24:58 lists.mydomain.com systemd[1]: gunicorn.service: Failed with result 'exit-code'. -- Subject: Unit failed -- Defined-By: systemd -- Support: http://www.ubuntu.com/support
-- The unit gunicorn.service has entered the 'failed' state with result 'exit-code'. ...skipping... Jan 08 21:24:57 lists.mydomain.com gunicorn[3707354]: File "/opt/mailman/mm/bin/gunicorn", line 14, in> Jan 08 21:24:57 lists.mydomain.com gunicorn[3707354]: sys.exit(gunicorn.app.wsgiapp.run()) Jan 08 21:24:57 lists.mydomain.com gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-pa> Jan 08 21:24:57 lists.mydomain.com gunicorn[3707354]: WSGIApplication("%(prog)s [OPTIONS] [APP_MODUL> Jan 08 21:24:57 lists.mydomain.com gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-pa> Jan 08 21:24:57 lists.mydomain.com gunicorn[3707354]: super().run() Jan 08 21:24:57 lists.mydomain.com gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-pa> Jan 08 21:24:57 lists.mydomain.com gunicorn[3707354]: Arbiter(self).run() Jan 08 21:24:57 lists.mydomain.com gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-pa> Jan 08 21:24:57 lists.mydomain.com gunicorn[3707354]: self.halt(reason=inst.reason, exit_status=inst> Jan 08 21:24:57 lists.mydomain.com gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-pa> Jan 08 21:24:57 lists.mydomain.com gunicorn[3707354]: self.stop() Jan 08 21:24:57 lists.mydomain.com gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-pa> Jan 08 21:24:57 lists.mydomain.com gunicorn[3707354]: time.sleep(0.1) Jan 08 21:24:57 lists.mydomain.com gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-pa> Jan 08 21:24:57 lists.mydomain.com gunicorn[3707354]: self.reap_workers() Jan 08 21:24:57 lists.mydomain.com gunicorn[3707354]: File "/opt/mailman/mm/venv/lib/python3.8/site-pa> Jan 08 21:24:57 lists.mydomain.com gunicorn[3707354]: raise HaltServer(reason, self.WORKER_BOOT_ERRO> Jan 08 21:24:57 lists.mydomain.com gunicorn[3707354]: gunicorn.errors.HaltServer: <HaltServer 'Worker fa> Jan 08 21:24:58 lists.mydomain.com systemd[1]: gunicorn.service: Main process exited, code=exited, statu> -- Subject: Unit process exited -- Defined-By: systemd -- Support: http://www.ubuntu.com/support
-- An ExecStart= process belonging to unit gunicorn.service has exited.
-- The process' exit code is 'exited' and its exit status is 1.
the qcluster.service and guncorn.service are 1:1 copies of the sample files provided in the base howto.
Do you know what is the problem now?
Cheers, Michael.