Error in /etc/cron.daily/pve file

Wakko

Renowned Member
Dec 15, 2010
9
0
66
Saint Petersburg, Russia
Hello!

Every day I receive an email from cron daemon:
Subj: test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
/etc/cron.daily/pve:
Use of uninitialized value $3 in hex at /etc/cron.daily/pve line 65, <GEN11> line 1.


I have a cluster with 3 nodes. But this error I received only from one node.

pmn02:~# pveversion -v
proxmox-ve-2.6.32: 3.2-132 (running kernel: 2.6.32-31-pve)

pve-manager: 3.2-4 (running version: 3.2-4/e24a91c1)
pve-kernel-2.6.32-20-pve: 2.6.32-100
pve-kernel-2.6.32-27-pve: 2.6.32-121
pve-kernel-2.6.32-24-pve: 2.6.32-111
pve-kernel-2.6.32-28-pve: 2.6.32-124
pve-kernel-2.6.32-30-pve: 2.6.32-130
pve-kernel-2.6.32-22-pve: 2.6.32-107
pve-kernel-2.6.32-29-pve: 2.6.32-126
pve-kernel-2.6.32-31-pve: 2.6.32-132
pve-kernel-2.6.32-26-pve: 2.6.32-114
pve-kernel-2.6.32-23-pve: 2.6.32-109
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.5-1
pve-cluster: 3.0-12
qemu-server: 3.1-16
pve-firmware: 1.1-3
libpve-common-perl: 3.0-18
libpve-access-control: 3.0-11
libpve-storage-perl: 3.0-19
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-6
vzctl: 4.0-1pve5
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.7-8
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.2-1


How can I fix that?
 
Hello!

Every day I receive an email from cron daemon:
Subj: test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
Hi,
if you use an normal pve installation you don't have anacron!

I assume with an normal cron the script will run...
Code:
dpkg -l | grep cron
ii  cron                             3.0pl1-124                    amd64        process scheduling daemon
Udo
 
I'm sorry! You absolutely right!
I found this file in another cluster on node with identical name. This file has length 53248 bytes but it filled with symbols with #00 code.
I think what I cat delete this file and error will gone?
 

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!