PROBLEMA WordPress senza lanciatore?

Pubblicità
i casi son due:
o hai paciugato con le conf di apache
o hai un altro webserver


metti screen con quello che ti esce con
Bash:
sudo systemctl status httpd.service
 
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf, 50-keep-warm.conf
Active: active (running) since Sun 2025-02-02 19:58:53 CET; 2min 10s ago
Invocation: b183ac763e1048339c3530ead3d48916
Docs: man:httpd.service(8)
Main PID: 1418 (httpd)
Status: "Total requests: 0; Idle/Busy workers 100/0;Requests/sec: 0; Bytes served/sec: 0 B/sec"
Tasks: 177 (limit: 37468)
Memory: 19.1M (peak: 22.1M)
CPU: 171ms
CGroup: /system.slice/httpd.service
├─1418 /usr/sbin/httpd -DFOREGROUND
├─1455 /usr/sbin/httpd -DFOREGROUND
├─1456 /usr/sbin/httpd -DFOREGROUND
├─1457 /usr/sbin/httpd -DFOREGROUND
└─1458 /usr/sbin/httpd -DFOREGROUND

feb 02 19:58:52 fedora.fritz.box systemd[1]: Starting httpd.service - The Apache HTTP Server...
feb 02 19:58:53 fedora.fritz.box (httpd)[1418]: httpd.service: Referenced but unset environment variable evaluates to an empty st>
feb 02 19:58:53 fedora.fritz.box httpd[1418]: Server configured, listening on: port 80
feb 02 19:58:53 fedora.fritz.box systemd[1]: Started httpd.service - The Apache HTTP Server.


Avrò paciugato. :(
 
uhm, ma hai scaricato il pacchetto di wordpress dai repository?
Da questo log sembra tutto ok.
Guarda se qui trovi errori
Bash:
sudo cat /var/log/httpd/error_log
 
[Sun Feb 02 09:19:02.863203 2025] [lbmethod_heartbeat:notice] [pid 1419:tid 1419] AH02282: No slotmem from mod_heartmonitor
[Sun Feb 02 09:19:02.864033 2025] [systemd:notice] [pid 1419:tid 1419] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Sun Feb 02 09:19:02.864184 2025] [mpm_event:notice] [pid 1419:tid 1419] AH00489: Apache/2.4.63 (Fedora Linux) configured -- resuming normal operations
[Sun Feb 02 09:19:02.864195 2025] [core:notice] [pid 1419:tid 1419] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Feb 02 09:37:03.441286 2025] [autoindex:error] [pid 5003:tid 5105] [client 127.0.0.1:56078] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Sun Feb 02 09:49:57.804294 2025] [autoindex:error] [pid 5003:tid 5116] [client ::1:33864] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Sun Feb 02 10:33:54.856029 2025] [mpm_event:notice] [pid 1419:tid 1419] AH00492: caught SIGWINCH, shutting down gracefully
[Sun Feb 02 10:33:55.947239 2025] [suexec:notice] [pid 11770:tid 11770] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Feb 02 10:33:55.955554 2025] [lbmethod_heartbeat:notice] [pid 11770:tid 11770] AH02282: No slotmem from mod_heartmonitor
[Sun Feb 02 10:33:55.956712 2025] [systemd:notice] [pid 11770:tid 11770] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Sun Feb 02 10:33:55.959604 2025] [mpm_event:notice] [pid 11770:tid 11770] AH00489: Apache/2.4.63 (Fedora Linux) configured -- resuming normal operations
[Sun Feb 02 10:33:55.959630 2025] [core:notice] [pid 11770:tid 11770] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Feb 02 10:34:40.942420 2025] [autoindex:error] [pid 11811:tid 11924] [client ::1:33836] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Sun Feb 02 11:04:27.958057 2025] [autoindex:error] [pid 11775:tid 11862] [client 127.0.0.1:44458] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Sun Feb 02 13:40:27.893427 2025] [autoindex:error] [pid 11811:tid 11932] [client ::1:41882] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Sun Feb 02 13:41:12.720519 2025] [autoindex:error] [pid 11811:tid 11937] [client ::1:49980] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Sun Feb 02 19:58:53.061425 2025] [suexec:notice] [pid 1418:tid 1418] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Feb 02 19:58:53.070943 2025] [lbmethod_heartbeat:notice] [pid 1418:tid 1418] AH02282: No slotmem from mod_heartmonitor
[Sun Feb 02 19:58:53.071730 2025] [systemd:notice] [pid 1418:tid 1418] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Sun Feb 02 19:58:53.073874 2025] [mpm_event:notice] [pid 1418:tid 1418] AH00489: Apache/2.4.63 (Fedora Linux) configured -- resuming normal operations
[Sun Feb 02 19:58:53.073893 2025] [core:notice] [pid 1418:tid 1418] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'


Ero convinto di averlo fatto. Ho controllato ed ho visto che non risulta tra gli installati. Ho provveduto ora con dnfdragora.
Però ho notato ora che installa di sua iniziativa anche nginx. Se chiedo di disinstallare nginx vuole disinstallare anche wordpress.
Comunque, sul primo mini-pc, fin'ora, è andato tutto bene.

Correzione: si tratta solo del pacchetto nginx-filesystem. Niente altro.
 
Ultima modifica:
Codice:
[Sun Feb 02 13:41:12.720519 2025] [autoindex:error] [pid 11811:tid 11937] [client ::1:49980] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive

il pacchetto wordpress lo devi disinstallare, idem ngix ed i suoi derivati..
Php lo hai installato??
 
ok dai un riavvio alla macchina e vedi se funzia su localhost..
Perchè sembra che stia cercando di servire altro e non quello che hai caricato..
 
ehm, proseguire...
Lì adesso basta che leggi, è in italiano :D
Metti username, passowrd,email e prosegui..
Poi basta fare così

Purtroppo io sono la persona meno adatta a spiegarti wordpress, perchè sono un accanito oppositore di sta monnezza di cms xD
Io sviluppo direttamente in php usando un framework creato da me ( closed source ) ed in altri casi laravel.
Ho in gestione un paio di siti con wordpress e mi piangono gli occhi ogni volta che ci metto mano o sudo freddo ad ogni aggiornamento di verisone
 
Pubblicità
Pubblicità
Indietro
Top