Re: [Mailman-Users] Starting mailman on reboot

2019-02-28 Thread Odhiambo Washington
On Thu, 28 Feb 2019 at 19:23, Mark Sapiro  wrote:

> On 2/28/19 12:05 AM, Odhiambo Washington wrote:
> >
> > So what stops it from starting automatically on reboot is what beats me!
>
>
> Beats me too, but this is a systemd question, not a Mailman question,
> and I don't know the answer. If you haven't already done so, you might try
>
> update-rc.d mailman defaults
>

That is where I started before posting, even.


>
> With systemd, this shouldn't matter, but I'm not a systemd expert.
>

systemd can go to hell :-)

I have installed supervisor and added mailman to supervisor.conf:
[program:mailman]
command=/etc/init.d/mailman start

And I am good!


-- 
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


Re: [Mailman-Users] Starting mailman on reboot

2019-02-28 Thread Mark Sapiro
On 2/28/19 12:05 AM, Odhiambo Washington wrote:
> 
> So what stops it from starting automatically on reboot is what beats me!


Beats me too, but this is a systemd question, not a Mailman question,
and I don't know the answer. If you haven't already done so, you might try

update-rc.d mailman defaults

With systemd, this shouldn't matter, but I'm not a systemd expert.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter 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/archive%40jab.org


Re: [Mailman-Users] Starting mailman on reboot

2019-02-28 Thread Odhiambo Washington
On Wed, 27 Feb 2019 at 23:49, Mark Sapiro  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/0S+ 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/0S+ 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/0S+ 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/0S+ 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

Re: [Mailman-Users] Starting mailman on reboot

2019-02-27 Thread John
On 2/27/19 2:03 PM, I wrote:
> 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  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
> 

scratch the patching...  apparently something on my system is wonky, as mailman,
as expected, correctly tries to set up the required directories.

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


Re: [Mailman-Users] Starting mailman on reboot

2019-02-27 Thread John
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  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


Re: [Mailman-Users] Starting mailman on reboot

2019-02-27 Thread Mark Sapiro
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/0S+ 0:00 grep --color=auto mailman


At this point, Mailman is running. How did id start? Did you start it
manually or dit is start at boot?


> root@lists:/home/wash# /etc/init.d/mailman stop
> root@lists:/home/wash# ps ax | grep mailman
> 23845 pts/0S+ 0:00 grep --color=auto mailman


So now Mailmnan isn't running.


> root@lists:/home/wash# systemctl status mailman

irrelevant.


> 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/0S+ 0:00 grep --color=auto mailman
> 


And now you start Mailman and it's running.

So the question is does it start on a reboot? If not, try

systemctl enable mailman

to see if that fixes it.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter 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/archive%40jab.org


Re: [Mailman-Users] Starting mailman on reboot

2019-02-27 Thread Odhiambo Washington
On Wed, 27 Feb 2019 at 19:19, Mark Sapiro  wrote:

> On 2/27/19 1:45 AM, Odhiambo Washington wrote:
> >>
> > The script in misc/ is the only one named mailman though. There is none
> in
> > scripts/.
>
> That was a mistake in the manual. It is now fixed. See
> .
>
>
> > I copied that into etc/init.d/ and rebooted, but mailman did not come up
> > still.
>
>
> You may need 'chmod +x etc/init.d/'.
>

I did that too.


>
> What does 'systemctl status mailman' show?


root@lists:/home/wash# ls -al /etc/init.d/mailman
-rwxr-xr-x 1 root root  Feb 27 12:30 /etc/init.d/mailman
root@lists:/home/wash# systemctl status mailman
● mailman.service - LSB: GNU Mailman
   Loaded: loaded (/etc/init.d/mailman; generated)
   Active: failed (Result: protocol) since Wed 2019-02-27 12:40:17 EAT; 10h
ago
 Docs: man:systemd-sysv-generator(8)
  Process: 810 ExecStart=/etc/init.d/mailman start (code=exited,
status=0/SUCCES

Feb 27 12:40:13 lists systemd[1]: Starting LSB: GNU Mailman...
Feb 27 12:40:17 lists systemd[1]: mailman.service: New main PID 1993 does
not ex
Feb 27 12:40:17 lists systemd[1]: mailman.service: Failed with result
'protocol'
Feb 27 12:40:17 lists systemd[1]: Failed to start LSB: GNU Mailman.
lines 1-10/10 (END)...skipping...
● mailman.service - LSB: GNU Mailman
   Loaded: loaded (/etc/init.d/mailman; generated)
   Active: failed (Result: protocol) since Wed 2019-02-27 12:40:17 EAT; 10h
ago
 Docs: man:systemd-sysv-generator(8)
  Process: 810 ExecStart=/etc/init.d/mailman start (code=exited,
status=0/SUCCESS)

Feb 27 12:40:13 lists systemd[1]: Starting LSB: GNU Mailman...
Feb 27 12:40:17 lists systemd[1]: mailman.service: New main PID 1993 does
not exist or is a zombie.
Feb 27 12:40:17 lists systemd[1]: mailman.service: Failed with result
'protocol'.
Feb 27 12:40:17 lists systemd[1]: Failed to start LSB: GNU Mailman.

...
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/0S+ 0:00 grep --color=auto mailman

root@lists:/home/wash# /etc/init.d/mailman stop
root@lists:/home/wash# ps ax | grep mailman
23845 pts/0S+ 0:00 grep --color=auto mailman

root@lists:/home/wash# systemctl status mailman
● mailman.service - LSB: GNU Mailman
   Loaded: loaded (/etc/init.d/mailman; generated)
   Active: failed (Result: protocol) since Wed 2019-02-27 12:40:17 EAT; 10h
ago
 Docs: man:systemd-sysv-generator(8)
  Process: 810 ExecStart=/etc/init.d/mailman start (code=exited,
status=0/SUCCESS)

Feb 27 12:40:13 lists systemd[1]: Starting LSB: GNU Mailman...
Feb 27 12:40:17 lists systemd[1]: mailman.service: New main PID 1993 does
not exist or is a zombie.
Feb 27 12:40:17 lists systemd[1]: mailman.service: Failed with result
'protocol'.
Feb 27 12:40:17 lists systemd[1]: Failed to start LSB: GNU Mailman.

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/0S+ 0:00 grep --color=auto mailman

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)
---

Re: [Mailman-Users] Starting mailman on reboot

2019-02-27 Thread Mark Sapiro
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 The highway is for gamblers,
San Francisco Bay Area, Californiabetter 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/archive%40jab.org


Re: [Mailman-Users] Starting mailman on reboot

2019-02-27 Thread John
On 2/27/19 8:19 AM, Mark Sapiro wrote:
> On 2/27/19 1:45 AM, Odhiambo Washington wrote:
>> The script in misc/ is the only one named mailman though. There is none in
>> scripts/.
> That was a mistake in the manual. It is now fixed. See
> .
> 
> 
>> I copied that into etc/init.d/ and rebooted, but mailman did not come up
>> still.
> 
> You may need 'chmod +x etc/init.d/'.
> 
> What does 'systemctl status mailman' show?
> 

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.

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)
   Active: inactive (dead)
 Docs: man:systemd-sysv-generator(8)



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


Re: [Mailman-Users] Starting mailman on reboot

2019-02-27 Thread Mark Sapiro
On 2/27/19 1:45 AM, Odhiambo Washington wrote:
>>
> The script in misc/ is the only one named mailman though. There is none in
> scripts/.

That was a mistake in the manual. It is now fixed. See
.


> I copied that into etc/init.d/ and rebooted, but mailman did not come up
> still.


You may need 'chmod +x etc/init.d/'.

What does 'systemctl status mailman' show?

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter 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/archive%40jab.org


Re: [Mailman-Users] Starting mailman on reboot

2019-02-27 Thread Odhiambo Washington
On Tue, 26 Feb 2019 at 19:24, Mark Sapiro  wrote:

> On 2/26/19 5:56 AM, Odhiambo Washington wrote:
> > On Tue, 26 Feb 2019 at 15:23, mailman-admin <
> mailman-ad...@uni-konstanz.de>
> > wrote:
> >
> >> Am 26.02.19 um 08:59 schrieb Odhiambo Washington:
> >>> Server: Ubuntu 18.01
> >>>
> >>> I have followed these:
> >>> http://www.gnu.org/software/mailman/mailman-install/node42.html
> >>>
> >>>  % update-rc.d mailman defaults
> >>>
> >>> But still, mailman doesn't start on reboot.
> >>>
> >>> Nothing in the logs suggest any reason.
> >>>
> >>
> >> Ubuntu 18.04 is a systemd based distro.
> >> Per default it is not using system V init system anymore.
> >>
> >> Check systemd-sysv-generator for getting those running.
> >>
> >
> > The man page for systemd-sysv-generator is ... well, let me not say.
>
>
>
> systemd-sysv-generator runs at boot to generate temporary systemd
> services from /etc/init.d/* scripts for backwards compatibility with
> SysV init.
>
> If you have copied the init script from misc/mailman to
> /etc/init.d/mailman, it should work with systemd. Note that the script
> is misc/mailman, not scripts/mailman as it says in the manual. (I'm
> fixing that.)
>
>
The script in misc/ is the only one named mailman though. There is none in
scripts/.
I copied that into etc/init.d/ and rebooted, but mailman did not come up
still.


-- 
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


Re: [Mailman-Users] Starting mailman on reboot

2019-02-26 Thread Mark Sapiro
On 2/26/19 5:56 AM, Odhiambo Washington wrote:
> On Tue, 26 Feb 2019 at 15:23, mailman-admin 
> wrote:
> 
>> Am 26.02.19 um 08:59 schrieb Odhiambo Washington:
>>> Server: Ubuntu 18.01
>>>
>>> I have followed these:
>>> http://www.gnu.org/software/mailman/mailman-install/node42.html
>>>
>>>  % update-rc.d mailman defaults
>>>
>>> But still, mailman doesn't start on reboot.
>>>
>>> Nothing in the logs suggest any reason.
>>>
>>
>> Ubuntu 18.04 is a systemd based distro.
>> Per default it is not using system V init system anymore.
>>
>> Check systemd-sysv-generator for getting those running.
>>
> 
> The man page for systemd-sysv-generator is ... well, let me not say.



systemd-sysv-generator runs at boot to generate temporary systemd
services from /etc/init.d/* scripts for backwards compatibility with
SysV init.

If you have copied the init script from misc/mailman to
/etc/init.d/mailman, it should work with systemd. Note that the script
is misc/mailman, not scripts/mailman as it says in the manual. (I'm
fixing that.)

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter 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/archive%40jab.org


Re: [Mailman-Users] Starting mailman on reboot

2019-02-26 Thread Odhiambo Washington
On Tue, 26 Feb 2019 at 15:23, mailman-admin 
wrote:

> Am 26.02.19 um 08:59 schrieb Odhiambo Washington:
> > Server: Ubuntu 18.01
> >
> > I have followed these:
> > http://www.gnu.org/software/mailman/mailman-install/node42.html
> >
> >  % update-rc.d mailman defaults
> >
> > But still, mailman doesn't start on reboot.
> >
> > Nothing in the logs suggest any reason.
> >
>
> Ubuntu 18.04 is a systemd based distro.
> Per default it is not using system V init system anymore.
>
> Check systemd-sysv-generator for getting those running.
>

The man page for systemd-sysv-generator is ... well, let me not say.

Let me Google.


-- 
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


Re: [Mailman-Users] Starting mailman on reboot

2019-02-26 Thread mailman-admin
Am 26.02.19 um 08:59 schrieb Odhiambo Washington:
> Server: Ubuntu 18.01
> 
> I have followed these:
> http://www.gnu.org/software/mailman/mailman-install/node42.html
> 
>  % update-rc.d mailman defaults
> 
> But still, mailman doesn't start on reboot.
> 
> Nothing in the logs suggest any reason.
> 

Ubuntu 18.04 is a systemd based distro.
Per default it is not using system V init system anymore.

Check systemd-sysv-generator for getting those running.


Kind regards,
Christian Mack
--
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


[Mailman-Users] Starting mailman on reboot

2019-02-26 Thread Odhiambo Washington
Server: Ubuntu 18.01

I have followed these:
http://www.gnu.org/software/mailman/mailman-install/node42.html

 % update-rc.d mailman defaults

But still, mailman doesn't start on reboot.

Nothing in the logs suggest any reason.


-- 
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