Mailman 3 on RHEL 7 help
Hi. I am trying to install mailman 3 on RHEL7. Docker install is not a possibility. I am trying to install it using a bundler by following https://media.readthedocs.org/pdf/mailman-bundler/stable/mailman-bundler.pdf, but after logging in as mailman, I can't do virtualenv venv. It works if I login as root, but still fails during buildout.
In short, I need help. Has anyone of you guys installed mailman 3 on RHEL 7 or CEntOS 7? If so would you share me detailed instructions? Thank you in advance.
On Thu, Oct 25, 2018, at 4:24 PM, A Almeda wrote:
Hi. I am trying to install mailman 3 on RHEL7. Docker install is not a possibility. I am trying to install it using a bundler by following https://media.readthedocs.org/pdf/mailman-bundler/stable/mailman-bundler.pdf, but after logging in as mailman, I can't do virtualenv venv. It works if I login as root, but still fails during buildout.
That document is quite a bit old.
You can find the latest instructions here1, if you face issues with instructions in there, please let us know.
In short, I need help. Has anyone of you guys installed mailman 3 on RHEL 7 or CEntOS 7? If so would you share me detailed instructions? Thank you in advance.
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)
Abhilash,
Thank you so much for the link. I believe I have a working mailman 3 now. However, after setting Debug to False, the django GUI turned ugly in plain html, like the css files are not being used. I have since done collectstatic which saved the static files to the project directory/static, installed uwsgi.mod_wsgi, and apache. I'm now trying to make the old GUI appear, but still no luck. I don't get any error when I start httpd, mailman or the django project. It just looks ugly still. I'm not a web person so please bear with me:
Anyway, I already added this to my httpd.conf:
<VirtualHost *:80> ServerName <myservername.myhost.com> DocumentRoot "/var/www/html" Include "/opt/mailman-suite/apache.conf" </VirtualHost>
here's the apache.conf that I included in the httpd.conf:
Alias /favicon.ico /opt/mailman-suite/mailman-suite_project/static/hyperkitty/favicon.ico Alias /static /opt/mailman-suite/mailman-suite_project/static
ErrorLog /var/log/httpd/hyperkitty_error.log CustomLog /var/log/httpd/hyperkitty_access.log combined
WSGIScriptAlias /hyperkitty /opt/mailman-suite/mailman-suite_project/wsgi.py WSGIDaemonProcess hyperkitty threads=25 python-path=/opt/mailman-suite/mailman-suite_project # If using VirtualEnv #WSGIDaemonProcess hyperkitty threads=25 python-path=/path/to/project:/path/to/your/venv/lib/python2.X/site-packages
<Directory "/opt/mailman-suite/mailman-suite_project"> <Files wsgi.py> Order deny,allow Allow from all </Files> WSGIProcessGroup hyperkitty Options +FollowSymlinks </Directory>
<Directory "/opt/mailman-suite/mailman-suite_project/static"> Order deny,allow Allow from all Options +FollowSymlinks </Directory>
Thank you so much for helping.
just to add:
http://myservername.myhost.com:8000 - gives me the ugly mailman interface with no CSS http://myservername.myhost.com:80 - brings me to the default index.html in /var/www/html http://myservername.myhost.com/static - gives me Forbidden - You don't have permission to access /static on this server.
Thank you.
On 10/30/18 5:07 PM, A Almeda wrote:
<Directory "/opt/mailman-suite/mailman-suite_project/static"> Order deny,allow Allow from all Options +FollowSymlinks </Directory>
If this is apache 2.4, you need
require all granted
instead of
Order deny,allow
Allow from all
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mark,
Thank you. I tried require all granted but still no luck. Anyway, I decided not to use a separate web server. I just installed whitenoise and am using the default django/postorius mailman webserver, still with DEBUG=False, and it looks ok to me. This should be safe for production right? I like that it's less complicated to setup.
Thanks.
Mark,
I don't see anything on the error log:
[Wed Oct 31 09:42:15.809519 2018] [mpm_prefork:notice] [pid 1613] AH00170: caught SIGWINCH, shutting down gracefully [Wed Oct 31 09:42:16.857815 2018] [suexec:notice] [pid 2583] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Wed Oct 31 09:42:16.871075 2018] [auth_digest:notice] [pid 2583] AH01757: generating secret for digest authentication ... [Wed Oct 31 09:42:16.871608 2018] [lbmethod_heartbeat:notice] [pid 2583] AH02282: No slotmem from mod_heartmonitor [Wed Oct 31 09:42:16.874951 2018] [mpm_prefork:notice] [pid 2583] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations [Wed Oct 31 09:42:16.874984 2018] [core:notice] [pid 2583] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' [Wed Oct 31 10:39:17.263725 2018] [mpm_prefork:notice] [pid 2583] AH00170: caught SIGWINCH, shutting down gracefully
On 11/1/18 10:03 AM, A Almeda wrote:
Mark,
I don't see anything on the error log: ...
Earlier you said
http://myservername.myhost.com/static - gives me Forbidden - You don't have permission to access /static on this server.
If that didn't produce anything in
ErrorLog /var/log/httpd/hyperkitty_error.log
you may have a permissions or other error preventing writing the log.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
A Almeda
-
Abhilash Raj
-
Mark Sapiro