Cron daily errors

feldsam

New Member
Sep 19, 2013
8
0
1
Prague
Hi, every day I receive cron daily report which contains this
Code:
[COLOR=#000000][FONT=Baskerville]/etc/cron.daily/pve:[/FONT][/COLOR]
[COLOR=#000000][FONT=Baskerville]Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.[/FONT][/COLOR]
[COLOR=#000000][FONT=Baskerville]Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.[/FONT][/COLOR]
[COLOR=#000000][FONT=Baskerville]Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.[/FONT][/COLOR]
[COLOR=#000000][FONT=Baskerville]Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.[/FONT][/COLOR]
[COLOR=#000000][FONT=Baskerville]Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.[/FONT][/COLOR]
[COLOR=#000000][FONT=Baskerville]Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.[/FONT][/COLOR]
[COLOR=#000000][FONT=Baskerville]Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.[/FONT][/COLOR]
[COLOR=#000000][FONT=Baskerville]Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.[/FONT][/COLOR]
[COLOR=#000000][FONT=Baskerville]Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.[/FONT][/COLOR]
[COLOR=#000000][FONT=Baskerville]Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.[/FONT][/COLOR]
[COLOR=#000000][FONT=Baskerville]Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.[/FONT][/COLOR]
[COLOR=#000000][FONT=Baskerville]Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.[/FONT][/COLOR]
[COLOR=#000000][FONT=Baskerville]Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.[/FONT][/COLOR]
[COLOR=#000000][FONT=Baskerville]Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.[/FONT][/COLOR]
[COLOR=#000000][FONT=Baskerville]Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.
[/FONT][/COLOR]...

How I can fix it?
 
Code:
root@node0:~# pveversion -v
proxmox-ve-2.6.32: 3.1-109 (running kernel: 2.6.32-23-pve)
pve-manager: 3.1-4 (running version: 3.1-4/f6816604)
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.0-2
pve-cluster: 3.0-7
qemu-server: 3.1-1
pve-firmware: 1.0-23
libpve-common-perl: 3.0-6
libpve-access-control: 3.0-6
libpve-storage-perl: 3.0-10
pve-libspice-server1: 0.12.4-1
vncterm: 1.1-4
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-17
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.0-2
 
Does it help if you remove the following file:

# rm /var/lib/pve-manager/pkgupdates

If not, please can you send me the contents of that file (the file is regenerated each day) - to <dietmar@proxmox.com>
 
Hi, I removed it and try to manualy run cron script by calling /etc/cron.daily/pve. Script returned:
Code:
root@node0:~# /etc/cron.daily/pve
command 'apt-get update' failed: exit code 100

File /var/lib/pve-manager/pkgupdates not recreated, so I go to webpanel and click on tab "Updates" and then file was create. It contains only this:
Code:
[]
 
Last edited: