[warning] systemd[1]: dnf-makecache.service: Failed with result 'exit-code'. [err] systemd[1]: Failed to start dnf makecache. yum コマンドまたは /var/log/dnf.log に次のエラーが表示されます。"Curl error (37): Couldn't read a file:// file for file:///mnt/BaseOS/repodata/...
[warning] systemd[1]: dnf-makecache.service: Failed with result 'exit-code'. [err] systemd[1]: Failed to start dnf makecache. Theyumcommand or/var/log/dnf.logshows the following error: "Curl error (37): Couldn't read a file:// file for file:///mnt/BaseOS/repodata/repomd.xml [...
Aug 27 13:07:06 localhost.localdomain systemd[1]: Failed to start Crash recover> Aug 27 13:17:03 localhost.localdomain systemd[1]: Failed to start dnf makecache. lines 1-6/6 (END) 查看日志级别 [root@localhost ~]# journalctl -p err -u httpd -- Logs begin at Sat 2022-08-27 13:07...
Aug2713:07:06localhost.localdomain systemd[1]: Failedtostart Crash recover> Aug2713:17:03localhost.localdomain systemd[1]: Failedtostart dnf makecache. lines1-6/6(END) 查看日志级别 [root@localhost ~]# journalctl -p err -u httpd-- Logs begin at Sat 2022-08-27 13:07:00 CST, end at S...
Failed to read server status: Transport endpoint is not connected and ╭─username at rhel8base (WSL: rhel8-devops | kernel: 5.15.90.1-microsoft-standard-WSL2) in /mnt/c/Users/UserName ╰─ 23-04-28 - 12:41:42 ○ sudo systemctl restart dnf-makecache.service ...
[~]└─$systemctl list-units-i timer0loaded units listed.Pass--all to see loaded but inactive units,too.To show all installed unit files use'systemctl list-unit-files'.┌──[root@liruilongs.github.io]-[~]└─$systemctl list-unit-files-t timerUNITFILESTATEdnf-makecache.timer enabled ...
[~]└─$systemctl list-units-i timer0loaded units listed.Pass--all to see loaded but inactive units,too.To show all installed unit files use'systemctl list-unit-files'.┌──[root@liruilongs.github.io]-[~]└─$systemctl list-unit-files-t timerUNITFILESTATEdnf-makecache.timer enabled ...
# dnf clean all # dnf makecache 六、WSL2 与 systemd 进程 WSL2 本身是由 Windows 负责运行的,因此使用 tree 或 ps 命令时会看到根进程不是 systemd,这将导致无法启动 Linux 系统服务的守护进程(deamon)。当我们执行 systemctl 命令的时候,会显示出我们的 init system (PID 1) 并非 systemd,而是微软提供的...
[ OK ] Stopped dnf makecache timer. [ OK ] Stopped target Paths. [ OK ] Stopped Dispatch Password Requests to Console Directory Watch. [ OK ] Stopped Forward Password Requests to Wall Directory Watch. [ OK ] Stopped target Sockets.
1. 2. 3. 服务禁用 ┌──[root@liruilongs.github.io]-[~] └─$ systemctl mask httpd Created symlink /etc/systemd/system/httpd.service → /dev/null. ┌──[root@liruilongs.github.io]-[~] └─$ systemctl start httpd Failed to start httpd.service: Unit httpd.service is masked. ...