systemctlを起動するとhttpd
エラーが発生します。
Warning: The unit file, source configuration file or drop-ins of httpd.service changed on disk. Run 'systemctl daemon-reload' to reload units.
実行しましたが、systemctl daemon-reload
エラーが続きます。
出力は次のとおりですsystemctl status httpd
。
Warning: The unit file, source configuration file or drop-ins of httpd.service changed on disk. Run 'systemctl daemon-reload' to reload units.
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/httpd.service.d
└─php-fpm.conf
Active: active (running) since Tue 2018-05-29 08:08:09 CDT; 4min 6s ago
Docs: man:httpd.service(8)
Main PID: 19471 (httpd)
Status: "Running, listening on: port 80"
Tasks: 213 (limit: 4500)
Memory: 18.8M
CGroup: /system.slice/httpd.service
├─19471 /usr/sbin/httpd -DFOREGROUND
├─19472 /usr/sbin/httpd -DFOREGROUND
├─19473 /usr/sbin/httpd -DFOREGROUND
├─19474 /usr/sbin/httpd -DFOREGROUND
└─19475 /usr/sbin/httpd -DFOREGROUND
問題をさらに診断するにはどうすればよいですか?
Fedora 28、systemd 238、apache 2.4.34を実行します。
ベストアンサー1
私は同じ問題に直面しました。ファイルと比較して、サーバーの日付がオフになっていますoverides.conf
。だから私はちょうど1つを作りましたtouch overides.conf
。その場所はです/etc/systemd/system/httpd.service.d
。
systemctl daemon-reload
日付が間違っていると当然予想通りにはなりませんよね?