On 2/27/19 12:22 PM, Mark Sapiro wrote: > On 2/27/19 9:36 AM, John wrote: >> hmmm... I have mailman on 2 systems. One does not start on boot. Referencing >> the manual link, I have no misc/mailman on either system.(?) Both systems are >> ubuntu (different versions), with Virtualmin. > > misc/mailman is in the source distribution. If you installed the > Debian/Ubuntu package, you probably don't have that, but it appears you > do have /etc/init.d/mailman > >> From the failing system: >> root>systemctl status mailman >> ● mailman.service - LSB: Mailman Master Queue Runner >> Loaded: loaded (/etc/init.d/mailman; bad; vendor preset: enabled) > These are normal. > >> Active: inactive (dead) > This of course is not. > > Are the ownership and mode of /etc/init.d/mailman the same on both > systems and is there any difference in the contents? > > You might try 'systemctl enable mailman' on the non-starting system. > > -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco > Bay > Area, California better use your sense - B. Dylan
I forgot I found the problem before, reminded myself by debugging again... ;-) The directory /var/run/mailman is going away on reboot, so mailman can't create the pid file. The work-around is to create /var/run/mailman with the proper permissions & ownership and start the mailman service. I'm going to compare my 2 init.d files, if there is no difference, I am going to patch the init.d file to check for /var/run/mailman... Thanks, John ------------------------------------------------------ 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