Service file:

[Unit]
Description=Mailman Master Queue Runner
After=network.target

[Service]
Type=forking
PIDFile=/var/run/mailman/mailman.pid
ExecStart=/usr/lib/mailman/bin/mailmanctl -s start
ExecStop=/usr/lib/mailman/bin/mailmanctl stop
ExecReload=/usr/lib/mailman/bin/mailmanctl restart
Restart=always
RestartSec=3s
RestartPreventExitStatus=1

[Install]
WantedBy=multi-user.target
Alias=mailman-qrunner.service

No joy on the chmod. Same error. Thanks. 

On Thu, May 23, 2019, at 10:17 AM, Mark Sapiro wrote:
> On 5/23/19 7:02 AM, Fabian A. Santiago wrote:
> > 
> > ok, the issue occurred again with the same error. the complaint is (from
> > systemctl status ... -l):
> > 
> > May 23 09:44:40 mail systemd[1]: mailman.service: Can't open PID file
> > /var/run/mailman/mailman.
> > 
> > journalctl -xe reports:
> > 
> > May 23 09:46:02 mail CRON[18652]: pam_unix(cron:session): session closed
> > for user sogo
> > May 23 09:46:10 mail systemd[1]: mailman.service: Start operation timed
> > out. Terminating.
> > May 23 09:46:10 mail systemd[1]: mailman.service: Failed with result
> > 'timeout'.
> > May 23 09:46:10 mail systemd[1]: Failed to start Mailman Master Queue
> > Runner.
> > -- Subject: Unit mailman.service has failed
> > 
> > there is no pid file present in that location. am i wrong in assuming
> > that gets created when the service starts?
> > 
> > the dir permissions in that path are:
> > 
> > root@mail:/var/run/mailman# ls -la
> > total 0
> > drwxr-xr-x 2 list list 40 May 23 09:41 .
> > drwxr-xr-x 38 root root 1260 May 23 09:06 ..
> 
> 
> It's hard to say without seeing the contents of your mailman.service
> file (or if it is generated by systemd-sysv-generator, the
> /etc/init.d/mailman file), but `chmod g+w /var/run/mailman` may help.
> 
> -- 
> Mark Sapiro <m...@msapiro.net> The highway is for gamblers,
> San Francisco Bay Area, California better use your sense - B. Dylan
> ------------------------------------------------------
> Mailman-Users mailing list Mailman-Users@python.org
> https://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: 
> https://mail.python.org/mailman/options/mailman-users/fsantiago%40gjb-online.com
> 

--

Fabian S.

OpenPGP:

0xA1250C2112D2D0E53E5BD964BBB5B16CFB701CD7

Quick link to shared public key:
https://keys.mailvelope.com/pks/lookup?op=get&search=0xBBB5B16CFB701CD7
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to