HP StorageWorks XP Performance Advisor Software v4.6 Command-line User Interface Reference Guide (T1789-96095, June 2010)
4 Troubleshooting
This section addresses questions and problems that customers have experienced while using CLUI.
Following are some common error messages, their causes, and suggested solutions:
This section describes common error messages, their causes, and provides recommended solutions
for the following:
• Classpath error
• Install script exits with an error
• Common command errors
Classpath error
Problem: Unable to initialize threads: cannot find class java/lang/Thread Could not create Java VM.
Solution: Earlier versions of the XP Performance Advisor 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 <jre_location>.
Check the location and try again.' 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 XP Performance Advisor Software Command-Line User Interface Reference
Guide 53