VM container won't start-up after VE hard shut-down

Petrus4

Member
Feb 18, 2009
249
0
16
My Proxmox VE 1.7 environment was accidentally shutdown by accidental pulling out of the plug. Now my proxmox container will not start and the only error I get in the logs is:

VM 101 start failed. can someone help me trouble shoot this?
 
Some more info:


command logs

/usr/sbin/vzctl start 101
Starting container ...
vzquota : (warning) Incorrect quota shutdown for id 101, recalculating disk usage
vzquota : (error) quota check : lstat `sess_1c7d0cab3baa429af3a6a632785c40ec': No such file or directory
vzquota on failed [1]
VM 101 start failed -

INIT LOG
starting init logger
* Setting preliminary keymap... [ OK ]
* Starting basic networking... [ OK ]
* Loading kernel modules... * Loading manual drivers... [ OK ]
* Setting kernel variables... [ OK ]
* Activating swap... [ OK ]
mount: permission denied
* Mounting local filesystems... [ OK ]
* Activating swapfile swap... [ OK ]
* Checking minimum space in /tmp... [ OK ]
* Skipping firewall: ufw (not enabled)... [ OK ]
* Configuring network interfaces... [ OK ]
* Starting system log daemon... [ OK ]
* Starting OpenBSD Secure Shell server sshd [ OK ]
* Starting MySQL database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.
* Starting ClamAV virus database updater freshclam [ OK ]
* Starting internet superserver inetd [ OK ]
* Starting Postfix Mail Transport Agent postfix [ OK ]
* Starting deferred execution scheduler atd [ OK ]
* Starting periodic command scheduler crond [ OK ]
* Starting web server apache2 [ OK ]
* Running local boot scripts (/etc/rc.local) [ OK ]
 
SOLVED: Re: VM container won't start-up after VE hard shut-down

It turns out the containers quota system was crashed and I had to reset it by the doing the following command:

Code:
# vzquota off 101
# vzquota on 101

101 is the VMID so fill in your own ID of your crashed VM

After that the contaner booted up with no issues.

I then had to repair my mysql tables but that has nothing to do with the container not booting up.

Problem Solved!:p
 
Re: SOLVED: Re: VM container won't start-up after VE hard shut-down

fine, thanks for posting the solution.
 

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!