使用 systemd 作为问题定位工具

复制[root@yorktown ~]#systemctl status httpd httpd.service -TheApache HTTP ServerLoaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)Active: failed (Result:exit-code) since Thu2020-04-1611:54:37 EDT;15min agoDocs:man:httpd.service(8)Process:1101ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)Main PID:1101(code=exited, status=1/FAILURE)Status:"Reading configuration..."      CPU:60msApr1611:54:35 yorktown.both.org systemd[1]:StartingTheApache HTTP Server...Apr1611:54:37 yorktown.both.org httpd[1101]:(99)Cannot assign requested address: AH00072: make_sock: could not bind to address 192.168.0.52:80Apr1611:54:37 yorktown.both.org httpd[1101]:no listening sockets available, shutting downApr1611:54:37 yorktown.both.org httpd[1101]: AH00015:Unable to open logsApr1611:54:37 yorktown.both.org systemd[1]: httpd.service:Main process exited, code=exited, status=1/FAILUREApr1611:54:37 yorktown.both.org systemd[1]: httpd.service:Failedwith result exit-code.Apr1611:54:37 yorktown.both.org systemd[1]:Failed to start TheApache HTTP Server.[root@yorktown ~]#1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.

THE END
本站服务器由亿华云赞助提供-企业级高防云服务器