embperl / internal server error

svenders

New Member
Sep 28, 2009
4
0
1
hello,
in the proxmox 1.3 web i have some errors.

then i open the vmlist, system, backup, server the following error displays:
Code:
[B]Internal Server Error[/B]

The server encountered an internal error or misconfiguration and was unable to complete your request. 

Please contact the server administrator, root and inform them of the time the error occurred, and anything you might have done that may have caused the error. 
[13753]ERR: 24: Error in Perl code: 500 Usage: $h->push_header($field, $val) 
Apache Embperl 2.2.0 [Sat Oct 10 00:29:40 2009]

in the syslog is:
Code:
Oct 10 00:36:29  proxwww 6859  500 Usage: $h->push_header($field, $val)
 
error.log
Code:
'objToJson' will be obsoleted. Please use 'to_json' instead. at /usr/share/perl5/PVE/HTMLServices.pm line 540
'objToJson' will be obsoleted. Please use 'to_json' instead. at /usr/share/perl5/PVE/HTMLServices.pm line 540
'objToJson' will be obsoleted. Please use 'to_json' instead. at /usr/share/perl5/PVE/HTMLServices.pm line 540
'objToJson' will be obsoleted. Please use 'to_json' instead. at /usr/share/perl5/PVE/HTMLServices.pm line 540
'objToJson' will be obsoleted. Please use 'to_json' instead. at /usr/share/perl5/PVE/HTMLServices.pm line 540
'objToJson' will be obsoleted. Please use 'to_json' instead. at /usr/share/perl5/PVE/HTMLServices.pm line 540
'objToJson' will be obsoleted. Please use 'to_json' instead. at /usr/share/perl5/PVE/HTMLServices.pm line 540
'objToJson' will be obsoleted. Please use 'to_json' instead. at /usr/share/perl5/PVE/HTMLServices.pm line 540
'objToJson' will be obsoleted. Please use 'to_json' instead. at /usr/share/perl5/PVE/HTMLServices.pm line 540
'objToJson' will be obsoleted. Please use 'to_json' instead. at /usr/share/perl5/PVE/HTMLServices.pm line 540
[Sat Oct 10 00:45:06 2009] [error] [13753]ERR: 24: Error in Perl code: Global symbol "$header" requires explicit package name at /usr/share/pve-manager/root/vmlist/index.htm line 17.
[Sat Oct 10 00:45:40 2009] [error] [13753]ERR: 24: Error in Perl code: 500 Usage: $h->push_header($field, $val)
'objToJson' will be obsoleted. Please use 'to_json' instead. at /usr/share/perl5/PVE/HTMLServices.pm line 540
'objToJson' will be obsoleted. Please use 'to_json' instead. at /usr/share/perl5/PVE/HTMLServices.pm line 540
[Sat Oct 10 00:49:24 2009] [error] [13753]ERR: 24: Error in Perl code: 500 Usage: $h->push_header($field, $val)
[Sat Oct 10 00:49:37 2009] [error] [13753]ERR: 24: Error in Perl code: syntax error at /usr/share/pve-manager/root/vmlist/index.htm line 23, near ") {"\nsyntax error at /usr/share/pve-manager/root/vmlist/index.htm line 43, near ";\n }"\nsyntax error at /usr/share/pve-manager/root/vmlist/index.htm line 83, near ";}"\nsyntax error at /usr/share/pve-manager/root/vmlist/index.htm line 90, near ";\n\n}"
[Sat Oct 10 00:49:59 2009] [error] [13753]ERR: 24: Error in Perl code: 500 Usage: $h->push_header($field, $val)
[Sat Oct 10 00:57:24 2009] [error] [13753]ERR: 24: Error in Perl code: 500 Usage: $h->push_header($field, $val)
[Sat Oct 10 00:57:25 2009] [error] [13753]ERR: 24: Error in Perl code: 500 Usage: $h->push_header($field, $val)
[Sat Oct 10 00:57:26 2009] [error] [13753]ERR: 24: Error in Perl code: 500 Usage: $h->push_header($field, $val)
[Sat Oct 10 00:57:26 2009] [error] [13753]ERR: 24: Error in Perl code: 500 Usage: $h->push_header($field, $val)
 
i have done an cpan update with all modules yet and a reboot.

so the above errors done. but new ones.

in virtual machines i cannot create anything. then i click on "create" nothing done - the same window.

in the configuration by the "type" i cannot change to "kvm".
in the virtual machine configuration of an existing kvm vm i cannot change any "options".

apache2 error.log
Code:
'objToJson' will be obsoleted. Please use 'to_json' instead. at /usr/share/perl5/PVE/HTMLServices.pm line 540
'objToJson' will be obsoleted. Please use 'to_json' instead. at /usr/share/perl5/PVE/HTMLServices.pm line 540
[Sat Oct 10 13:56:58 2009] [warn] [11936]ERR: 32: Warning in Perl code: 'objToJson' will be obsoleted. Please use 'to_json' instead. at /usr/share/perl5/PVE/HTMLControls.pm line 68
[Sat Oct 10 13:56:58 2009] [warn] [11936]ERR: 32: Warning in Perl code: 'objToJson' will be obsoleted. Please use 'to_json' instead. at /usr/share/perl5/PVE/HTMLControls.pm line 68
'objToJson' will be obsoleted. Please use 'to_json' instead. at /usr/share/perl5/PVE/HTMLServices.pm line 540
'objToJson' will be obsoleted. Please use 'to_json' instead. at /usr/share/perl5/PVE/HTMLServices.pm line 540
[Sat Oct 10 13:57:26 2009] [warn] [11936]ERR: 32: Warning in Perl code: Use of uninitialized value within @_ in list assignment at /usr/local/lib/perl/5.10.0/Encode.pm line 165.
[Sat Oct 10 13:57:42 2009] [warn] [11936]ERR: 32: Warning in Perl code: Use of uninitialized value within @_ in list assignment at /usr/local/lib/perl/5.10.0/Encode.pm line 165.
 
Code:
[Sat Oct 10 00:45:06 2009] [error] [13753]ERR: 24: Error in Perl code: Global symbol "$header" requires explicit package name at /usr/share/pve-manager/root/vmlist/index.htm line 17.

That looks strange - our code does not contain such variable - please can you send me the file:

/usr/share/pve-manager/root/vmlist/index.htm

Please send it directly to dietmar@proxmox.com

I assume you have done a standard installation using our installer? What is the output of:

# pveversion -v

Also, please do not update form CPAN (if you already done that i suggest that you reinstall you system). Instead use debian packages (apt-get update).
 

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!