VM Switch off after hours or minutes

Jose A

Active Member
May 5, 2017
16
0
41
55
Hi!
I have a Server with 2 machines, one is Linux Debian, another is windows Server 2008R2, the debian vm work perfect, but the windows machine switch off, the log says this:

Jan 25 13:56:54 viria systemd[1]: Started 111.scope.
Jan 25 13:56:54 viria systemd-udevd[26666]: Using default interface naming scheme 'v240'.
Jan 25 13:56:54 viria systemd-udevd[26666]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Jan 25 13:56:54 viria systemd-udevd[26666]: Could not generate persistent MAC address for tap111i0: No such file or directory
Jan 25 13:56:55 viria kernel: [ 8720.992025] device tap111i0 entered promiscuous mode
Jan 25 13:56:55 viria kernel: [ 8720.998976] vmbr0: port 3(tap111i0) entered blocking state
Jan 25 13:56:55 viria kernel: [ 8720.998978] vmbr0: port 3(tap111i0) entered disabled state
Jan 25 13:56:55 viria kernel: [ 8720.999058] vmbr0: port 3(tap111i0) entered blocking state
Jan 25 13:56:55 viria kernel: [ 8720.999059] vmbr0: port 3(tap111i0) entered forwarding state
Jan 25 13:56:55 viria pvedaemon[1048]: <root@pam> end task UPID:viria:00006822:000D4E4D:600EC016:qmstart:111:root@pam: OK
Jan 25 13:56:56 viria pvedaemon[1047]: <root@pam> starting task UPID:viria:0000686B:000D4EC6:600EC018:vncproxy:111:root@pam:
Jan 25 13:56:56 viria pvedaemon[26731]: starting vnc proxy UPID:viria:0000686B:000D4EC6:600EC018:vncproxy:111:root@pam:

The machines use the same net interface! only 1 net interface.

Thanks for the help!
 
hi,

are you on the latest versions? pveversion -v

is it possible the vm hibernates (power save mode or similar?)
 
Yes, it is the latest version of ProxMox:

proxmox-ve: 6.3-1 (running kernel: 5.4.73-1-pve)
pve-manager: 6.3-2 (running version: 6.3-2/22f57405)
pve-kernel-5.4: 6.3-1
pve-kernel-helper: 6.3-1
pve-kernel-5.4.73-1-pve: 5.4.73-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.4-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.16-pve1
libproxmox-acme-perl: 1.0.5
libproxmox-backup-qemu0: 1.0.2-1
libpve-access-control: 6.1-3
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.2-6
libpve-guest-common-perl: 3.1-3
libpve-http-server-perl: 3.0-6
libpve-storage-perl: 6.3-1
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.3-1
lxcfs: 4.0.3-pve3
novnc-pve: 1.1.0-1
proxmox-backup-client: 1.0.5-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.4-3
pve-cluster: 6.2-1
pve-container: 3.3-1
pve-docs: 6.3-1
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-3
pve-firmware: 3.1-3
pve-ha-manager: 3.1-1
pve-i18n: 2.2-2
pve-qemu-kvm: 5.1.0-7
pve-xtermjs: 4.7.0-3
qemu-server: 6.3-1
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 0.8.5-pve1
 
I change the power save mode, i put the "intel e1000"network adapter and uninstall the "net virtio driver", trying things...
 
SelfSolved!
The problem is... windows Server 2008 R2 license was expired!!! :-O
There was a valid license, but when changing parameters of the vm, the license was put in "test" mode
In this mode Windows Switch off every HOUR.
Solution: simply choose the option at the beginning of "activate windows online"
I didn't even have to enter the license number.
 
thanks for sharing the solution!

you can mark the thread [SOLVED] so others know what to expect :)
 

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!