The above Command Director Log gathering tool is a command (hcmdras) you can use to gather log files of all HCmD components to investigate issues and troubleshoot them. When you execute the command, the tool collects all log files and stores the output in respective directories in the zip file. To collect the log files, simply execute the command and specify a valid output directory.
The Log gathering tool command has the following features:
The hcmdras command is currently supported only on the following Windows platforms:
The following prerequisites must be met before executing the command
Please take note of the following before running the command:
To execute the logtool command, key in hcmdras in the Command prompt. Please make sure to specify a valid and empty directory for collecting the output. Upon executing the command, log files of all installed HCmD components are collected and stored in the respective zip files. The following are the list of output files generated:
Common system information stored in 01_sysinfo:
HCmD server logs stored in:
HTnM Data Collector logs stored in:
License Server logs stored in:
Host Collector:
The following is the list of messages generated in the user environment.
| Message ID | Message | Description |
| INFO_RAS0001 | Log collection started. | n/a |
| INFO_RAS0002 | Log collection finished. | n/a |
| INFO_RAS0003 | HCmD server is installed. Start collecting logs. | n/a |
| INFO_RAS0004 | HTnM Data Collector is installed. Start collecting logs. | n/a |
| INFO_RAS0005 | License Server is installed. Start collecting logs. | n/a |
| INFO_RAS0006 | Host Collector is installed. Start collecting logs. | n/a |
| ERR_RAS0100 | Output directory not specified. Please specify a valid output directory. | Please specify output directory. |
| ERR_RAS0101 | Please specify an empty output directory. | Please specify empty directory for output directory. |
| ERR_RAS0102 | Please set PATH environment variable to the java executable. | Please set environment variable so that java.exe can be executed without specifying path. |
| ERR_RAS0103 | Command Library not found. Please download library from the batch file. | Library for the command is not available. Library has to be in lib directory with the batch file. |
| ERR_RAS0104 | Invalid output directory. Please specify a valid path. | Specified output directory is invalid. Please specify valid path for it. |
| ERR_RAS0105 | You do not have administrative privileges. | |
| ERR_RAS0200 | Invalid command parameters. Do not execute this command manually. Please report to the support team. | Internal command is executed with invalid parameters. Please don't manually execute the command. If this error occurs when executing hcmdras command, please send the command to support team. |
| ERR_RAS0201 | Invalid command parameters. Do not execute the command manually. Please report to the support team. | Internal command is executed with invalid parameters. Please don't manually execute the command. If this error occurs when executing hcmdras command, please send the command to support team. |
| ERR_RAS0202 | Invalid command parameters. Do not execute the command manually . Please report to the support team. | Internal command is executed with invalid parameters. Please don't manually execute the command. If this error occurs when executing hcmdras command, please send the command to support team. |
| ERR_RAS0203 | Invalid command parameters. Do not execute the command manually. Please report to the support team. | Internal command is executed with invalid parameters. Please don't manually execute the command. If this error occurs when executing hcmdras command, please send the command to support team. |
| ERR_RAS204 | Error in archiving file. Please send files in destination directory to support team. | Please send files in destination directory to support team. |
| ERR_RAS205 | Error in creating divided files. Please send zipped files to support team. | Please send zipped files to support team. |
| ERR_RAS206 | Error in collecting log files. Please send files in destination directory to support team. | Please send files in the destination directory, |
| ERR_RAS0301 | HCmD component is not installed or setup or broken. | Any HCmD component is not found in the host. |
| ERR_RAS0302 | Cannot access specified destination directory. Please provide a valid destination directory. | Write permission is not provided to the output directory. |
Tags: Command Director,article:qanda,HCmD,pagetype:knowledgearticle,log,Gathering Tool
Page ID: 11892