OpenVZ Forum


Home » General » Support » *SOLVED* java 5 at debian ve can't be installed?!
*SOLVED* java 5 at debian ve can't be installed?! [message #4281] Tue, 04 July 2006 16:46 Go to next message
thepontifex is currently offline  thepontifex
Messages: 5
Registered: June 2006
Junior Member
Hi,

I set up a debian ve with the template from the openvz pake "debian31-minimal".

Next I made a distupgrade from stable to unstable and now I want to install sun-java.

But when I make apt-get install apt-get install sun-java5-jdk I get errors:
testvz103:~# apt-get install sun-java5-jdk
Reading package lists... Done
Building dependency tree... Done
sun-java5-jdk is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up sun-java5-bin (1.5.0-06-1) ...
Could not create the Java virtual machine.
dpkg: error processing sun-java5-bin (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 sun-java5-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)


How can I fix this, or did I make a mistake?



Frank
http://static.openvz.org/userbars/openvz-user.png

[Updated on: Wed, 05 July 2006 13:51]

Report message to a moderator

Re: java 5 at debian ve can't be installed?! [message #4288 is a reply to message #4281] Wed, 05 July 2006 04:38 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Java is quite a heavy application, most likely, you hit the default memory limits.

check and correct resource limits using /proc/user_beancounters as described at:
http://wiki.openvz.org/Resource_management


http://static.openvz.org/userbars/openvz-developer.png
Re: [SOLVED]java 5 at debian ve can't be installed?! [message #4320 is a reply to message #4281] Wed, 05 July 2006 13:51 Go to previous message
thepontifex is currently offline  thepontifex
Messages: 5
Registered: June 2006
Junior Member
oh sorry I missed some dependencies, after installing them it works.

But thanks for the link, i changed my ve-config Wink

Greetz


Frank
http://static.openvz.org/userbars/openvz-user.png
Previous Topic: stable kernel not installing
Next Topic: *SOLVED* Test kernel install error
Goto Forum:
  


Current Time: Thu Sep 05 06:04:55 GMT 2024

Total time taken to generate the page: 0.10729 seconds