Help--- LXC container problem

andrea68

Renowned Member
Jun 30, 2010
158
2
83
Hi I have one LXC container hang out.

Proxmox web interface tell me login failed.
Every LXC related command seems not work

KVM is working.

How can I regain access to my server without reboot it?
It's a single node installation....

Tnx!
 
You can not login to PVE GUI? If yes, then login to the node per SSH and change the root Password.

Make sure you select the correct realm, try it first it might be the problem.
 
Hi, the root passwd is ok.
But logging in web interface is still impossible.
I remember a similar issue involving LXC months ago, don't remember how I solved :(
 
All LXC commant does'nt work.
ALSO, even reboot from terminal wait and hang out...
 
If you have access to a root console, you can

1. determine the process ID of the hung container, eg
# ps ax | grep ctid
2. kill -9 pid

that should restore your node to normal function. if it doesnt, and the pid is zombie, you'd need to kill the node using other means- eg
echo b > /proc/sysrq-trigger
or
ipmitool power reset

if you have ipmi.
 
Tnx Alex, 'i'e managed to kill the process and restart the server. All seems back to normal. I need to delete the LXC container ...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!