❯ systemctl status httpd

# josie.lol / 500

● httpd.service - the apache HTTP server
loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
active: failed (result: exit-code) since mon 2024-08-05 13:45:22 CEST; 2min ago
process: 2341 execstop=/bin/kill -TERM $MAINPID (code=exited, status=1/FAILURE)
process: 2342 execstart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
main PID: 2342 (code=exited, status=1/FAILURE)
status: "total requests: 0; current requests/sec: 0; current traffic: 0 B/sec"
❯ journalctl -xe | grep httpd
Aug 05 13:45:22 josie systemd[1]: httpd.service: Failed with result 'exit-code'.
Aug 05 13:45:22 josie systemd[1]: failed to start the apache HTTP server.
❯ cat /var/log/httpd/error_log | tail -n 3
[mon aug 05 13:45:22.662831 2024] [core:alert] [pid 2342] [client ::1:49812] 500 internal server error
[mon aug 05 13:45:22.662872 2024] [core:error] [pid 2342] [client ::1:49812] script execution failed
[mon aug 05 13:45:22.662901 2024] [core:notice] [pid 2342] AH00052: child pid 2343 exit signal segmentation fault (11)
❯ sudo systemctl restart httpd
[sudo] password for josie:
● httpd.service - the apache HTTP server
active: activating (start) since mon 2024-08-05 13:47:45 CEST; 2sec ago
❯ ▋
try again go back