I have a linux dedicated server with 3GB of RAM running WHM/cPanel.
I have installed AwareIM in the opt directory and when i try to start it i get the following error
./startAwareIMNoGUI.sh: line 12: CLASSPATH: "-/opt/awareim/JDK/lib/tools.jar: syntax error: operand expected (error token is ""-/opt/awareim/JDK/lib/tools.jar")
What is the AWARE_HOME variable set to
AWARE_HOME is set to: /opt/awareim/Tomcat/shared/lib
What is CLASSPATH set to
CLASSPATH is set to : .:/usr/local/jdk/lib/classes.zip
Now attempting to start servers
awareim@server [/opt/awareim/bin]# Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
i have added a few comments to check the paths as you can see.
awareim@server [/opt/awareim/bin]# free -m
total used free shared buffers cached
Mem: 3026 2869 156 0 275 2288
-/+ buffers/cache: 305 2720
Swap: 5035 0 5035
awareim@server [/opt/awareim/bin]# java -Xms8m -Xmx16m -Xss4m -version -verbose
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
i am not sure why a simple web server is using so much memory but I will try to add 1GB and see if that helps. The problem is that even at 8m it doesnt want to run so I may have other issues. Is there anyone that can help me fix this.
Thanks