PROXMOX Server inaccessible.

cosycon

New Member
Oct 28, 2010
8
0
1
Hi,
Last week i accidentally performed an install/uninstall sequense of mysql-server and apache on my proxmox server.
This was wrong. It should have been executed on an VM....
I also performed an apt-get update on server. Since then, the following message is mailed to me every day (cron job)

/etc/cron.daily/pve:
Can't locate PVE/APLInfo.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /etc/cron.daily/pve line 4.
BEGIN failed--compilation aborted at /etc/cron.daily/pve line 4.
run-parts: /etc/cron.daily/pve exited with return code 2

What does this mean and how can this be fixed.

Also, since this update/change, with my browser (IE and FF) I can't connect to the server by https://192.168.1.100
SSH is still possible. How can i gain access back?

Regards, Conrad
 
Hi,
Last week i accidentally performed an install/uninstall sequense of mysql-server and apache on my proxmox server.
This was wrong. It should have been executed on an VM....
I also performed an apt-get update on server. Since then, the following message is mailed to me every day (cron job)

/etc/cron.daily/pve:
Can't locate PVE/APLInfo.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /etc/cron.daily/pve line 4.
BEGIN failed--compilation aborted at /etc/cron.daily/pve line 4.
run-parts: /etc/cron.daily/pve exited with return code 2

What does this mean and how can this be fixed.

Also, since this update/change, with my browser (IE and FF) I can't connect to the server by https://192.168.1.100
SSH is still possible. How can i gain access back?

Regards, Conrad
Hi Conrad,
with deinstalled apache it's hard to connect to the webserver ;)
Have you tried to install the apache-package again?

You should provide infos about the versions - with "pveversion -v".
Installation of the missing packages depends on you versions - perhaps it's a good time to upgrade all packages to te latest version?!
This are packages (versions from a testsystem) which are installed on a system with 2.6.32er kernel:
Code:
dpkg -l | grep -i pve
ii  libpve-storage-perl                            1.0-17                         Proxmox VE storage management library
ii  pve-firmware                                   1.0-12                         Binary firmware code for the pve-kernel
ii  pve-kernel-2.6.32-5-pve                        2.6.32-35                      The Proxmox PVE Kernel Image
ii  pve-manager                                    1.8-18                         The Proxmox Virtual Environment
ii  pve-qemu-kvm                                   0.14.1-1                       Full virtualization on x86 hardware
ii  vzctl                                          3.0.28-1pve1                   OpenVZ - server virtualization solution - control tools

ii  proxmox-ve-2.6.32                              1.8-35                         The Proxmox Virtual Environment

dpkg -l | grep -i apache
ii  apache2                                        2.2.9-10+lenny9                Apache HTTP Server metapackage
ii  apache2-mpm-prefork                            2.2.9-10+lenny9                Apache HTTP Server - traditional non-threaded model
ii  apache2-utils                                  2.2.9-10+lenny9                utility programs for webservers
ii  apache2.2-common                               2.2.9-10+lenny9                Apache HTTP Server common files
ii  libapache-authcookie-perl                      3.12-1                         Perl Authentication and Authorization via cookies
ii  libapache-session-perl                         1.86-1                         Perl modules for keeping persistent user data across http reques
ii  libapache-sessionx-perl                        2.01-1.1                       An extented persistence framework for session data
ii  libapache2-mod-apreq2                          2.08-5+b1                      generic Apache request library - Apache module
ii  libapache2-mod-perl2                           2.0.4-5+lenny1                 Integration of perl with the Apache2 web server
ii  libapache2-request-perl                        2.08-5+b1                      generic Apache request library - Perl modules
ii  libapr1                                        1.2.12-5+lenny4                The Apache Portable Runtime Library
ii  libapreq2                                      2.08-5+b1                      generic Apache request library
ii  libaprutil1                                    1.2.12+dfsg-8+lenny5           The Apache Portable Runtime Utility Library

Udo
 
We have a virtual package which should install all missing packages. Try:

# aptitude update
# aptitude install proxmox-ve-2.6.32

After that you should have all required packages (as described by udo above)
 
Hello Dietmar,

Thank you for your reply. Missing packages were automatically reinstalled and everything works well again!

Conrad

We have a virtual package which should install all missing packages. Try:

# aptitude update
# aptitude install proxmox-ve-2.6.32

After that you should have all required packages (as described by udo above)
 

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!