7 troubleshooting, Classpath error, Install script exits with an error – HP XP Performance Advisor Software User Manual
Page 91: Common command errors
7 Troubleshooting
This section addresses questions and problems that customers have experienced while using the
Performance Advisor XP CLUI. Following are some common error messages, their causes, and suggested
solutions:
Classpath error
Problem: Unable to initialize threads: cannot find class java/lang/Thread Could not create Java VM.
Solution: Earlier versions of the Performance Advisor XP CLUI required the user to set some environment
variables. This error message indicates that the classpath environment variable was not set correctly. (This
error must not occur with new install scripts.) Report this error directly to your HP contact.
Install script exits with an error
Problem: Install script exits with the message: ’JRE was not found in path
Solution: The location the user entered for the java environment is not valid. In UNIX variants, execute
install.sh and enter the correct path to the java environment. In Windows, edit the JAVA_HOME
environment variable, and run the install.bat script again.
Problem: Install script exits with the message: ’install.sh: this script must be run as root....exiting’.
Solution: You are not logged in as the root user. Log in as root, and run install.sh again.
Common command errors
Problem: Command outputs this message: ’Error reading console output’.
Solution: If you are connecting to a Unix system remotely using telnet, your terminal emulation is not
supported. You can try running the command using a different terminal emulation, such as xterm or
ansi. Otherwise, contact your HP representative.
Problem: Command outputs this message: ’ERROR: No data returned for command’.
Solution: One of the parameters is not entered correctly or the management station does not have a
data collector running for the requested data set.
HP StorageWorks Performance Advisor XP Software command-line user interface user guide
91