Fedora 35를 사용하고 있으며 httpd 서비스를 다시 시작하려고 시도했지만 계속 오류가 표시됩니다. 나는 해결책을 찾기 위해 모든 곳을 찾았지만 아무 것도 작동하지 않는 것 같습니다.
아파치 버전
[root@fedora icaro]# httpd -v
Server version: Apache/2.4.52 (Fedora Linux)
Server built: Dec 22 2021 00:00:00
이것은 내 터미널의 출력입니다.
systemctl이 httpd를 시작합니다.
[root@fedora icaro]# systemctl start httpd
Job for httpd.service failed because the service did not take the steps required by its unit configuration.
See "systemctl status httpd.service" and "journalctl -xeu httpd.service" for details.
systemctl 상태 httpd.service
[root@fedora icaro]# systemctl status httpd.service
× httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/httpd.service.d
└─php-fpm.conf
Active: failed (Result: protocol) since Thu 2022-01-27 13:14:27 -03; 3min 6s ago
Docs: man:httpd.service(8)
Process: 13888 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=0/SUCCESS)
Main PID: 13888 (code=exited, status=0/SUCCESS)
Status: "Reading configuration..."
CPU: 305ms
jan 27 13:14:26 fedora systemd[1]: Starting The Apache HTTP Server...
jan 27 13:14:27 fedora httpd[13888]: httpd (pid 4826) already running
jan 27 13:14:27 fedora systemd[1]: httpd.service: Failed with result 'protocol'.
jan 27 13:14:27 fedora systemd[1]: Failed to start The Apache HTTP Server.
Journalctl -xeu httpd.service
[root@fedora icaro]# journalctl -xeu httpd.service
jan 27 13:14:26 fedora systemd[1]: Starting The Apache HTTP Server...
░░ Subject: Unidade httpd.service sendo iniciado
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A unidade httpd.service está sendo iniciada.
jan 27 13:14:27 fedora httpd[13888]: httpd (pid 4826) already running
jan 27 13:14:27 fedora systemd[1]: httpd.service: Failed with result 'protocol'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit httpd.service has entered the 'failed' state with result 'protocol'.
jan 27 13:14:27 fedora systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: A unidade httpd.service falhou
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A unidade httpd.service falhou.
░░
░░ O resultado é failed.
언급했듯이 나는 모든 곳을 보았지만 아무것도 작동하지 않았습니다. 도와주세요.
고쳐 쓰다
SS-펀트 | grep -E ":80|:443"
[root@fedora ~]# ss -punt | grep -E ":80|:443"
tcp ESTAB 0 0 192.168.1.10:50250 52.89.17.198:443 users:(("GeckoMain",pid=3464,fd=64))
tcp ESTAB 0 0 192.168.1.10:55224 151.101.1.69:443 users:(("GeckoMain",pid=3464,fd=108))
tcp CLOSE-WAIT 1 0 192.168.1.10:47796 34.120.208.123:443 users:(("chrome-gnome-sh",pid=3794,fd=139))
tcp ESTAB 0 0 192.168.1.10:41316 198.252.206.25:443 users:(("GeckoMain",pid=3464,fd=159))
tcp ESTAB 0 0 192.168.1.10:47910 34.120.208.123:443 users:(("GeckoMain",pid=3464,fd=161))
tcp ESTAB 0 0 192.168.1.10:44920 108.139.113.74:443 users:(("GeckoMain",pid=3464,fd=163))
tcp CLOSE-WAIT 0 0 [2804:29b8:5073:143b:fdd4:6254:be11:d6f6]:44528 [2600:1f1e:fa1:6501:3e3a:64bc:f0b8:a6e6]:443 users:(("chrome-gnome-sh",pid=3794,fd=172))