Attempts to start server1 from the command line after a new WebSphere 5.0 installation on Linux encounter segmentation errors
 Technote (troubleshooting)
 
Problem(Abstract)
After a new WebSphere® 5.0 installation on a Linux® system, you can start server1 from the first steps screen. However, attempts to start server 1 from a command line cause segmentation errors.
 
Resolving the problem
After installing WebSphere 5.0 on Red Hat® Linux, the server started from the first steps screen. When trying to start the server from the command line, the following error is received:
./startServer.sh server1 : line 92: 31815 Segmentation fault (core
dumped)"$JAVA_HOME"/bin/java $DEBUG -Dws.ext.dirs="$WAS_EXT_DIRS"
-classpath"$WAS_CLASSPATH" -Dwas.install.root="$WAS_HOME"
$USER_INSTALL_PROP com.ibm.ws.bootstrap.WSLauncher $SHELL "$CONFIG_ROOT"

The following information is in $JAVA_HOME/docs/README-EN.JRE.HTML,
"Working with floating stacks".
"Certain Linux distributions have enabled a GLIBC feature called 'floating stacks'. Because of Linux kernel limitations, the JVM will not run on SMP hardware with floating stacks enabled if the kernel level is less than 2.4.10. In this environment, floating stacks must be disabled before the JVM, or any application that starts the JVM, is started. On RedHat, disable floating stacks by exporting an environment variable."
Therefore, if you export LD_ASSUME_KERNEL=2.2.5, it works.

The variable for LD_ASSUME_KERNEL is set in LaunchPad.sh (the first steps application). This is why it worked from the setup xterm's but not after the product is installed.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Install
Operating system(s): Linux
Software version: 5.0
Software edition:
Reference #: 1175252
IBM Group: Software Group
Modified date: Sep 23, 2004