Debian wheezy VM broken

JohnD

Renowned Member
Oct 7, 2012
84
12
73
Hello,

i have an issue with a debian wheezy Container (web- and mysql server + control panel).

Suddenly the webpages stopped working and i tried to restart the Container:

Code:
root@isp:/# reboot
WARNING: could not determine runlevel - doing soft reboot
  (it's better to use shutdown instead of reboot from the command line)
shutdown: /run/initctl: No such file or directory
init: /run/initctl: No such file or directory

So i restarted the Container via proxmox but it did not come online again.
I tried to enter via vzctl and got:

Code:
error: openpty: No such file or directory

vzctl exec 103 "cd /dev; /sbin/MAKEDEV pty

Did fix it but web and mysql server do still not start.
Code:
root@isp:/# service apache2 start
[....] Starting web server: apache2mktemp: failed to create directory via template `/var/lock/apache2.XXXXXXXXXX': No such file or directory
chmod: missing operand after `755'
Try `chmod --help' for more information.
 failed!

Any ideas what is going on here?

Thanks.
 

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!