OVH Community, votre nouvel espace communautaire.

qmailadmin et sqwebmail


Alpha
13/08/2005, 23h19
cela à effectivement regler mon problem... merci a toi elgi. je commence a comprendre un peu mieux comment ca fonctionne maintenant. encor merci

Elgi
12/08/2005, 12h13
Alpha écrivait :
Voici les infos que tu as demander...

total 1276
drwxr-xr-x 5 ovh ovh 4096 aoû 6 00:45 .
drwxr-xr-x 5 ovh ovh 4096 jun 13 14:53 ..
-rwxr-xr-x 1 ovh ovh 5407 aoû 6 00:45 awredir.pl
-rwxr-xr-x 1 ovh ovh 18472 aoû 6 00:45 awstats_buildstaticpages.pl
-rwxr-xr-x 1 ovh ovh 12767 aoû 6 00:45 awstats_exportlib.pl
-r--r--r-- 1 ovh ovh 51900 aoû 6 00:45 awstats.model.conf
-rwxr-xr-x 1 ovh ovh 515656 aoû 6 00:45 awstats.pl
-rwxr-xr-x 1 ovh ovh 4576 aoû 6 00:45 awstats_updateall.pl
-rwxr-xr-x 1 ovh ovh 22212 aoû 6 00:45 configure.pl
drwxr-xr-x 2 ovh ovh 4096 aoû 6 00:45 lang
drwxr-xr-x 2 ovh ovh 4096 aoû 6 00:45 lib
-rwxr-xr-x 1 ovh ovh 27513 aoû 6 00:45 logresolvemerge.pl
-rwxr-xr-x 1 ovh ovh 25133 aoû 6 00:45 maillogconvert.pl
drwxr-xr-x 3 ovh ovh 4096 aoû 6 00:45 plugins
-rwxr-xr-x 1 ovh ovh 103740 jun 6 08:23 qmailadmin
-rwxr-xr-x 1 ovh ovh 444248 jun 6 08:23 sqwebmail
-rwxr-xr-x 1 ovh ovh 10535 aoû 6 00:45 urlaliasbuilder.pl


-----------------------------------------------------------------


ServerAdmin tech@ovh.net
DocumentRoot /home/ovh/www
User vpopmail
Group vchkpw
ServerName nsXXXXX.ovh.net
CustomLog logs/ovh-access_log combined
ScriptAlias /cgi-bin/ /home/ovh/cgi-bin/


Je te remercie d'avance de bien vouloir m'eclairer un peux sur le problem
regarde ton virtualhost, tu lui dis que le User de ce vhost est vpopmail, que son groupe est vchkpw.
le resultat de :
ls -al /home/ovh/cgi-bin
te montre que les fichiers sont pour user ovh et groupe ovh.
il y a donc une incoherence entre les droits des fichiers et le user et groupe definie dans apache (c'est suexec qui reclame que les scripts cgi aient pour user et groupe celui definie dans le vhost).

fait :
chown -R vpopmail. /home/ovh/cgi-bin/
ca devrais resoudre ton soucis.

Alpha
11/08/2005, 15h50
Voici les infos que tu as demander...

total 1276
drwxr-xr-x 5 ovh ovh 4096 aoû 6 00:45 .
drwxr-xr-x 5 ovh ovh 4096 jun 13 14:53 ..
-rwxr-xr-x 1 ovh ovh 5407 aoû 6 00:45 awredir.pl
-rwxr-xr-x 1 ovh ovh 18472 aoû 6 00:45 awstats_buildstaticpages.pl
-rwxr-xr-x 1 ovh ovh 12767 aoû 6 00:45 awstats_exportlib.pl
-r--r--r-- 1 ovh ovh 51900 aoû 6 00:45 awstats.model.conf
-rwxr-xr-x 1 ovh ovh 515656 aoû 6 00:45 awstats.pl
-rwxr-xr-x 1 ovh ovh 4576 aoû 6 00:45 awstats_updateall.pl
-rwxr-xr-x 1 ovh ovh 22212 aoû 6 00:45 configure.pl
drwxr-xr-x 2 ovh ovh 4096 aoû 6 00:45 lang
drwxr-xr-x 2 ovh ovh 4096 aoû 6 00:45 lib
-rwxr-xr-x 1 ovh ovh 27513 aoû 6 00:45 logresolvemerge.pl
-rwxr-xr-x 1 ovh ovh 25133 aoû 6 00:45 maillogconvert.pl
drwxr-xr-x 3 ovh ovh 4096 aoû 6 00:45 plugins
-rwxr-xr-x 1 ovh ovh 103740 jun 6 08:23 qmailadmin
-rwxr-xr-x 1 ovh ovh 444248 jun 6 08:23 sqwebmail
-rwxr-xr-x 1 ovh ovh 10535 aoû 6 00:45 urlaliasbuilder.pl


-----------------------------------------------------------------


ServerAdmin tech@ovh.net
DocumentRoot /home/ovh/www
User vpopmail
Group vchkpw
ServerName nsXXXXX.ovh.net
CustomLog logs/ovh-access_log combined
ScriptAlias /cgi-bin/ /home/ovh/cgi-bin/


Je te remercie d'avance de bien vouloir m'eclairer un peux sur le problem

Elgi
09/09/2004, 18h15
que te donne un :
ls -al /home/ovh/cgi-bin

met le resultat ici stp puis affiche nous aussi le virtualhost de ce domaine (voir dans le fichier httpd.conf et par default il s'agit du 1er virtualhost de ce fichier)

cooladn
08/09/2004, 16h43
Bonjour,

je me permets de vous poser mon problème car je suis perdu.

Pour faire simple:
les script qmailadmin et sqwebmail s'executent lorsqu'ils ont comme droit ovh.ovh avec un rep cgi-bin avec les droits ovh.ovh
Pourtant lorsque je me logue , j'ai systématiquement le message Inavlid User.

Ayant un autre serveur Dédié chez ovh, paramétré comme indiqué sur le forum avec les droits vpopmail.vchkpw sur le répertoire cgi-bin et les deux scripts, tout fonctionnent à merveille.
J'ai donc appliqué cette config à mon autre serveur sans succès.

Voici le message de mon fichier cgi.log
[2004-09-08 17:37:12]: info: (target/actual) uid: (ovh/ovh) gid: (ovh/ovh) cmd: qmailadmin
[2004-09-08 17:37:12]: error: target uid/gid (500/500) mismatch with directory (508/503) or program (508/503)

Pourtant lorsque je passe par le gestionnaire de fichier, mon répertoire cgi-bin et mes deux script ont bien les droits vpopmail.vchkpw

Pouvez vous m'expliquez pourquoi car là je suis perdu.