看日志,journalctl -b 啥的(自己加合适的参数来找寻相关日志)。
离线
看日志,journalctl -b 啥的(自己加合适的参数来找寻相关日志)。
journalctl -b
7月 17 21:39:33 e31231v3 kernel: microcode: updated early: 0x25 -> 0x28, date = 2019-11-12
7月 17 21:39:33 e31231v3 kernel: Linux version 6.4.3-arch1-1 (linux@archlinux) (gcc (GCC) 13.1.1 20230429, GNU ld (GNU Binutils) 2.40.0) #1 >
7月 17 21:39:33 e31231v3 kernel: Command line: BOOT_IMAGE=/@/boot/vmlinuz-linux root=UUID=3e6fa055-85ce-4641-bec1-75e77b474b4e rw rootflags=>
7月 17 21:39:33 e31231v3 kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
7月 17 21:39:33 e31231v3 kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
7月 17 21:39:33 e31231v3 kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
7月 17 21:39:33 e31231v3 kernel: x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
7月 17 21:39:33 e31231v3 kernel: x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
7月 17 21:39:33 e31231v3 kernel: signal: max sigframe size: 1776
7月 17 21:39:33 e31231v3 kernel: BIOS-provided physical RAM map:
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x0000000000000000-0x0000000000057fff] usable
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x0000000000058000-0x0000000000058fff] reserved
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x0000000000059000-0x000000000009efff] usable
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x000000000009f000-0x000000000009ffff] reserved
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x0000000000100000-0x00000000d91a1fff] usable
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x00000000d91a2000-0x00000000d91a8fff] ACPI NVS
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x00000000d91a9000-0x00000000de57bfff] usable
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x00000000de57c000-0x00000000de611fff] reserved
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x00000000de612000-0x00000000de724fff] usable
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x00000000de725000-0x00000000deb53fff] ACPI NVS
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x00000000deb54000-0x00000000def84fff] reserved
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x00000000def85000-0x00000000deffefff] type 20
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x00000000defff000-0x00000000deffffff] usable
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x00000000fed00000-0x00000000fed03fff] reserved
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
7月 17 21:39:33 e31231v3 kernel: BIOS-e820: [mem 0x0000000100000000-0x000000041effffff] usable
7月 17 21:39:33 e31231v3 kernel: NX (Execute Disable) protection: active
7月 17 21:39:33 e31231v3 kernel: efi: EFI v2.3.1 by American Megatrends
7月 17 21:39:33 e31231v3 kernel: efi: ESRT=0xdef83998 ACPI=0xdeb2d000 ACPI 2.0=0xdeb2d000 SMBIOS=0xf05b0
7月 17 21:39:33 e31231v3 kernel: efi: Remove mem60: MMIO range=[0xf8000000-0xfbffffff] (64MB) from e820 map
7月 17 21:39:33 e31231v3 kernel: e820: remove [mem 0xf8000000-0xfbffffff] reserved
7月 17 21:39:33 e31231v3 kernel: efi: Not removing mem61: MMIO range=[0xfec00000-0xfec00fff] (4KB) from e820 map
7月 17 21:39:33 e31231v3 kernel: efi: Not removing mem62: MMIO range=[0xfed00000-0xfed03fff] (16KB) from e820 map
离线
看日志,journalctl -b 啥的(自己加合适的参数来找寻相关日志)。
再帮忙看看这个docker的日志,感谢!
systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; preset: disabled)
Active: active (running) since Mon 2023-07-17 21:41:35 CST; 8min ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Main PID: 1978 (dockerd)
Tasks: 30
Memory: 135.3M
CPU: 402ms
CGroup: /system.slice/docker.service
├─1978 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
├─2151 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 9000 -container-ip 172.17.0.2 -container-port 9000
└─2159 /usr/bin/docker-proxy -proto tcp -host-ip :: -host-port 9000 -container-ip 172.17.0.2 -container-port 9000
7月 17 21:41:34 e31231v3 dockerd[1978]: time="2023-07-17T21:41:34.870266041+08:00" level=info msg="Starting up"
7月 17 21:41:34 e31231v3 dockerd[1978]: time="2023-07-17T21:41:34.928913564+08:00" level=info msg="[graphdriver] using prior storage driver:>
7月 17 21:41:34 e31231v3 dockerd[1978]: time="2023-07-17T21:41:34.930789532+08:00" level=info msg="Loading containers: start."
7月 17 21:41:35 e31231v3 dockerd[1978]: time="2023-07-17T21:41:35.029906403+08:00" level=info msg="Default bridge (docker0) is assigned with>
7月 17 21:41:35 e31231v3 dockerd[1978]: time="2023-07-17T21:41:35.321113911+08:00" level=info msg="Loading containers: done."
7月 17 21:41:35 e31231v3 dockerd[1978]: time="2023-07-17T21:41:35.373739237+08:00" level=warning msg="Not using native diff for overlay2, th>
7月 17 21:41:35 e31231v3 dockerd[1978]: time="2023-07-17T21:41:35.373910840+08:00" level=info msg="Docker daemon" commit=659604f9ee graphdri>
7月 17 21:41:35 e31231v3 dockerd[1978]: time="2023-07-17T21:41:35.373973100+08:00" level=info msg="Daemon has completed initialization"
7月 17 21:41:35 e31231v3 dockerd[1978]: time="2023-07-17T21:41:35.392975380+08:00" level=info msg="API listen on /run/docker.sock"
7月 17 21:41:35 e31231v3 systemd[1]: Started Docker Application Container Engine.
离线
它启动成功了啊。
启动日志数千行,你只贴开头的几十行有啥用啊……要么全贴出来,要么自己按时间过滤一下。
离线
它启动成功了啊。
启动日志数千行,你只贴开头的几十行有啥用啊……要么全贴出来,要么自己按时间过滤一下。
感谢啊,找到原因 了,这个 systemd-networkd-wait-online.service 服务不知道什么安装的,非得联网正常了才能启动其它的服务,把它关掉就正常了,做个几号!
离线
呃,这个不应该妨碍大部分服务的启动啊。
离线