Proxmox: ‘exit code 60′ – corrupt quota file

Every now and then i get some mails from my hosters monitoring that something at my server is not running. As always i have a look and this time stumbled across this problem.

The VM could not be started, which resulted in this log output.

Searching for ‘exit code 60′ brought me on the right tracks. The solution was to use this commands:

The problem seems to be a “corrupted” quota file, because the VM has not been shut down correctly and the quota file still assumed the VM was running.

Linux: Monitoring Cronjob for apt-get and SMART

I am using this cronjob for monitoring updates and SMART values.

File: “/etc/cron.d/monitoring”

Dont forget to reload cron!

You will need this package: “smartmontools” for “smartctl”.

The output will be send via mail at root. You can configure that in “/etc/aliases” and then running “newaliases”.