Re: [Mailman-Developers] right adding of mailman 3 conf lines to httpd.conf

2015-06-01 Thread Danil Smirnov
2015-06-01 12:17 GMT+03:00 Aurelien Bompard aurel...@bompard.org:

 Ah, right, the fact that you have to create the directory and set the
 permissions for the production setup was not added in the README file.
 I'll fix that.
 I'm however surprised that you didn't get the error in your Apache
 logs without uncommenting the ErrorLog directive. Do you have anything
 in your apache error log?

Thanks Aurelien!
I've checked one more time - no, I have nothing related to the issue
in httpd logs.

Danil
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] right adding of mailman 3 conf lines to httpd.conf

2015-06-01 Thread Aurelien Bompard
 ValueError: Unable to configure handler 'file': [Errno 13] Permission
 denied: '/var/log/mailman-web/mailman-web.log'
 After I corrected permissions for log file mentioned I can access
 Postorius and Hyperkitty.
 Everything looks working, I will test in more details later.

Ah, right, the fact that you have to create the directory and set the
permissions for the production setup was not added in the README file.
I'll fix that.
I'm however surprised that you didn't get the error in your Apache
logs without uncommenting the ErrorLog directive. Do you have anything
in your apache error log?

Aurélien
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Re: [Mailman-Developers] right adding of mailman 3 conf lines to httpd.conf

2015-05-29 Thread Danil Smirnov
Thank you Stephen!

2015-05-29 19:06 GMT+03:00 Stephen J. Turnbull step...@xemacs.org:
 Is deployment/apache.conf distributed by Mailman (presumably in
 Mailman-Bundler)?  Have you changed it in *any* way (including
 anything that the installation instructions tell you do do)?

No.

 AFAICS from the modwsgi docs, just move the WSGISocketPrefix out of
 apache.conf and into a non-vhost area of httpd.conf and you should be
 golden.

It helps - I need to move these four directives outside of my
virtualhost section:

WSGISocketPrefix run/wsgi
WSGIRestrictStdout On
WSGIRestrictSignal Off
WSGIPythonOptimize 1

to get working httpd.conf but I still can not access Mailman web interface.

I tried https://domain.tld/ , https://domain.tld/mailman3 and both
with :8000 port.
Internal Server Error for the first couple, Not found for the second.

Also there is nothing in the logs.

If I open http://127.0.0.1:8000/mailman3 in `links` I got the error -
see it in the attach.

Danil
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] right adding of mailman 3 conf lines to httpd.conf

2015-05-29 Thread Danil Smirnov
 Also there is nothing in the logs.

After I uncommented in httpd.conf the line

ErrorLog /var/log/httpd/mailman-web_error.log

I've got more info about the issue.

It was permission error:

ValueError: Unable to configure handler 'file': [Errno 13] Permission
denied: '/var/log/mailman-web/mailman-web.log'

After I corrected permissions for log file mentioned I can access
Postorius and Hyperkitty.
Everything looks working, I will test in more details later.

Thanks!

Danil
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9