Subject: Pour les administrateurs de serveurs de listes utilisant le logiciel Sympa
List archive
- From: Mark Van Crombrugge <address@concealed>
- To: <address@concealed>
- Subject: Re: [sympa-fr] Sympa avec Apache 2.4??
- Date: Tue, 20 Dec 2016 10:35:46 +0100
Guillaume,
My Apache2 error log: (restarted a few times yesterday).
------------------------------ # more /var/log/apache2/error.log [Mon Dec 19 06:55:16.009556 2016] [:notice] [pid 16312] FastCGI: process manager initialized (pid 16312) [Mon Dec 19 06:55:16.044473 2016] [mpm_prefork:notice] [pid 18674] AH00163: Apache/2.4.7 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.20 configured -- resuming normal operations [Mon Dec 19 06:55:16.044512 2016] [core:notice] [pid 18674] AH00094: Command line: '/usr/sbin/apache2' [Mon Dec 19 09:48:35.404170 2016] [mpm_prefork:notice] [pid 18674] AH00169: caught SIGTERM, shutting down [Mon Dec 19 09:48:40.259644 2016] [suexec:notice] [pid 17922] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec) [Mon Dec 19 09:48:40.277899 2016] [:notice] [pid 17925] FastCGI: process manager initialized (pid 17925) [Mon Dec 19 09:48:40.301359 2016] [mpm_prefork:notice] [pid 17923] AH00163: Apache/2.4.7 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.20 configured -- resuming normal operations [Mon Dec 19 09:48:40.301414 2016] [core:notice] [pid 17923] AH00094: Command line: '/usr/sbin/apache2' [Mon Dec 19 09:48:49.853160 2016] [:warn] [pid 17925] FastCGI: (dynamic) server "/home/sympa/bin/wwsympa-wrapper.fcgi" started (pid 17936) [Mon Dec 19 16:02:19.688279 2016] [:error] [pid 17929] [client 91.196.50.33:48831] script '/var/www/html/testproxy.php' not found or unable to stat [Mon Dec 19 16:47:35.396162 2016] [mpm_prefork:notice] [pid 17923] AH00169: caught SIGTERM, shutting down [Mon Dec 19 16:47:42.097429 2016] [suexec:notice] [pid 21481] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec) [Mon Dec 19 16:47:42.117515 2016] [:notice] [pid 21483] FastCGI: process manager initialized (pid 21483) [Mon Dec 19 16:47:42.136653 2016] [mpm_prefork:notice] [pid 21482] AH00163: Apache/2.4.7 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.20 configured -- resuming normal operations [Mon Dec 19 16:47:42.136706 2016] [core:notice] [pid 21482] AH00094: Command line: '/usr/sbin/apache2' [Mon Dec 19 16:48:16.440716 2016] [:warn] [pid 21483] FastCGI: (dynamic) server "/home/sympa/bin/wwsympa-wrapper.fcgi" started (pid 21503) ------------------------------
If only there was an error message that showed me what is wrong, at least I would know where to look.
Here is sympa.conf: ------------------------------ /etc/apache2/sites-available# more sympa.conf <Location /sympa> Require all granted SetHandler fastcgi-script </Location>
<Directory "/home/sympa/static_content"> Require all granted </Directory>
Alias /static-sympa /home/sympa/static_content ScriptAlias /sympa /home/sympa/bin/wwsympa-wrapper.fcgi
<IfModule mod_fcgid.c> AddHandler fcgid-script .fcgi </IfModule>
Meanwhile, I have used your working sympa.conf file and adapted the pathnames, same result: “Mailing list server is in maitenenace mode...” This is how the file is now:
------------------------------ <IfModule mod_fcgid.c> IPCCommTimeout 300 # You wish to increase the value in following line, don't you? MaxProcessCount 5 MaxRequestLen 131072
# Don't forget to edit this section! <Location /sympa> SetHandler fcgid-script Require all granted </Location> # ScriptAlias /sympa /usr/libexec/sympa/wwsympa-wrapper.fcgi ScriptAlias /sympa /home/sympa/bin/wwsympa-wrapper.fcgi
# # You may uncomment following lines to enable SympaSOAP feature. # <Location /sympasoap> # SetHandler fcgid-script # # # Don't forget to edit lines below! # Order deny,allow # Deny from all # #Allow from all # </Location> # ScriptAlias /sympasoap /usr/libexec/sympa/sympa_soap_server-wrapper.fcgi </IfModule>
## Other static contents #Alias /static-sympa /var/lib/sympa/static_content Alias /static-sympa /home/sympa/static_content <Location /static-sympa> Require all granted </Location>
## If your host is dedicated to Sympa: #RewriteEngine on #RewriteRule ^/?$ /sympa [R=301] ------------------------------
Restarted Apache2: site is still in maintenance mode.
Think it will be faster to install everything on a new server?
Thanks for your help, enjoy the end of year festivities! Mark
From: <address@concealed> on behalf of Guillaume Laurès <address@concealed>
Hello Mark,
First, as of migrating from apache 2.2 to apache 2.4, here's a diff for the sympa.conf apache config file. I made it recently on a new install on a CentOS 7 host (rpm sympa-6.2.13-1.20160219.RHEL7.x86_64 seems to include an apache 2.2 config file) : -------------------- --- /etc/httpd/conf.d/sympa.conf.orig 2016-12-13 13:55:42.722640075 +0100 ------------- Basically you just need to update the syntax "order/deny/allow" to the new directive "require". Attached is the whole file I'm using with success now.
Next, what does say your httpd error_log ?
Thanks and best wishes to you and the list as well :-)
G. Laurès
|
-
[sympa-fr] Sympa avec Apache 2.4??,
Mark Van Crombrugge, 12/14/2016
-
RE: [sympa-fr] Sympa avec Apache 2.4??,
Philippe Aepli, 12/14/2016
- Re: [sympa-fr] Sympa avec Apache 2.4??, Elisabeth Piotelat, 12/15/2016
- <Possible follow-up(s)>
-
Re: [sympa-fr] Sympa avec Apache 2.4??,
Mark Van Crombrugge, 12/16/2016
-
Re: [sympa-fr] Sympa avec Apache 2.4??,
Guillaume Laurès, 12/16/2016
-
Re: [sympa-fr] Sympa avec Apache 2.4??,
Mark Van Crombrugge, 12/19/2016
- Re: [sympa-fr] Sympa avec Apache 2.4??, Guillaume Laurès, 12/20/2016
-
Re: [sympa-fr] Sympa avec Apache 2.4??,
Mark Van Crombrugge, 12/19/2016
-
Re: [sympa-fr] Sympa avec Apache 2.4??,
Guillaume Laurès, 12/16/2016
- Re: [sympa-fr] Sympa avec Apache 2.4??, Mark Van Crombrugge, 12/20/2016
-
RE: [sympa-fr] Sympa avec Apache 2.4??,
Philippe Aepli, 12/14/2016
Archive powered by MHonArc 2.6.19+.