
Hi Tom,
I ran the following sequence of commands as best I could interpret them for CentOS:
./configure --prefix=/usr/lib/mailman --with-username=mailman --with-groupname=mailman --with-cgi-gid=apache --with-mail-gid=mailman make service mailman stop make install service mailman start /usr/lib/mailman/bin/check_perms -f
After all that with no errors, when I try to start mailman I get this:
mailman.service - GNU Mailing List Manager Loaded: loaded (/usr/lib/systemd/system/mailman.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2020-09-11 08:39:55 MDT; 6s ago Process: 21345 ExecStart=/usr/lib/mailman/bin/mailmanctl -s start (code=exited, status=1/FAILURE) Process: 21342 ExecStartPre=/bin/chmod 660 /var/log/mailman/error (code=exited, status=0/SUCCESS) Process: 21339 ExecStartPre=/bin/chown mailman:mailman /var/log/mailman/error (code=exited, status=0/SUCCESS) Process: 21336 ExecStartPre=/bin/touch /var/log/mailman/error (code=exited, status=0/SUCCESS) Process: 21333 ExecStartPre=/usr/bin/install -m644 -o root -g root /usr/lib/mailman/cron/crontab.in /etc/cron.d/mailman (code=exited, status=0/SUCCESS) Process: 21329 ExecStartPre=/usr/lib/mailman/bin/mailman-update-cfg (code=exited, status=0/SUCCESS)
Sep 11 08:39:55 harmonia.csd.net mailmanctl[21345]: File "/usr/lib64/python2.7/codecs.py", line 881, in open Sep 11 08:39:55 harmonia.csd.net mailmanctl[21345]: file = __builtin__.open(filename, mode, buffering) Sep 11 08:39:55 harmonia.csd.net mailmanctl[21345]: IOError: [Errno 13] Permission denied: '/usr/lib/mailman/logs/error' Sep 11 08:39:55 harmonia.csd.net mailmanctl[21345]: Original log message: Sep 11 08:39:55 harmonia.csd.net mailmanctl[21345]: [Errno 13] Permission denied: '/usr/lib/mailman/logs/error' Sep 11 08:39:55 harmonia.csd.net mailmanctl[21345]: Sep 11 08:39:55 2020 (21345) Site list is missing: mailman Sep 11 08:39:55 harmonia.csd.net systemd[1]: mailman.service: control process exited, code=exited status=1 Sep 11 08:39:55 harmonia.csd.net systemd[1]: Failed to start GNU Mailing List Manager. Sep 11 08:39:55 harmonia.csd.net systemd[1]: Unit mailman.service entered failed state. Sep 11 08:39:55 harmonia.csd.net systemd[1]: mailman.service failed.
If I look at that file, it is missing. The directory seems correct:
drwxrwsr-x. 2 mailman mailman 19 Sep 11 08:39 logs
I should note that the first time I built/installed it, I had the wrong prefix directory (/var/lib/mailman) taken from the Ubuntu instructions. I also was not sure what to use for the other parameters but on CentOS everything is owned by user mailman:mailman. The 2.15 installation had that directory (/var/lib/mailman) but it was used by mailman for something else. So I don't know if by doing that, it messed things up beyond repair. If so I can reclone my production machine to this test machine and try again. Please advise. Thanks.
On 8/29/2020 5:18 PM, Tom Coradeschi wrote:
I found the info here to be of good use on ubuntu. Hopefully centos is similar enough that it’s useful to you.
https://wiki.list.org/DOC/5%20Downloading%20and%20installing%20Mailman
— Tom Coradeschi tjcora@icloud.com
On 29 Aug 2020, at 2:11 PM, Dennis Putnam <dap1@bellsouth.net> wrote:
Since Centos 7 is way behind on mailman rpm (2.1.15 is the only available rpm) and mailman is currently at 2.1.34 I need to do a manual update. While I know how to install software, I am concerned that just doing a manual install from the tarball will mess up current settings, lists and members. Does anyone have experience doing this that can advise about pitfalls or has a cookbook document to do a safe update? TIA.
Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-leave@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/
participants (1)
-
Dennis Putnam