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.