mailman start - can't open file
Hi All,
On a new installation (pip), when starting Mailman it seems it cannot find the "master" file. Have I missed a configuration somewhere that tells it to look in "/usr/local/bin" rather than "/usr/bin"?
TIA, Mark
root@sfo:/etc# mailman start Starting Mailman's master runner /usr/bin/python3: can't open file '/usr/bin/master': [Errno 2] No such file or directory
root@sfo:/etc# ls -la /usr/local/bin total 1528 drwxrwsr-x 4 root staff 4096 Feb 7 05:22 . drwxrwsr-x 10 root staff 4096 Jan 23 23:12 .. -rwxr-xr-x 1 root staff 215 Feb 7 04:03 aiosmtpd -rwxr-xr-x 1 root staff 216 Feb 7 04:03 alembic -rwxr-xr-x 1 root staff 266 Feb 7 04:24 django-admin -rwxr-xr-x 1 root staff 125 Feb 7 04:24 django-admin.py -rwxr-xr-x 1 root staff 218 Feb 7 04:03 falcon-bench -rwxr-xr-x 1 root staff 225 Feb 7 04:03 falcon-print-routes -rwxr-xr-x 1 root staff 221 Feb 7 04:03 mailman -rwxr-xr-x 1 root staff 216 Feb 7 04:03 mako-render -rwxr-xr-x 1 root staff 220 Feb 7 04:03 master -rwxr-xr-x 1 root staff 214 Feb 7 04:03 nosetests -rwxr-xr-x 1 root staff 214 Feb 7 04:03 nosetests-3.4 drwxr-sr-x 2 root staff 4096 Feb 7 04:24 __pycache__ -rwxr-xr-x 1 root staff 220 Feb 7 04:03 runner -rwxr-xr-x 1 root staff 1496712 Feb 7 04:52 uwsgi drwxr-xr-x 12 root staff 4096 Feb 7 05:22 var
root@sfo:/etc# mailman info GNU Mailman 3.2.0 (La Villa Strangiato) Python 3.7.2+ (default, Feb 2 2019, 14:31:48) [GCC 8.2.0] config file: /etc/mailman.cfg db url: sqlite:////etc/var/data/mailman.db devmode: DISABLED REST root url: http://localhost:8001/3.1/ REST credentials: restadmin:restpass
On 2/6/19 9:58 PM, Mark Dale wrote:
Hi All,
On a new installation (pip), when starting Mailman it seems it cannot find the "master" file. Have I missed a configuration somewhere that tells it to look in "/usr/local/bin" rather than "/usr/bin"?
See <http://docs.mailman3.org/en/latest/config-core.html#configuring-filesystem-paths>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Thanks for the pointer Mark.
I've edited mailman.cfg as follows and all is well.
[paths.local] var_dir: /var/tmp/mailman bin_dir: /usr/local/bin log_dir: $var_dir/logs lock_dir: $var_dir/locks data_dir: $var_dir/data cache_dir: $var_dir/cache etc_dir: $var_dir/etc messages_dir: $var_dir/messages archive_dir: $var_dir/archives template_dir: $var_dir/templates pid_file: $var_dir/master.pid lock_file: $lock_dir/master.lck
[mailman] layout: local
Best, Mark
On 8/2/19 2:03 am, Mark Sapiro wrote:
On 2/6/19 9:58 PM, Mark Dale wrote:
Hi All,
On a new installation (pip), when starting Mailman it seems it cannot find the "master" file. Have I missed a configuration somewhere that tells it to look in "/usr/local/bin" rather than "/usr/bin"?
See <http://docs.mailman3.org/en/latest/config-core.html#configuring-filesystem-paths>.
participants (2)
-
Mark Dale
-
Mark Sapiro