CT has very slow startup/access

tl5k5

Well-Known Member
Jul 28, 2017
62
1
48
52
Hey all,
I have deployed a CT from the Debian 11 template.
The webgui console access takes a long time to show any login capability. I can type in the console area, but nothing happens for ~5mins. (see image)

RustDesk_uIzvLRClR5.png

During this ~5 mins, I can successfully ping the CT IP address, but when I try to SSH into the OS, I get the following error:
Code:
"System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8)."

Any idea as to why this CT is having boot issues?
Thanks!
 
Check that you didn't setup any IPv6 DHCP when using IPv4. Usually this problem is caused by the LXC waiting for 5 minutes to get a IPv6 IP, which it won't get when not running a IPv6 DHCP server in your network.
That fixed it...thanks!