Aller au contenu

Messages recommandés

avant ou après, même résultat... pas de httpd-user-error.log

Peut être que je ne regarde pas au bon endroit ?

Le bon endroit est celui que tu as choisi de mettre en paramètre de la clause ErrorLog

Tu redémarres bien apache à chaque fois j'imagine?

Modifié par CoolRaoul
Lien vers le commentaire
Partager sur d’autres sites

  • Réponses 61
  • Créé
  • Dernière réponse

Meilleurs contributeurs dans ce sujet

Meilleurs contributeurs dans ce sujet

Si redémarrer le syno redémarre apache, alors oui (sinon je crois que je viens de te faire perdre ton temps... :blink: )

Ca c'est plutot radical comme solution, tu peux te contenter de

/usr/syno/etc/rc.d/S97apache-user.sh restart[/CODE]

Mais je ne comprend pas ce qui peut bien empécher le fichier de log de se créer...

En tout cas essaie de redémarrer les apaches des deux NAS avec ma commande, ça peut afficher des erreurs a l'écran qui peuvent nous être utiles.

Modifié par CoolRaoul
Lien vers le commentaire
Partager sur d’autres sites

On avance, on avance...

Voila ce que j'obtiens:

Barbe-Noire> /usr/syno/etc/rc.d/S97apache-user.sh restart

Start User Apache Server .....

Syntax error on line 523 of /usr/syno/apache/conf/httpd.conf:

LogLevel requires level keyword: one of emerg/alert/crit/error/warn/notice/info/debug

/usr/syno/etc/rc.d/S97apache-user.sh: user httpd could not be started

Barbe-Noire>

Lien vers le commentaire
Partager sur d’autres sites

On avance, on avance...

Voila ce que j'obtiens:

Barbe-Noire> /usr/syno/etc/rc.d/S97apache-user.sh restart

Start User Apache Server .....

Syntax error on line 523 of /usr/syno/apache/conf/httpd.conf:

LogLevel requires level keyword: one of emerg/alert/crit/error/warn/notice/info/debug

/usr/syno/etc/rc.d/S97apache-user.sh: user httpd could not be started

Barbe-Noire>

Tu as bien mis "trace2" apres "LogLevel" ?

Si oui et que tu as toujours cette erreur essaie de mettre debug a la place alors.

Tu as bien mis "trace2" apres "LogLevel" ?

Si oui et que tu as toujours cette erreur essaie de mettre debug a la place alors.

***EDIT***

Au passage ce n'est pas la peine de modifier directement les fichiers "/usr/syno/apache/conf/httpd.conf-user" (uniquement y mettre l'include)

Tu peux tous mettre dans le meme fichier ou tu fais ta conf reverse proxy

Lien vers le commentaire
Partager sur d’autres sites

avec débug, voici ce que j'obtiens...

Start User Apache Server .....

httpd: Syntax error on line 513 of /usr/syno/apache/conf/httpd.conf: Syntax error on line 5 of /usr/local/etc/hhtpd-local.conf: Expected </IfModulr> but saw </IfModule>

/usr/syno/etc/rc.d/S97apache-user.sh: user httpd could not be started

Barbe-Rouge>

Je ne sais pas si ça a un rapport (et oui, je suis vraiment une bille :unsure: ) mais Phpmyadin ne se lance plus... ("la connection a échoué")

Modifié par Boris
Lien vers le commentaire
Partager sur d’autres sites

Dans

avec débug, voici ce que j'obtiens...

Start User Apache Server .....

httpd: Syntax error on line 513 of /usr/syno/apache/conf/httpd.conf: Syntax error on line 5 of /usr/local/etc/hhtpd-local.conf: Expected </IfModulr> but saw </IfModule>

/usr/syno/etc/rc.d/S97apache-user.sh: user httpd could not be started

Barbe-Rouge>

Je ne sais pas si ça a un rapport (et oui, je suis vraiment une bille :unsure: ) mais Phpmyadin ne se lance plus... ("la connection a échoué")

Peux-tu nous remontrer l'intégralité du contenu de ton "/usr/local/etc/hhtpd-local.conf" stp?

Lien vers le commentaire
Partager sur d’autres sites

Voili voilou...

<IfModulr !proxy_module>

LoadModule proxy_module modules/mod_proxy.so

</IfModule>

<IfModule !proxy_connect_module>

LoadModule proxy_connect_module modules/mod_proxy_connect.so

</IfModule>

<IfModule !proxy_http_module>

LoadModule proxy_http_module modules/mod_proxy_http.so

</IfModule>

<IfModule !proxy_ftp_module>

LoadModule proxy_ftp_module modules/mod_proxy_ftp.so

</IfModule>

NameVirtualHost *:80

<VirtualHost *:80>

ServerName www.bogisa.fr

ProxyPass / http://192.168.1.18/wordpress/

ProxyPassReverse / http://192.168.1.18/wordpress/

</VirtualHost>

ErrorLog /var/log/httpd-user-error.log

LogLevel debug

Lien vers le commentaire
Partager sur d’autres sites

Après correction et redémarrage de l'appache, voila ce que j'obtiens:

Barbe-Rouge> /usr/syno/etc/rc.d/S97apache-user.sh restart

Start User Apache Server .....

Syntax error on line 515 of /usr/syno/apache/conf/httpd.conf:

LogLevel requires level keyword: one of emerg/alert/crit/error/warn/notice/info/debug

/usr/syno/etc/rc.d/S97apache-user.sh: user httpd could not be started

Barbe-Rouge>

Et après avoir mis debug au bon endroit..

Start User Apache Server .....

Syntax error on line 517 of /usr/syno/apache/conf/httpd.conf:

LogLevel takes one argument, Level of verbosity in error logging

/usr/syno/etc/rc.d/S97apache-user.sh: user httpd could not be started

Barbe-Rouge>

Lien vers le commentaire
Partager sur d’autres sites

Après correction et redémarrage de l'appache, voila ce que j'obtiens:

Barbe-Rouge> /usr/syno/etc/rc.d/S97apache-user.sh restart

Start User Apache Server .....

Syntax error on line 515 of /usr/syno/apache/conf/httpd.conf:

LogLevel requires level keyword: one of emerg/alert/crit/error/warn/notice/info/debug

/usr/syno/etc/rc.d/S97apache-user.sh: user httpd could not be started

Barbe-Rouge>

Peux-tu aller jeter un coup d'oeuil à la ligne 515 de "/usr/syno/apache/conf/httpd.conf" ?

Note: inutile de corriger ce fichier-la, il est généré à chaque démarrage apache a partir du contenu d'autres fichiers, parmi lesquels "httpd.conf-user"

Et après avoir mis debug au bon endroit..

Start User Apache Server .....

Syntax error on line 517 of /usr/syno/apache/conf/httpd.conf:

LogLevel takes one argument, Level of verbosity in error logging

/usr/syno/etc/rc.d/S97apache-user.sh: user httpd could not be started

Barbe-Rouge>

Mais c'est quel fichier que tu modifies exactement?

Modifié par CoolRaoul
Lien vers le commentaire
Partager sur d’autres sites

de 499 à 519 (la fin)

<Files *.js>

Header unset Etag

</Files>

<Files *.css>

Header unset Etag

</Files>

Include /usr/syno/etc/sites-enabled-user/*.conf

<VirtualHost *:80>

Include /usr/syno/etc/sites-enabled-user/*.conf

</VirtualHost>

Include /usr/local/etc/hhtpd-local.conf

LogLevel debug

ErrorLog /var/log/httpd-user-error.log

LogLevel debugInclude /usr/syno/etc/httpd-vhost.conf-user

DocumentRoot "/var/services/web"

Listen 81

Lien vers le commentaire
Partager sur d’autres sites

Mais on n'est pas forcément à la fin de nos problemes...

j'ai pensé a un truc (pour l'erreur "le serveur met trop de temps à répondre...")

As-tu bien supprimé les lignes de conf "reverse proxy" sur le NAS cible ? (celui qui héberge wordpress) ?

Ce n'est que sur le NAS "frontal" que le reverse doit être activé

Lien vers le commentaire
Partager sur d’autres sites

Sur le NAS cible j'ai supprimé le "include" à la fin de "/usr/syno/apache/conf/httpd.conf-user"

et j'ai supprimé le hhtpd-local.conf que j'avais créé...

Maintenant, en tapant www.bogisa.fr j'ai une page synology qui me dit que la page que je recherche est introuvable.

Y a t'il un moyen de savoir quel NAS génère cette page ? parceque si on arrive sur la bonne cible, peut être ça veut dire qu'il faudra juste que je reprenne les URL de wordpress (j'ai du laisser trainer des conneries..)

Modifié par Boris
Lien vers le commentaire
Partager sur d’autres sites

Sur le NAS cible j'ai supprimé le "include" à la fin de "/usr/syno/apache/conf/httpd.conf-user"

et j'ai supprimé le hhtpd-local.conf que j'avais créé

Bon, est-ce que les fichiers log sont bien créés maintenant?

si oui faire un test de connexion et voir leur contenu (ca peut être verbeux, plutot que de copier/coller dans le message mieux le mettre sur un service de partage en ligne et donner le lien)

Lien vers le commentaire
Partager sur d’autres sites

le log est bien généré (et il n'est pas très long)

[sat Nov 10 10:05:45 2012] [notice] Apache/2.2.22 (Unix) PHP/5.3.10 configured -- resuming normal operations

[sat Nov 10 10:05:45 2012] [info] Server built: Apr 20 2012 04:43:57

[sat Nov 10 10:05:45 2012] [debug] prefork.c(1023): AcceptMutex: sysvsem (default: sysvsem)

[sat Nov 10 10:05:45 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17321 for worker proxy:reverse

[sat Nov 10 10:05:45 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17321 for (*)

[sat Nov 10 10:05:45 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17319 for worker proxy:reverse

[sat Nov 10 10:05:45 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:05:45 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17319 for (*)

[sat Nov 10 10:05:45 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17320 for worker proxy:reverse

[sat Nov 10 10:05:45 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:05:45 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17320 for (*)

[sat Nov 10 10:06:52 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17411 for worker proxy:reverse

[sat Nov 10 10:06:52 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:06:52 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17411 for (*)

[sat Nov 10 10:07:02 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17420 for worker proxy:reverse

[sat Nov 10 10:07:02 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:07:02 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17420 for (*)

[sat Nov 10 10:07:03 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17422 for worker proxy:reverse

[sat Nov 10 10:07:03 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:07:03 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17422 for (*)

[sat Nov 10 10:07:03 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17421 for worker proxy:reverse

[sat Nov 10 10:07:03 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:07:03 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17421 for (*)

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17426 for worker proxy:reverse

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17426 for (*)

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17428 for worker proxy:reverse

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17428 for (*)

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17427 for worker proxy:reverse

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17427 for (*)

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17429 for worker proxy:reverse

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17429 for (*)

Lien vers le commentaire
Partager sur d’autres sites

Après un test de connection :

sur NAS1 (l'arrivée):

[sat Nov 10 10:05:45 2012] [notice] Apache/2.2.22 (Unix) PHP/5.3.10 configured -- resuming normal operations

[sat Nov 10 10:05:45 2012] [info] Server built: Apr 20 2012 04:43:57

[sat Nov 10 10:05:45 2012] [debug] prefork.c(1023): AcceptMutex: sysvsem (default: sysvsem)

[sat Nov 10 10:05:45 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17321 for worker proxy:reverse

[sat Nov 10 10:05:45 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17321 for (*)

[sat Nov 10 10:05:45 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17319 for worker proxy:reverse

[sat Nov 10 10:05:45 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:05:45 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17319 for (*)

[sat Nov 10 10:05:45 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17320 for worker proxy:reverse

[sat Nov 10 10:05:45 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:05:45 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17320 for (*)

[sat Nov 10 10:06:52 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17411 for worker proxy:reverse

[sat Nov 10 10:06:52 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:06:52 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17411 for (*)

[sat Nov 10 10:07:02 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17420 for worker proxy:reverse

[sat Nov 10 10:07:02 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:07:02 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17420 for (*)

[sat Nov 10 10:07:03 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17422 for worker proxy:reverse

[sat Nov 10 10:07:03 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:07:03 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17422 for (*)

[sat Nov 10 10:07:03 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17421 for worker proxy:reverse

[sat Nov 10 10:07:03 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:07:03 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17421 for (*)

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17426 for worker proxy:reverse

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17426 for (*)

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17428 for worker proxy:reverse

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17428 for (*)

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17427 for worker proxy:reverse

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17427 for (*)

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 17429 for worker proxy:reverse

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:07:04 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 17429 for (*)

[sat Nov 10 10:41:09 2012] [info] removed PID file /var/run/httpd-user.pid (pid=17314)

[sat Nov 10 10:41:09 2012] [notice] caught SIGTERM, shutting down

[sat Nov 10 10:41:11 2012] [notice] Apache/2.2.22 (Unix) PHP/5.3.10 configured -- resuming normal operations

[sat Nov 10 10:41:11 2012] [info] Server built: Apr 20 2012 04:43:57

[sat Nov 10 10:41:11 2012] [debug] prefork.c(1023): AcceptMutex: sysvsem (default: sysvsem)

[sat Nov 10 10:41:11 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 20321 for worker proxy:reverse

[sat Nov 10 10:41:11 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 20321 for (*)

[sat Nov 10 10:41:11 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 20322 for worker proxy:reverse

[sat Nov 10 10:41:11 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:41:11 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 20322 for (*)

[sat Nov 10 10:41:11 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 20320 for worker proxy:reverse

[sat Nov 10 10:41:11 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:41:11 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 20320 for (*)

[sat Nov 10 10:41:27 2012] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 1 in child 20360 for worker proxy:reverse

[sat Nov 10 10:41:27 2012] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[sat Nov 10 10:41:27 2012] [debug] proxy_util.c(1934): proxy: initialized single connection worker 1 in child 20360 for (*)

Et sur NAS2 (la cible) le fichier est généré mais il est vide

Lien vers le commentaire
Partager sur d’autres sites

et toujours "le serveur met trop de temps à répondre..." ?

Maintenant, en tapant www.bogisa.fr j'ai une page synology qui me dit que la page que je recherche est introuvable.

Y a t'il un moyen de savoir quel NAS génère cette page ? parceque si on arrive sur la bonne cible, peut être ça veut dire qu'il faudra juste que je reprenne les URL de wordpress (j'ai du laisser trainer des conneries..)

Ah j'avais loupé ca ...

Lien vers le commentaire
Partager sur d’autres sites

Invité
Ce sujet ne peut plus recevoir de nouvelles réponses.

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.