Apache Error 500 'Internal Server Error'

vcp_ai

Renowned Member
Jul 28, 2010
177
5
83
Valencia -Spain-
I'm not able to send email from PostMox postfix configuration, see thread http://forum.proxmox.com/threads/1694-set-up-email-for-notification?highlight=email .

So I've installed ssmtp an MTA that is very easy to configure. It works from the best time, and I can send email from the command line, and also notification emaul are sent.

I installed ssmtp (aptitute install), configured it (ssmtp.conf), and made a logical link to sendmail ln -s /usr/sbin/ssmtp /usr/sbin/sendmail

Problem is that when I try to access web config of ProxMox, I obtain this error 500.

Virtual machines are running, mail is sent every backup, but I can not access web config.
On /var/log/apache2/error.log I can see two kinds of errors:

Code:
[Tue Oct 05 13:59:59 2010] [error] [client 192.168.255.101] 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 572) line 3.\n, referer: https://192.168.255.170/qemu/1-102/index.htm

[Tue Oct 05 13:58:39 2010] [error] [client 192.168.255.101] 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 588) line 3.\n
Any hint to what I've broken ??

Thanks in advance.

Vicente
 
yes, but re-installing our packages - but this will also install postfix again.
 
yes, but re-installing our packages - but this will also install postfix again.
Thanks Tom apt-get install pve-manager restored postfix and pve-manager and restored the system to working status.
Unfortunately it removed ssmtp and again, I can not get mail....
Any other MTA that I can test?
-Or a working copy of config files to use postfix with gmail?

Best Regards

Vicente
 
Why do you want to involve gmail for sending mails?
I was trying to use gmail as a 'standard' because every Proxmox user can have free access to it.
My current mail server requires authentification and using port 587. I've trying to config postfix, for all my 'spare' time for more that one month without success...
Seems that postfix is a very powerfull program, but very difficut to implement.

I was able to config ssmtp for both gmail and my current server in a few minutes...

Best Regards

Vicente
 

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!