❯ 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