No more web access to proxmox console

  • Thread starter Thread starter gonzague
  • Start date Start date
G

gonzague

Guest
Hi guys

I'm running the 1.4 beta version and I think I did a little mistake :-s

I was seeing this message in my logs often :
HTML:
Sep 23 11:00:01 batman postfix/error[7415]: A4F571FC82: to=<root@ksxxxxx.kimsufi.com>, orig_to=<root>, relay=none, delay=0.07, delays=0.06/0.01/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ksxxxxx.kimsufi.com[91.xxx.222.135]:25: Connection refused)

And decided to try with Sendmail instead. So this desinstalled Postfix and after changing this I completely lost access to the web console of Proxmox (even by reinstalling Proxmox).

Last lines of /var/log/apache2/error.log are :

[Wed Sep 23 10:39:19 2009] [error] [client 212.198.157.xxx] failed to resolve handler `PVE::URLRewrite': Can't locate PVE/URLRewrite.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 . /etc/apache2) at (eval 600) line 3.\n, referer: http://batman.xxxxx/
[Wed Sep 23 10:39:29 2009] [notice] caught SIGTERM, shutting down
 
[Wed Sep 23 10:39:19 2009] [error] [client 212.198.157.xxx] failed to resolve handler `PVE::URLRewrite': Can't locate PVE/URLRewrite.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 . /etc/apache2) at (eval 600) line 3.\n, referer: http://batman.xxxxx/
[Wed Sep 23 10:39:29 2009] [notice] caught SIGTERM, shutting down

The library 'PVE::URLRewrite' is part of the pve-manager package, so reinstalling this package should fix the problem.

But it seems that you removed all proxmox VE packages, so it is maybe easiere to reinstall from scratch.
 
Hi Dietmar , thanks for your answer

So what command should I use ? I'd like to avoid crashing the virtual machine running on my server :-s

Best
 
So what command should I use ? I'd like to avoid crashing the virtual machine running on my server :-s

If you start add/remove packages manually (as you have already done), you should make yourself familiar with the package management tools (dpkg, apt).

- Dietmar
 
Ok thanks again for the incitation to learn myself

I did two things :
HTML:
apt-get install --reinstall libapache-authcookie-perl
and
apt-get install --reinstall pve-manager

And my console was back on track :)
 

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!