I run Proxmox VE from more than a year ad never had big problems, really a great work. Recentely after the update from 1.4 to 1.5 I had the following problem:
When I try to connect a virtual machine with the browser, it open the window of the console, but don't work and I receive the follow error in the apache error.log:
[Fri Mar 12 15:55:21 2010] [error] [4922]ERR: 24: Error in Perl code: unable to find free vnc port at /usr/share/perl5/PVE/ConfigServer.pm line 1008.\n
this is the content of ConfigServer.pm
...
my $next_vnc_port = sub { # private method
for (my $p = 5900; $p < 6000; $p++) {
my $sock = IO::Socket::INET->new (Listen => 5,
LocalAddr => 'localhost',
LocalPort => $p,
ReuseAddr => 1,
Proto => 0);
if ($sock) {
close ($sock);
return $p;
}
}
die "unable to find free vnc port";
};
...
This my actual version:
# pveversion --verbose
pve-manager: 1.5-8 (pve-manager/1.5/4674)
running kernel: 2.6.24-10-pve
proxmox-ve-2.6.24: 1.5-21
pve-kernel-2.6.24-10-pve: 2.6.24-21
pve-kernel-2.6.24-1-pve: 2.6.24-4
pve-kernel-2.6.24-5-pve: 2.6.24-6
pve-kernel-2.6.24-2-pve: 2.6.24-5
qemu-server: 1.1-11
pve-firmware: 1.0-3
libpve-storage-perl: 1.0-10
vncterm: 0.9-2
vzctl: 3.0.23-1pve8
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.11.1-2
That I can do to solve the question, possibly without the need to reformat everything?
Thanx
When I try to connect a virtual machine with the browser, it open the window of the console, but don't work and I receive the follow error in the apache error.log:
[Fri Mar 12 15:55:21 2010] [error] [4922]ERR: 24: Error in Perl code: unable to find free vnc port at /usr/share/perl5/PVE/ConfigServer.pm line 1008.\n
this is the content of ConfigServer.pm
...
my $next_vnc_port = sub { # private method
for (my $p = 5900; $p < 6000; $p++) {
my $sock = IO::Socket::INET->new (Listen => 5,
LocalAddr => 'localhost',
LocalPort => $p,
ReuseAddr => 1,
Proto => 0);
if ($sock) {
close ($sock);
return $p;
}
}
die "unable to find free vnc port";
};
...
This my actual version:
# pveversion --verbose
pve-manager: 1.5-8 (pve-manager/1.5/4674)
running kernel: 2.6.24-10-pve
proxmox-ve-2.6.24: 1.5-21
pve-kernel-2.6.24-10-pve: 2.6.24-21
pve-kernel-2.6.24-1-pve: 2.6.24-4
pve-kernel-2.6.24-5-pve: 2.6.24-6
pve-kernel-2.6.24-2-pve: 2.6.24-5
qemu-server: 1.1-11
pve-firmware: 1.0-3
libpve-storage-perl: 1.0-10
vncterm: 0.9-2
vzctl: 3.0.23-1pve8
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.11.1-2
That I can do to solve the question, possibly without the need to reformat everything?
Thanx
Last edited: