On Tue, 15 Aug 2017 23:15:57 -0400 Leon <best.sum@gmail.com> wrote:
Thanks for the reply. I used pip to install mailman
On Tue, Aug 15, 2017 at 10:59 PM, Abhilash Raj <maxking@asynchronous.in> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On Tue, 15 Aug 2017 18:45:14 -0400 Leon <best.sum@gmail.com> wrote:
Hello, I wonder if this issue(https://gitlab.com/
mailman/mailman/issues/3)
was fixed?It was fixed actually, but it might be a problem when the files aren't installed int the bin directory specified in the configuration.
I try to set up a mailing list on aws ec2(ubuntu). In the instruction( http://docs.mailman3.org/en/latest/prodsetup.html), it doesn't require
to
install mailman in a virtual env. However, when I tried to runmailman start
, it produces/usr/bin/python3: can't open file '/usr/bin/master': [Errno 2] No such file or directory
.Can you show us the contents of
mailman.cfg
that you are using?[paths.custom] var_dir: /home/ubuntu/mailman bin_dir: /sbin
If you change this to /usr/bin
, I think things should work!
queue_dir: /var/spool/mailman log_dir: /var/log/mailman lock_dir: /var/lock/mailman etc_dir: /etc ext_dir: /etc/mailman.d pid_file: /var/run/mailman/master.pid
[mailman] layout: custom
Exception: /usr/bin/python3: can't open file '/sbin/master': [Errno 2] No such file or directory
If you are using [paths.fhs], then I guess I can imagine why this is a problem.
@Barry: Is is wrong for the [paths.fhs] to set the
bin_dir
? No other paths configuration does this.When you install using any tool like
pip
, the console scripts usually land in/usr/local/bin
or/usr/bin
depending on the distro, but using the[paths.fhs]
doesn't work in these cases because the scripts are not in/sbin
and hence the error as presented above.thanks, Abhilash Raj