Product:
Search Type:

Tomcat doesn't work on my VE and java fails with 'Segmentation fault' error.

Article ID: 1168 
Last Review: Jan,18 2007
APPLIES TO:
  • Plesk 7.5.x Reloaded

RESOLUTION


If tomcat doesn't work in VE environment try to run java, for example:

# java -version

Segmentation fault


If you get 'Segmentation fault', make sure that 'nx' CPU flag is disabled. Run:

# cat /proc/cpuinfo | grep nx

flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
pni monitor ds_cpl cid
flags: fpu vme de pse tsc msr pae
mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr
sse sse2 ss ht tm pbe nx lm pni monitor ds_cpl cid


If you see an output of the command above, try to disable 'nx' CPU flag and reboot the node.

It should be done on the hardware node, you can add this option:noexec=off to
the kernel parameters in your boot loader configuration file. If you
have no access to harware node please contact your VE server provider
and ask him to do that.

This problem should be fixed in jdk version 1.4.2_05 or newer (including 1.5 branch).


Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields