Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 09/10/2024, à 06:53

pb_stri

Impossible d'accéder à install.php de Wordpress

Je viens ici après avoir cherché une réponse pendant plus de 10 heures, j'ai l'impression d'être le seul à rencontrer ce probleme alors qu'il me semble bien bête.
Je tente de faire fonctionner un site WordPress sur une machine à distante à laquelle j'accède via VPN, mais je ne peux jamais terminer le processus d'installation, car la page wordpress/wp-admin/install.php ne se charge jamais dans mon navigateur.
Je vais essayer de fournir autant d'informations et de traces que possible :

Apache wordpress.conf

    └─▪ cat /etc/apache2/sites-enabled/wordpress.conf 
<VirtualHost *:80>
    ServerName  test-stri.com
    DocumentRoot /var/www/html/wordpress
    <Directory /var/www/html/wordpress>
        Options FollowSymLinks
        AllowOverride Limit Options FileInfo
        DirectoryIndex index.php
        Require all granted
    </Directory>
    <Directory /var/www/html/wordpress/wp-content>
        Options FollowSymLinks
        Require all granted
    </Directory>
</VirtualHost>

Modules apache activés

└─▪ a2query -m
authn_file (enabled by maintainer script)
authn_core (enabled by maintainer script)
deflate (enabled by maintainer script)
authz_host (enabled by maintainer script)
authz_user (enabled by maintainer script)
filter (enabled by maintainer script)
env (enabled by maintainer script)
alias (enabled by maintainer script)
mpm_prefork (enabled by maintainer script)
access_compat (enabled by maintainer script)
authz_core (enabled by maintainer script)
rewrite (enabled by site administrator)
php8.3 (enabled by maintainer script)
auth_basic (enabled by maintainer script)
status (enabled by maintainer script)
reqtimeout (enabled by maintainer script)
mime (enabled by maintainer script)
setenvif (enabled by maintainer script)
dir (enabled by maintainer script)
autoindex (enabled by maintainer script)
negotiation (enabled by maintainer script)

Organisation du dossier contenant wordpress (dans /var/www/html/)

┌─[etu][server][.../html/wordpress]
└─▪ ls -la
total 244
drwxr-xr-x  5 www-data www-data  4096 oct.   9 07:07 .
drwxr-xr-x  3 root     www-data  4096 oct.   8 22:39 ..
-rwxr-xr-x  1 www-data www-data   405 févr.  6  2020 index.php
-rwxr-xr-x  1 www-data www-data 19915 janv.  1  2024 license.txt
-rwxr-xr-x  1 www-data www-data  7409 juin  18 13:59 readme.html
-rwxr-xr-x  1 www-data www-data  7387 févr. 13  2024 wp-activate.php
drwxr-xr-x  9 www-data www-data  4096 oct.   8 22:31 wp-admin
-rwxr-xr-x  1 www-data www-data   351 févr.  6  2020 wp-blog-header.php
-rwxr-xr-x  1 www-data www-data  2323 juin  14  2023 wp-comments-post.php
-rwxr-xr-x  1 www-data www-data  2520 oct.   9 07:07 wp-config.php
-rwxr-xr-x  1 www-data www-data  3033 mars  11  2024 wp-config-sample.php
drwxr-xr-x  4 www-data www-data  4096 oct.   9 07:21 wp-content
-rwxr-xr-x  1 www-data www-data  5638 mai   30  2023 wp-cron.php
drwxr-xr-x 30 www-data www-data 12288 sept. 10 17:23 wp-includes
-rwxr-xr-x  1 www-data www-data  2502 nov.  26  2022 wp-links-opml.php
-rwxr-xr-x  1 www-data www-data  3937 mars  11  2024 wp-load.php
-rwxr-xr-x  1 www-data www-data 51238 mai   28 13:13 wp-login.php
-rwxr-xr-x  1 www-data www-data  8525 sept. 16  2023 wp-mail.php
-rwxr-xr-x  1 www-data www-data 28774 juil.  9 17:43 wp-settings.php
-rwxr-xr-x  1 www-data www-data 34385 juin  19  2023 wp-signup.php
-rwxr-xr-x  1 www-data www-data  4885 juin  22  2023 wp-trackback.php
-rwxr-xr-x  1 www-data www-data  3246 mars   2  2024 xmlrpc.php

─▪ ls -la wp-admin/install.php 
-rwxr-xr-x 1 www-data www-data 17490 janv. 15  2024 wp-admin/install.php

Tcpdump sur le port 80 de la machine hébergeant le site, pour prouver qu'elle est reachable

tcpdump: listening on enp0s1, link-type EN10MB (Ethernet), snapshot length 262144 bytes
07:31:38.134392 IP (tos 0x0, ttl 60, id 0, offset 0, flags [DF], proto TCP (6), length 64)
    172.16.196.74.56557 > server.http: Flags [S], cksum 0x36ef (correct), seq 2910241573, win 65535, options [mss 65470,nop,wscale 6,nop,nop,TS val 550777707 ecr 0,sackOK,eol], length 0
07:31:38.134501 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60)
    server.http > 172.16.196.74.56557: Flags [S.], cksum 0x6417 (incorrect -> 0xdc0e), seq 1542933250, ack 2910241574, win 65160, options [mss 1460,sackOK,TS val 854822248 ecr 550777707,nop,wscale 7], length 0
07:31:38.179906 IP (tos 0x0, ttl 60, id 0, offset 0, flags [DF], proto TCP (6), length 64)
    172.16.196.74.56558 > server.http: Flags [S], cksum 0x7323 (correct), seq 141015465, win 65535, options [mss 65470,nop,wscale 6,nop,nop,TS val 1316386847 ecr 0,sackOK,eol], length 0
07:31:38.179978 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60)
    server.http > 172.16.196.74.56558: Flags [S.], cksum 0x6417 (incorrect -> 0x8c46), seq 1425137110, ack 141015466, win 65160, options [mss 1460,sackOK,TS val 854822294 ecr 1316386847,nop,wscale 7], length 0
07:31:38.192836 IP (tos 0x0, ttl 60, id 0, offset 0, flags [DF], proto TCP (6), length 52)
    172.16.196.74.56557 > server.http: Flags [.], cksum 0x0116 (correct), ack 1, win 2058, options [nop,nop,TS val 550777775 ecr 854822248], length 0
07:31:38.235711 IP (tos 0x0, ttl 60, id 0, offset 0, flags [DF], proto TCP (6), length 52)
    172.16.196.74.56558 > server.http: Flags [.], cksum 0xb14d (correct), ack 1, win 2058, options [nop,nop,TS val 1316386915 ecr 854822294], length 0
07:31:38.236878 IP (tos 0x0, ttl 60, id 0, offset 0, flags [DF], proto TCP (6), length 414)
    172.16.196.74.56558 > server.http: Flags [P.], cksum 0xeeff (correct), seq 1:363, ack 1, win 2058, options [nop,nop,TS val 1316386915 ecr 854822294], length 362: HTTP, length: 362
	GET / HTTP/1.1
	Host: test-stri.com
	Upgrade-Insecure-Requests: 1
	Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
	User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15
	Accept-Language: fr-FR,fr;q=0.9
	Accept-Encoding: gzip, deflate
	Connection: keep-alive
	
07:31:38.236994 IP (tos 0x0, ttl 64, id 62391, offset 0, flags [DF], proto TCP (6), length 52)
    server.http > 172.16.196.74.56558: Flags [.], cksum 0x640f (incorrect -> 0xb5b9), ack 363, win 507, options [nop,nop,TS val 854822351 ecr 1316386915], length 0
07:31:38.269443 IP (tos 0x0, ttl 64, id 62392, offset 0, flags [DF], proto TCP (6), length 430)
    server.http > 172.16.196.74.56558: Flags [P.], cksum 0x6589 (incorrect -> 0x0881), seq 1:379, ack 363, win 507, options [nop,nop,TS val 854822383 ecr 1316386915], length 378: HTTP, length: 378
	HTTP/1.1 302 Found
	Date: Wed, 09 Oct 2024 05:31:38 GMT
	Server: Apache/2.4.58 (Ubuntu)
	Expires: Wed, 11 Jan 1984 05:00:00 GMT
	Cache-Control: no-cache, must-revalidate, max-age=0
	X-Redirect-By: WordPress
	Location: http://test-stri.com/wp-admin/install.php
	Content-Length: 0
	Keep-Alive: timeout=5, max=100
	Connection: Keep-Alive
	Content-Type: text/html; charset=UTF-8
	
07:31:38.326676 IP (tos 0x0, ttl 60, id 0, offset 0, flags [DF], proto TCP (6), length 52)
    172.16.196.74.56558 > server.http: Flags [.], cksum 0xadbc (correct), ack 379, win 2052, options [nop,nop,TS val 1316387005 ecr 854822383], length 0
07:31:38.331974 IP (tos 0x0, ttl 60, id 0, offset 0, flags [DF], proto TCP (6), length 434)
    172.16.196.74.56557 > server.http: Flags [P.], cksum 0x05a0 (correct), seq 1:383, ack 1, win 2058, options [nop,nop,TS val 550777915 ecr 854822248], length 382: HTTP, length: 382
	GET /wp-admin/install.php HTTP/1.1
	Host: test-stri.com
	Upgrade-Insecure-Requests: 1
	Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
	User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15
	Accept-Language: fr-FR,fr;q=0.9
	Accept-Encoding: gzip, deflate
	Connection: keep-alive
	
07:31:38.332040 IP (tos 0x0, ttl 64, id 28246, offset 0, flags [DF], proto TCP (6), length 52)
    server.http > 172.16.196.74.56557: Flags [.], cksum 0x640f (incorrect -> 0x0455), ack 383, win 507, options [nop,nop,TS val 854822446 ecr 550777915], length 0
07:31:38.897535 IP (tos 0x0, ttl 64, id 28247, offset 0, flags [DF], proto TCP (6), length 2948)
    server.http > 172.16.196.74.56557: Flags [P.], cksum 0x6f5f (incorrect -> 0x2cc6), seq 1:2897, ack 383, win 507, options [nop,nop,TS val 854823011 ecr 550777915], length 2896: HTTP, length: 2896
	HTTP/1.1 200 OK
	Date: Wed, 09 Oct 2024 05:31:38 GMT
	Server: Apache/2.4.58 (Ubuntu)
	Expires: Wed, 11 Jan 1984 05:00:00 GMT
	Cache-Control: no-cache, must-revalidate, max-age=0
	Vary: Accept-Encoding
	Content-Encoding: gzip
	Content-Length: 4285
	Keep-Alive: timeout=5, max=100
	Connection: Keep-Alive
	Content-Type: text/html; charset=utf-8
	
07:31:38.897577 IP (tos 0x0, ttl 64, id 28249, offset 0, flags [DF], proto TCP (6), length 1787)
    server.http > 172.16.196.74.56557: Flags [P.], cksum 0x6ad6 (incorrect -> 0xbf38), seq 2897:4632, ack 383, win 507, options [nop,nop,TS val 854823011 ecr 550777915], length 1735: HTTP
07:31:38.898595 IP (tos 0x0, ttl 64, id 28251, offset 0, flags [DF], proto TCP (6), length 2900)
    server.http > 172.16.196.74.56557: Flags [P.], cksum 0x6f2f (incorrect -> 0xd49c), seq 1:2849, ack 383, win 507, options [nop,nop,TS val 854823011 ecr 550777915], length 2848: HTTP, length: 2848
	HTTP/1.1 200 OK
	Date: Wed, 09 Oct 2024 05:31:38 GMT
	Server: Apache/2.4.58 (Ubuntu)
	Expires: Wed, 11 Jan 1984 05:00:00 GMT
	Cache-Control: no-cache, must-revalidate, max-age=0
	Vary: Accept-Encoding
	Content-Encoding: gzip
	Content-Length: 4285
	Keep-Alive: timeout=5, max=100
	Connection: Keep-Alive
	Content-Type: text/html; charset=utf-8
	
07:31:38.898632 IP (tos 0x0, ttl 64, id 28253, offset 0, flags [DF], proto TCP (6), length 100)
    server.http > 172.16.196.74.56557: Flags [.], cksum 0x643f (incorrect -> 0x4f29), seq 2849:2897, ack 383, win 507, options [nop,nop,TS val 854823011 ecr 550777915], length 48: HTTP
07:31:38.898639 IP (tos 0x0, ttl 64, id 28254, offset 0, flags [DF], proto TCP (6), length 1787)
    server.http > 172.16.196.74.56557: Flags [P.], cksum 0x6ad6 (incorrect -> 0xbf38), seq 2897:4632, ack 383, win 507, options [nop,nop,TS val 854823011 ecr 550777915], length 1735: HTTP
07:31:38.998934 IP (tos 0x0, ttl 60, id 0, offset 0, flags [DF], proto TCP (6), length 64)
    172.16.196.74.56557 > server.http: Flags [.], cksum 0x6130 (correct), ack 1, win 2058, options [nop,nop,TS val 550778580 ecr 854822446,nop,nop,sack 1 {2849:2897}], length 0
07:31:39.524846 IP (tos 0x0, ttl 64, id 28256, offset 0, flags [DF], proto TCP (6), length 1476)
    server.http > 172.16.196.74.56557: Flags [.], cksum 0x699f (incorrect -> 0x221f), seq 1:1425, ack 383, win 507, options [nop,nop,TS val 854823639 ecr 550778580], length 1424: HTTP, length: 1424
	HTTP/1.1 200 OK
	Date: Wed, 09 Oct 2024 05:31:38 GMT
	Server: Apache/2.4.58 (Ubuntu)
	Expires: Wed, 11 Jan 1984 05:00:00 GMT
	Cache-Control: no-cache, must-revalidate, max-age=0
	Vary: Accept-Encoding
	Content-Encoding: gzip
	Content-Length: 4285
	Keep-Alive: timeout=5, max=100
	Connection: Keep-Alive
	Content-Type: text/html; charset=utf-8
	
07:31:40.740840 IP (tos 0x0, ttl 64, id 28257, offset 0, flags [DF], proto TCP (6), length 1476)
    server.http > 172.16.196.74.56557: Flags [.], cksum 0x699f (incorrect -> 0x1d5f), seq 1:1425, ack 383, win 507, options [nop,nop,TS val 854824855 ecr 550778580], length 1424: HTTP, length: 1424
	HTTP/1.1 200 OK
	Date: Wed, 09 Oct 2024 05:31:38 GMT
	Server: Apache/2.4.58 (Ubuntu)
	Expires: Wed, 11 Jan 1984 05:00:00 GMT
	Cache-Control: no-cache, must-revalidate, max-age=0
	Vary: Accept-Encoding
	Content-Encoding: gzip
	Content-Length: 4285
	Keep-Alive: timeout=5, max=100
	Connection: Keep-Alive
	Content-Type: text/html; charset=utf-8
	
07:31:43.172840 IP (tos 0x0, ttl 64, id 28258, offset 0, flags [DF], proto TCP (6), length 1476)
    server.http > 172.16.196.74.56557: Flags [.], cksum 0x699f (incorrect -> 0x13df), seq 1:1425, ack 383, win 507, options [nop,nop,TS val 854827287 ecr 550778580], length 1424: HTTP, length: 1424
	HTTP/1.1 200 OK
	Date: Wed, 09 Oct 2024 05:31:38 GMT
	Server: Apache/2.4.58 (Ubuntu)
	Expires: Wed, 11 Jan 1984 05:00:00 GMT
	Cache-Control: no-cache, must-revalidate, max-age=0
	Vary: Accept-Encoding
	Content-Encoding: gzip
	Content-Length: 4285
	Keep-Alive: timeout=5, max=100
	Connection: Keep-Alive
	Content-Type: text/html; charset=utf-8
	
07:31:43.274799 IP (tos 0x0, ttl 64, id 62393, offset 0, flags [DF], proto TCP (6), length 52)
    server.http > 172.16.196.74.56558: Flags [F.], cksum 0x640f (incorrect -> 0xa036), seq 379, ack 363, win 507, options [nop,nop,TS val 854827389 ecr 1316387005], length 0
07:31:43.401122 IP (tos 0x0, ttl 60, id 0, offset 0, flags [DF], proto TCP (6), length 52)
    172.16.196.74.56558 > server.http: Flags [.], cksum 0x865b (correct), ack 380, win 2052, options [nop,nop,TS val 1316392079 ecr 854827389], length 0
07:31:43.401123 IP (tos 0x0, ttl 60, id 0, offset 0, flags [DF], proto TCP (6), length 52)
    172.16.196.74.56558 > server.http: Flags [F.], cksum 0x865a (correct), seq 363, ack 380, win 2052, options [nop,nop,TS val 1316392079 ecr 854827389], length 0
07:31:43.401187 IP (tos 0x0, ttl 64, id 62394, offset 0, flags [DF], proto TCP (6), length 52)
    server.http > 172.16.196.74.56558: Flags [.], cksum 0x640f (incorrect -> 0x8be5), ack 364, win 507, options [nop,nop,TS val 854827515 ecr 1316392079], length 0
07:31:43.902948 IP (tos 0x0, ttl 64, id 28259, offset 0, flags [DF], proto TCP (6), length 52)
    server.http > 172.16.196.74.56557: Flags [F.], cksum 0x640f (incorrect -> 0xd9e0), seq 4632, ack 383, win 507, options [nop,nop,TS val 854828017 ecr 550778580], length 0
07:31:44.012847 IP (tos 0x0, ttl 60, id 0, offset 0, flags [DF], proto TCP (6), length 72)
    172.16.196.74.56557 > server.http: Flags [.], cksum 0xbb64 (correct), ack 1, win 2058, options [nop,nop,TS val 550783595 ecr 854822446,nop,nop,sack 2 {4632:4633}{2849:2897}], length 0
07:31:44.012915 IP (tos 0x0, ttl 64, id 28260, offset 0, flags [DF], proto TCP (6), length 1476)
    server.http > 172.16.196.74.56557: Flags [.], cksum 0x699f (incorrect -> 0xfcff), seq 1:1425, ack 383, win 507, options [nop,nop,TS val 854828127 ecr 550783595], length 1424: HTTP, length: 1424
	HTTP/1.1 200 OK
	Date: Wed, 09 Oct 2024 05:31:38 GMT
	Server: Apache/2.4.58 (Ubuntu)
	Expires: Wed, 11 Jan 1984 05:00:00 GMT
	Cache-Control: no-cache, must-revalidate, max-age=0
	Vary: Accept-Encoding
	Content-Encoding: gzip
	Content-Length: 4285
	Keep-Alive: timeout=5, max=100
	Connection: Keep-Alive
	Content-Type: text/html; charset=utf-8

Les seules erreures remontées par apache

└─▪ tail -f /var/log/apache2/error.log 
[Tue Oct 08 22:23:29.508269 2024] [php:error] [pid 15219] [client 172.16.196.74:54153] script '/srv/www/wordpress/wp-admin/inde.php' not found or unable to stat
[Tue Oct 08 22:31:04.270182 2024] [php:error] [pid 15217] [client 172.16.196.74:54185] script '/srv/www/wordpress/wp-admin/info.php' not found or unable to stat
[Tue Oct 08 22:40:59.186462 2024] [mpm_prefork:notice] [pid 14688] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 2001:678:3fc:2c:baad:caff:fefe:7b. Set the 'ServerName' directive globally to suppress this message
[Tue Oct 08 22:40:59.294649 2024] [mpm_prefork:notice] [pid 14688] AH00163: Apache/2.4.58 (Ubuntu) configured -- resuming normal operations
[Tue Oct 08 22:40:59.294677 2024] [core:notice] [pid 14688] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 08 22:42:26.177314 2024] [mpm_prefork:notice] [pid 14688] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 2001:678:3fc:2c:baad:caff:fefe:7b. Set the 'ServerName' directive globally to suppress this message
[Tue Oct 08 22:42:26.264980 2024] [mpm_prefork:notice] [pid 14688] AH00163: Apache/2.4.58 (Ubuntu) configured -- resuming normal operations
[Tue Oct 08 22:42:26.265006 2024] [core:notice] [pid 14688] AH00094: Command line: '/usr/sbin/apache2'

Est ce qu'un d'entre vous aurait une idée de ce qui peut clocher ?
Merci à vous

Dernière modification par pb_stri (Le 09/10/2024, à 06:54)

Hors ligne

#2 Le 12/10/2024, à 22:55

krodelabestiole

Re : Impossible d'accéder à install.php de Wordpress

pb_stri a écrit :

la page wordpress/wp-admin/install.php ne se charge jamais dans mon navigateur.

comment appelles-tu cette page depuis ton navigateur ? (quelle url ?)
et il se passe quoi exactement ? ça tourne indéfiniment ? que disent les process avec htop ?

Hors ligne