I followed instructions provided here. Well, I rebooted the server and I'm
getting the same error again at the web page of

"Mailman REST API not available. Please start Mailman core."

I again found locks in /opt/mailman/mm/var/locks . Once I removed them I
could start mailman.

Perhaps I made a boo boo. I want mailman to start without locks upon reboot.

Help! (thanks)


-----Original Message-----
From: Mark Sapiro <m...@msapiro.net> 
Sent: Wednesday, February 12, 2025 1:12 PM
To: mailman-users@mailman3.org
Subject: [MM3-users] Re: Mailman REST API not available. Please start
Mailman core.

On 2/12/25 12:05, Christian via Mailman-users wrote:
> That worked.
> 
> Now on
> https://docs.mailman3.org/en/latest/install/virtualenv.html#starting-m
> ailman
> -automatically it says
> 
> "Pay attention to the config file output above and make sure that you 
> see /etc/mailman3/mailman.cfg there. If the config path is different, 
> you should make sure to create a new config file at 
> /etc/mailman3/mailman.cfg and re-run the command."
> 
> Well...mailman info yields
> 
> GNU Mailman 3.3.5 (Tom Sawyer)
> Python 3.7.3 (default, Mar 23 2024, 16:12:05) [GCC 8.3.0] config file: 
> /opt/mailman/mm/mailman.cfg db url: 
> postgres://mailman:5DqTHnv8hUQSdd@localhost/mailman
> devmode: DISABLED
> REST root url: http://localhost:8001/3.1/ REST credentials: 
> restadmin:restpass
> 
> Should I create a new config file at /etc/mailman3/mailman.cfg ?


You can, but the easiest thing is just replace the line

Environment="MAILMAN_CONFIG_FILE=/etc/mailman3/mailman.cfg"

in /etc/systemd/system/mailman3.service with

Environment="MAILMAN_CONFIG_FILE=/opt/mailman/mm/mailman.cfg"

-- 
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@mailman3.org To unsubscribe send
an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at:
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/
NYAIOPZ3PLQCPT3QPLLRKMOUY52UORBM/

This message sent to c...@web-analysts.net

_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/2IPGGYSDMIEYZ3OXEKQEGE7R6T3QWURT/

This message sent to arch...@mail-archive.com

Reply via email to