pve web page broken. using wheezy pvetest

RobFantini

Famous Member
May 24, 2012
2,023
107
133
Boston,Mass
Hello
on a pve desktop system we can not log in to pve web page. we seem to be missing some files.
at the pve web page we see:
Forbidden


You don't have permission to access / on this server.

from /var/log/apache2/error.log
Code:
[Thu Apr 25 10:32:47 2013] [error] Can't locate /usr/share/pve-manager/startup.pl in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . /etc/apache2) at (eval 2) line 1.\n
[Thu Apr 25 10:32:47 2013] [error] Can't load Perl file: /usr/share/pve-manager/startup.pl for server localhost:8006, exiting...

and that file is missing:
Code:
fbc89  /var/log/apache2 # ls -l /usr/share/pve-manager/startup.pl
ls: cannot access /usr/share/pve-manager/startup.pl: No such file or directory


I tried ' aptitude reinstall pve-manager ' . and the file is still missing.

Code:
fbc89  /var/log/apache2 # pveversion -v
pve-manager: 3.0-11 (pve-manager/3.0/90cfcbe2)
running kernel: 2.6.32-20-pve
proxmox-ve-2.6.32: 3.0-97
pve-kernel-2.6.32-20-pve: 2.6.32-97
pve-kernel-2.6.32-16-pve: 2.6.32-82
pve-kernel-2.6.32-18-pve: 2.6.32-88
pve-kernel-2.6.32-17-pve: 2.6.32-83
lvm2: 2.02.95-pve3
clvm: 2.02.95-pve3
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-1
pve-cluster: 3.0-1
qemu-server: 3.0-4
pve-firmware: 1.0-22
libpve-common-perl: 3.0-1
libpve-access-control: 3.0-2
libpve-storage-perl: 3.0-2
vncterm: 1.1-2
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-10
ksm-control-daemon: 1.1-1


Any suggestions to fix?
 
pve web is now working. I am not sure what caused it to break for awhile.

/usr/share/pve-manager/startup.pl is not there so i assume that it is not needed for this version, and maybe there was a cache issue looking for it or something...
 
we do not use apache2 anymore, you can remove all apache2 files and configs.
(we implemented our own web server)
 
but not all can connect. so i tried to restart apache2 and got this:
Code:
fbc89  /var/log/apache2 # service apache2 restart
Restarting web server: apache2(98)Address already in use: make_sock: could not bind to address [::]:8006
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:8006
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
 failed!
fbc89  /var/log/apache2 # service apache2 stop
Stopping web server: apache2.
fbc89  /var/log/apache2 # service apache2 start
Starting web server: apache2(98)Address already in use: make_sock: could not bind to address [::]:8006
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:8006
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
 failed!

- - - Updated - - -

- - - Updated - - -



OK I'll remove apache2 now.


also how do you restart the pve web server?
 
Last edited:
Hi,

With a fresh install of debian 7 / proxmox (following this guide http://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Wheezy=

I can't connect to https://youripaddress:8006 (Erreur 324 (net::ERR_EMPTY_RESPONSE)

pveversion -v
pve-manager: 3.0-11 (pve-manager/3.0/90cfcbe2)
running kernel: 2.6.32-20-pve
proxmox-ve-2.6.32: 3.0-97
pve-kernel-2.6.32-20-pve: 2.6.32-97
lvm2: 2.02.95-pve3
clvm: 2.02.95-pve3
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-1
pve-cluster: 3.0-1
qemu-server: 3.0-4
pve-firmware: 1.0-22
libpve-common-perl: 3.0-1
libpve-access-control: 3.0-2
libpve-storage-perl: 3.0-2
vncterm: 1.1-2
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-10
ksm-control-daemon: 1.1-1

 
I just upgraded another system, and had the same issue to get around. note after upgrade apache2 still had port 8006 open:
Code:
fbc87  ~ # netstat  --listening --programs  --numeric --udp --tcp| grep  8006
tcp6       0      0 :::8006                 :::*                    LISTEN      390181/apache2


the new web package pveproxy needs to know to stop and or remove apache2 . until then we'll try:
Code:
service apache2 stop
killall /usr/sbin/apache2  # may not be needed..
then do the upgrade

after the upgrade
Code:
aptitude remove apache2
 
Last edited:

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!