Linux Tutorial | Matt Cooper - Open Source Support
Linux Tutorial | Matt Cooper - Open Source Support
Proxmox Tutorial

Proxmox – Can’t access web interface

Proxmox web interface became unavailable and was not listening on port 8006. Also unable to backup a running KVM. This all pointed towards a missing/corrupt package.

To fix, the following was carried out:

1. Update repositories

nano /etc/apt/sources.list

Insert the relevant sources from here: http://pve.proxmox.com/wiki/Package_repositories#Proxmox_VE_No-Subscription_Repository – In this case it was the no subscription for Proxmox VE 4.x repositories.

Now run the following commands:

apt-get update
apt-get install pve-manager

Pve-manager seemed to be corrupt. Updating to the latest version fixed the issue.

August 16, 2016by Matt Cooper
FacebookTwitterPinterestGoogle +Stumbleupon
Proxmox Tutorial

Start Proxmox VM from command line

qm start vmid

Source: http://pve.proxmox.com/wiki/Manual:_qm

August 2, 2016by Matt Cooper
FacebookTwitterPinterestGoogle +Stumbleupon
Proxmox Tutorial

Proxmoz – Update backup schedule from commandline

I had to do this for an older version of Proxmox as web interface was broken.

Edit cron for proxmox:

vim /etc/cron.d/vzdump

e.g. Output:

[html]
# cluster wide vzdump cron schedule
# Atomatically generated file – do not edit

PATH=”/usr/sbin:/usr/bin:/sbin:/bin”

0 1 * * 1,4,6 root vzdump 101 103 104 105 –quiet 1 –mode snapshot –mailto hello@email.com –compress gzip –storage backupdrive

May 17, 2016by Matt Cooper
FacebookTwitterPinterestGoogle +Stumbleupon
Command line Tutorial, Proxmox Tutorial

vzdump – Backup a running Container

vzdump --dumpdir /mnt/backups/ --compress gzip 120

Breakdown:

  • –dumpdir – location backup is going to be placed
  • –compress gzip – specify compression type (gzip, lzo)
  • 120 – container ID
December 10, 2015by Matt Cooper
FacebookTwitterPinterestGoogle +Stumbleupon
Proxmox Tutorial, vzdump

vzdump – Container Backup Issue – Cannot stat: Input/output error

Proxmox container was failing to backup and from the log files the following errors appeared over and over:

  • Cannot stat: Input/output error
  • Cannot stat: No such file or directory

From carrying out quite a bit of research implementing the following seems to solve the issue:

Edit /etc/vzdump.conf and change the size parameter:

# vzdump default settings

#tmpdir: DIR
#dumpdir: DIR
#storage: STORAGE_ID
#mode: snapshot|suspend|stop
#bwlimit: KBPS
#ionice: PRI
#lockwait: MINUTES
#stopwait: MINUTES
size: 4096
#maxfiles: N
#script: FILENAME
#exclude-path: PATHLIST

ISSUE: Basically vzdump is running out of memory and causing the backup of the particular container to fail. By default vzdump is set to use 500MB of memory and carrying out the above forces it to use 4096MB. Obviously take a look at memory usage and make sure 4096mb is available.

November 23, 2015by Matt Cooper
FacebookTwitterPinterestGoogle +Stumbleupon
Page 1 of 212»

About me

Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: matt@linuxtutorial.co.uk

Recent Comments

  • Andrew on Export list of Amazon EC2 Instances to CSV
  • Matt Cooper on Proxmox – add a second hard drive to node for Backups
  • karis on Proxmox – add a second hard drive to node for Backups
  • Matt Cooper on Remote MySQL Database – Slow Connection
  • Matt Cooper on Bash script to send public IP address to Email

Categories

  • AdvancedTomato
  • Amazon AWS
  • Amazon Linux
  • Amazon S3
  • Apache
  • Apache Kafka
  • Backup Tutorial
  • Bash Scripting
  • Centos Tutorial
  • CloudFlare
  • Command line Tutorial
  • CPanel Troubleshooting
  • CPanel Tutorial
  • Debian Troubleshooting
  • Debian Tutorial
  • DKIM
  • Docker
  • EC2
  • ESXi
  • Faildows
  • Google Adwords
  • Google Analytics
  • Google Chromebook
  • Google Mail
  • graylog
  • IAM
  • imapsync
  • iRedmail Tutorial
  • ISPConfig3 Tutorial
  • Java
  • ldap
  • letsencrypt
  • MyDNS
  • MySQL Troubleshooting
  • MySQL Tutorial
  • Nest Install
  • Netbeans
  • Nginx
  • Nginx Troubleshooting
  • openssl
  • PCI Compliance
  • Percona
  • PHP
  • Plex Media Server Tutorial
  • Postfix
  • Proxmox Tutorial
  • Pure FTPd
  • Resourcespace Tutorial
  • Route 53
  • Rsync Tutorial
  • Security
  • Smoothwall Troubleshooting
  • Smoothwall Tutorial
  • SSH
  • tcpdump
  • Thunderbird
  • Tomcat Troubleshooting
  • Ubuntu Tutorial
  • Uncategorized
  • Unison
  • vmware
  • vzdump
  • WHM
  • Wireshark
  • Wordpress Troubleshooting
  • WordPress Tutorial

“See, you not only have to be a good coder to create a system like Linux, you have to be a sneaky bastard too." Linus Torvalds

© 2017 copyright www.linuxtutorial.co.uk // All rights reserved