Cavern.sigma
Welcome to Cavern.sigma
剛剛更新完 PVE 重開機之後 container 就全都跑不起來了 錯誤訊息長這樣: ``` run_buffer: 571 Script exited with status 11 lxc_init: 845 Failed to run lxc.hook.pre-start for container "101" __lxc_start: 2034 Failed to initialize container "101" TASK ERROR: startup for container '101' failed ``` 仔細看一下 node 的 syslog 會寫 ``` Mar 17 03:30:55 router307 systemd-helper[1171]: dnsmasq: failed to create listening socket for 10.30.7.254: Address already in use Mar 17 03:30:55 router307 dnsmasq[1171]: failed to create listening socket for 10.30.7.254: Address already in use Mar 17 03:30:55 router307 dnsmasq[1171]: FAILED to start up Mar 17 03:30:55 router307 dnsmasq[1180]: started, version 2.90 cachesize 150 Mar 17 03:30:55 router307 systemd[1]: dnsmasq@nslab.service: Control process exited, code=exited, status=2/INVALIDARGUMENT Mar 17 03:30:55 router307 dnsmasq[1180]: DNS service limited to local subnets Mar 17 03:30:55 router307 systemd[1]: dnsmasq@nslab.service: Failed with result 'exit-code'. Mar 17 03:30:55 router307 dnsmasq[1180]: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP conntrack ipset nftset auth cryptohash DNSSEC loop-detect inotify dumpfile Mar 17 03:30:55 router307 systemd[1]: Failed to start dnsmasq@nslab.service - dnsmasq (nslab) - A lightweight DHCP and caching DNS server. ``` 看起來是因為 SDN 的 dnsmasq 被預設的 dnsmasq 搶走了打不開 所以 container 要不到 SDN 就壞掉了 Solution: ``` systemctl disable --now dnsmasq ``` 明明記得本來就關掉的 可能是更新套件的時候被重新打開的 :thinking: Reference: - https://www.reddit.com/r/Proxmox/comments/1iwt9bi/proxmox_container_fails_to_start_after_host/ - https://forum.proxmox.com/threads/lxc-fails-to-start.153901/
2025-03-17 03:39:17
留言
Last fetch: --:-- 
現在還沒有留言!