Accéder au contenu.
Menu Sympa

fr - [sympa-fr] probleme fastcgi sous apache CENTOS5

Objet : Pour les administrateurs de serveurs de listes utilisant le logiciel Sympa

Archives de la liste

Chronologique Discussions  
  • From: <adresse@cachée>
  • To: adresse@cachée
  • Subject: [sympa-fr] probleme fastcgi sous apache CENTOS5
  • Date: Wed, 28 Oct 2009 18:18:19 +0100

Bonsoir,
je suis entrain d'installer un srv sympa 6 sur centos. je rencontre
actuellement des problemes avec le suexec.
voici ma config virtuelle host dans http.conf
<VirtualHost 10.2.196.79:80>
ServerName vm-host79.justice.gouv.fr
SuExecUserGroup sympa sympa
# DocumentRoot /home/sympa/bin/
FastCgiServer /home/sympa/bin/wwsympa-wrapper.fcgi -processes 2
SetHandler fastcgi-script
AddHandler fastcgi-script .fcgi .fpl .pl
ScriptAlias /sympa /home/sympa/bin/wwsympa-wrapper.fcgi
Alias /static-sympa /home/sympa/static_content

et msg erreur dans wwsympa
(==) at /home/sympa/bin/wwsympa.fcgi line 1357.
[Wed Oct 28 17:33:44 2009] [error] [client 10.2.92.28] FastCGI: server "/
home/sympa/bin/wwsympa-wrapper.fcgi" stderr: Use of uninitialized value in
string eq at /home/sympa/bin/wwsympa.fcgi line 1381.
[Wed Oct 28 17:33:44 2009] [error] [client 10.2.92.28] FastCGI: server "/
home/sympa/bin/wwsympa-wrapper.fcgi" stderr: Use of uninitialized value in
string eq at /home/sympa/bin/wwsympa.fcgi line 1475.
[Wed Oct 28 17:33:44 2009] [error] [client 10.2.92.28] FastCGI: invalid
(dynamic) server "/home/sympa/static_content/css/style.css": access for
server (uid 48, gid 48) not allowed: execute not allowed, referer:
http://10.2.196.79/sympa
[Wed Oct 28 17:33:44 2009] [error] [client 10.2.92.28] FastCGI: invalid
(dynamic) server "/home/sympa/static_content/icons/logo_sympa.png": access
for server (uid 48, gid 48) not allowed: execute not allowed, referer:
http://10.2.196.79/sympa
[Wed Oct 28 17:33:44 2009] [error] [client 10.2.92.28] FastCGI: invalid
(dynamic) server "/home/sympa/static_content/icons/favicon_sympa.png":
access for server (uid 48, gid 48) not allowed: execute not allowed,
referer: http://10.2.196.79/sympa
[Wed Oct 28 17:33:44 2009] [error] [client 10.2.92.28] FastCGI: invalid
(dynamic) server "/home/sympa/static_content/icons/top.png": access for
server (uid 48, gid 48) not allowed: execute not allowed, referer:
http://10.2.196.79/sympa

et sur wwsympa log
Oct 28 17:25:04 vm-host79 wwsympa[15557]: [robot ] [client 10.2.92.28]
Config error: wwsympa should run with UID 500 (instead of 48). *** Switching
to maintenance mode. ***
Oct 28 17:25:04 vm-host79 wwsympa[15557]: [robot justice.gouv.fr] [session
43406233961595] [client 10.2.92.28] main::do_maintenance() do_maintenance()
Oct 28 17:33:44 vm-host79 wwsympa[15568]: [robot ] [client 10.2.92.28]
Config error: wwsympa should run with UID 500 (instead of 48). *** Switching
to maintenance mode. ***
Oct 28 17:33:44 vm-host79 wwsympa[15568]: [robot justice.gouv.fr] [session
95970137732397] [client 10.2.92.28] main::do_maintenance() do_maintenance()

et en vérifiant avec la commande ps :
on obteint
apache 15557 15556 0 17:24 ? 00:00:01 /usr/bin/perl -U /home/
sympa/bin/wwsympa.fcgi
apache 15568 15556 0 17:24 ? 00:00:01 /usr/bin/perl -U /home/
sympa/bin/wwsympa.fcgi
root 15909 15845 0 18:16 pts/1 00:00:00 grep wwsympa


en résumé : je cherche à forcer le lancement wwsympa.fcgi en uid 500 (user
sympa) au lien de user apache

merci pour votre aide
Minh-Paul





Archives gérées par MHonArc 2.6.19+.

Haut de le page