OpenVZ Forum


Home » General » Support » *SOLVED* Installing Websphere 6.1 in a VPS FAILS due to disk space
Re: Installing Websphere 6.1 in a VPS FAILS due to disk space [message #12482 is a reply to message #12480] Mon, 30 April 2007 22:29 Go to previous messageGo to previous message
oviney is currently offline  oviney
Messages: 17
Registered: April 2007
Location: Ottawa
Junior Member
I have added 2GB of extra disk space to the VE using the following command:

vzctl set 101 --diskspace 7000000:7000000 --diskinodes 7000000:7000000 --save

I didn't need to restart the VE as this config item is dynamic.

I retried the websphere installer and this time I got futher... so as was mentioned earlier in this thread; I needed even more temp/free space in order to install.

After a successful installation I tested the server installation out using the provided tools; and here are the results:

<snippet>
Server name is:server1
Profile name is:AppSrv01
Profile home is:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01
Profile type is:default
Cell name is:bld1hs20-03lvz-1Node01Cell
Node name is:bld1hs20-03lvz-1Node01
Current encoding is:ANSI_X3.4-1968
Server port number is:9080
IVTL0020I: The Installation Verification Tool cannot connect to WebSphere Application Server; waiting for the server to start.
IVTL0010I: Connecting to the WebSphere Application Server bld1hs20-03lvz-1.na.ubiquity.net on port: 9080
IVTL0020I: The Installation Verification Tool cannot connect to WebSphere Application Server; waiting for the server to start.
Start running the following command:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/s tartServer.sh server1 -profileName AppSrv01
Error>Could not create the Java virtual machine.
IVTL0080I: The installation verification is complete.
</snippet>

The line of interest is:

*** Error>Could not create the Java virtual machine. ***

I am guessing that is related to the system not having enough memory to allocate to the JVM, just a guess.

Here is what I have done to set the memory limits:

vzctl set 101 --vmguarpages $((512 * 256)) --save
vzctl set 101 --privvmpages $((256 * 1024)) --save

I found the way to do this that is much more intuitive than calculating the amount of RAM by "pages" is to multiply the amount of RAM that you want by 256 as an easy way to arrive at the right amount of RAM.

So perhaps this problem is about 512 MB RAM not being enough to start websphere, though I have the ability to burst up to 1 GB.

I will give this a test but if someone has seen this feel free to post your commends.

Much appreciated!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 4Servers crashes no video , no error , Please help!
Next Topic: Kernel panic with 2.6.20 on x86_64 (CentOS 4.4)
Goto Forum:
  


Current Time: Wed Aug 20 05:48:06 GMT 2025

Total time taken to generate the page: 0.13472 seconds