On 17/2/21 18:11, Gelpi Andrea wrote:
Il 17/02/21 17:17, Gelpi Andrea ha scritto:
Il 17/02/21 17:08, Brian Carpenter ha scritto:
On 2/17/21 11:05 AM, Gelpi Andrea wrote:
Feb 17 17:00:24 posta mailman3[21303]: os.kill(pid, 0) Feb 17 17:00:24 posta mailman3[21303]:*PermissionError: [Errno 1] Operation not permitted* Feb 17 17:00:24 posta systemd[1]: mailman3.service: Control process exited, code=exited, status=1/FAILURE Feb 17 17:00:24 posta systemd[1]: mailman3.service: Failed with result 'exit-code'. It is a permission issue I believe, not a Django. How are you starting Mailman 3 and under what user?
Thank You for your quickly response. Mailman3 is started by the systems defaults
Systemctl mailman3 start
I don't know wich user. The default I suppose.
For some unknown reason in /var/lib/mailman3/lock there was a file master.lck.
I simply rename it and now mailman3 starts.
It happens when mailman doesn't close cleanly. You can use the --force param to start it and avoid the lock.