It seems odd it would attempt to find the master script in /sbin. Could you
please provide the outputs of mailman info
and mailman conf
to assist
in troubleshooting?
-Kyle
On Tue, Jul 11, 2017 at 2:00 PM, Rafael Mora <rafael.mora.guti@gmail.com> wrote:
Hi Abhilash,
I'm trying to use Mailman 3 on my centos 7 virtual machine.
Those steps I wrote are from websites, the last console instructions are mine.
I don't use ubuntu, I use centos 7.
When I run the start command I get this: (venv3) [root@localhost mailman]# mailman start
Starting Mailman's master runner /root/dev/mailman/venv3/bin/python: can't open file '/sbin/master': [Errno 2] No such file or directory
What can I do?
Thank you
El mar., 11 jul. 2017 a las 12:31, Abhilash Raj (<raj.abhilash1@gmail.com
) escribió:
Hi Rafael,
On Tue, Jul 11, 2017, at 07:32 AM, Rafael Mora wrote:
Hello,
I want to install mailman 3 in a centos 7 virtual machine. I'm following these steps and I cannot make it work:
I am wondering if you are interested to setup a development environment or use Mailman 3? These instructions below are for working on Mailman, if you just need to deploy, instructions here1 would be the best.
cd ~
git clone https://gitlab.com/mailman/mailman.git
<https://gitlab.com/mailman/mailman.git>cd mailman
virtualenv -p python3 venv
source venv/bin/activate
python setup.py develop
- I am pretty sure this setup command will place a configuration file into
~/mailman/var/etc/mailman.cfg
. Edit this file.
mailman info
can confirm which configuration file is in usemailman start
will start up Mailman 3 Core. This is what thehttps://mailman.readthedocs.io/en/latest/src/mailman/ config/docs/config.html parent
background process command looks like in
ps -ef
:/home/ubuntu/mailman/venv/bin/python /home/ubuntu/mailman/venv/bin/master -C /home/ubuntu/mailman/var/etc/mailman.cfg
Looks like you are working as the ubuntu user here and the the virtualenv that you created exists at
/home/ubuntu/mailman/venv
.I also tried the steps on the website https://wiki.list.org/DEV/SetupDevEnvironment but it doesn't work either
What do you suggest?
This is what I get from console:
[root@localhost ~]# cd dev/
[root@localhost dev]# cd mailman/
[root@localhost mailman]# source venv3/bin/activate
Why do you try to user a different venv as a root user here? If you'd just try:
$ source /home/ubuntu/mailman/venv/bin/activate
and then try
$ mailman start
things would work!
However, this would be a different instance of mailman and would create the new configuration (and the entire var directory) at the directory you run this command from. If you want to inhibit this, you can either use the -C flag, or set MAILMAN_CONFIG_FILE environment variable to point to your one single configuration file.
(venv3) [root@localhost mailman]# cd mailman/
(venv3) [root@localhost mailman]# ls conf.py COPYING data README.rst src unittest.cfg contrib coverage.ini MANIFEST.in setup.cfg template.py copybump.py cron port_me setup.py tox.ini
(venv3) [root@localhost mailman]# cd ..
(venv3) [root@localhost mailman]# mailman start Starting Mailman's master runner /root/dev/mailman/venv3/bin/python: can't open file '/sbin/master': [Errno 2] No such file or directory
(venv3) [root@localhost mailman]#
Thank you
Hope that helps!
-- thanks, Abhilash Raj
Mailman-users mailing list mailman-users@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
--
Atentamente / Best Regards
Ing. Rafael Mora
Mailman-users mailing list mailman-users@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/