On Wed, 27 Feb 2019 at 23:49, Mark Sapiro <m...@msapiro.net> wrote: > On 2/27/19 12:21 PM, Odhiambo Washington wrote: > > > Not sure what is going on ... > > > > root@lists:/home/wash# ps ax | grep mailman > > 2422 ? Ss 0:00 /usr/bin/python > > /usr/local/mailman/bin/mailmanctl -s -q start > > 2423 ? S 0:05 /usr/bin/python2.7 > > /usr/local/mailman/bin/qrunner --runner=ArchRunner:0:1 -s > > 2424 ? S 0:05 /usr/bin/python2.7 > > /usr/local/mailman/bin/qrunner --runner=BounceRunner:0:1 -s > > 2425 ? S 0:04 /usr/bin/python2.7 > > /usr/local/mailman/bin/qrunner --runner=CommandRunner:0:1 -s > > 2426 ? S 0:05 /usr/bin/python2.7 > > /usr/local/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s > > 2427 ? S 0:04 /usr/bin/python2.7 > > /usr/local/mailman/bin/qrunner --runner=NewsRunner:0:1 -s > > 2428 ? S 0:07 /usr/bin/python2.7 > > /usr/local/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s > > 2429 ? S 0:07 /usr/bin/python2.7 > > /usr/local/mailman/bin/qrunner --runner=VirginRunner:0:1 -s > > 2430 ? S 0:00 /usr/bin/python2.7 > > /usr/local/mailman/bin/qrunner --runner=RetryRunner:0:1 -s > > 23841 pts/0 S+ 0:00 grep --color=auto mailman > > > At this point, Mailman is running. How did id start? Did you start it > manually or did is start at boot? >
Manually. I had listed the command lines on top of this output to show what was going on. > > root@lists:/home/wash# /etc/init.d/mailman stop > > root@lists:/home/wash# ps ax | grep mailman > > 23845 pts/0 S+ 0:00 grep --color=auto mailman > > > So now Mailmnan isn't running. > Because I have stopped it - manually. See the command above the 'ps ax'. > > > > root@lists:/home/wash# systemctl status mailman > > irrelevant. > Of course I was asked (or so I just included it) what output that would show. > > > > root@lists:/home/wash# systemctl start mailman > > root@lists:/home/wash# ps ax | grep mailman > > 23884 ? Ss 0:00 /usr/bin/python > > /usr/local/mailman/bin/mailmanctl -s -q start > > 23885 ? S 0:00 /usr/bin/python2.7 > > /usr/local/mailman/bin/qrunner --runner=ArchRunner:0:1 -s > > 23886 ? S 0:00 /usr/bin/python2.7 > > /usr/local/mailman/bin/qrunner --runner=BounceRunner:0:1 -s > > 23887 ? S 0:00 /usr/bin/python2.7 > > /usr/local/mailman/bin/qrunner --runner=CommandRunner:0:1 -s > > 23888 ? S 0:00 /usr/bin/python2.7 > > /usr/local/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s > > 23889 ? S 0:00 /usr/bin/python2.7 > > /usr/local/mailman/bin/qrunner --runner=NewsRunner:0:1 -s > > 23890 ? S 0:00 /usr/bin/python2.7 > > /usr/local/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s > > 23891 ? S 0:00 /usr/bin/python2.7 > > /usr/local/mailman/bin/qrunner --runner=VirginRunner:0:1 -s > > 23892 ? S 0:00 /usr/bin/python2.7 > > /usr/local/mailman/bin/qrunner --runner=RetryRunner:0:1 -s > > 23896 pts/0 S+ 0:00 grep --color=auto mailman > > > > > And now you start Mailman and it's running. > Yes! > > So the question is does it start on a reboot? True. > If not, try > > systemctl enable mailman > > to see if that fixes it. > It doesn't. I have even done: systemctl disable mailman systemctl enable mailman root@lists:/home/wash# shutdown -r now <-------------------------- Here I have rebooted login as: wash <-------------------------- I now login after reboot w...@lists.my.co.ke's password: Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-45-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information disabled due to load higher than 1.0 * 'snap info' now shows the freshness of each channel. Try 'snap info microk8s' for all the latest goodness. * Canonical Livepatch is available for installation. - Reduce system reboots and improve kernel security. Activate at: https://ubuntu.com/livepatch 4 packages can be updated. 2 updates are security updates. Last login: Thu Feb 28 10:46:03 2019 from 41.215.134.216 wash@lists:~$ ps ax | grep mailman <-------------------------------- checking whether mailman started on reboot 3438 pts/0 S+ 0:00 grep --color=auto mailman <------------- It did not... wash@lists:~$ sudo su <--------------------------------------------------- I now login as root [sudo] password for wash: root@lists:/home/wash# systemctl start mailman <----------------- I manually start mailman root@lists:/home/wash# ps ax | grep mailman <----------------- Checking whether it's really started and yes, it is. 3489 ? Ss 0:00 /usr/bin/python /usr/local/mailman/bin/mailmanctl -s -q start 3490 ? S 0:00 /usr/bin/python2.7 /usr/local/mailman/bin/qrunner --runner=ArchRunner:0:1 -s 3491 ? S 0:00 /usr/bin/python2.7 /usr/local/mailman/bin/qrunner --runner=BounceRunner:0:1 -s 3492 ? S 0:00 /usr/bin/python2.7 /usr/local/mailman/bin/qrunner --runner=CommandRunner:0:1 -s 3493 ? S 0:00 /usr/bin/python2.7 /usr/local/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s 3494 ? S 0:00 /usr/bin/python2.7 /usr/local/mailman/bin/qrunner --runner=NewsRunner:0:1 -s 3495 ? S 0:00 /usr/bin/python2.7 /usr/local/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s 3496 ? S 0:00 /usr/bin/python2.7 /usr/local/mailman/bin/qrunner --runner=VirginRunner:0:1 -s 3497 ? S 0:00 /usr/bin/python2.7 /usr/local/mailman/bin/qrunner --runner=RetryRunner:0:1 -s 3505 pts/0 S+ 0:00 grep --color=auto mailman root@lists:/home/wash# So what stops it from starting automatically on reboot is what beats me! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-) ------------------------------------------------------ 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