Collecting diagnostics in a zip file
Use the Log Zipper utility for failures related to installation as well as failures that can happen post-installation. Because the zipped log file name is based on date and time, you can overwrite the zip file if you run the logzipper command at intervals less than one minute apart. You can zip installation logs as well as logs of other installed components.
To run the Maintenance Tool
The Maintenance Tool can be launched in a normal manner as well as in silent mode.
- Access the system where is installed.
- Navigate to the directory where is installed.
This is the directory identified by the environment variable ATRIUMCORE_HOME. - Change directories to the atriumcore directory.
- Run the Maintenance Tool:
- On Windows, navigate to your installation directory and double-click AtriumCoreMaintenanceTool.cmd.
- On UNIX, navigate to your installation directory and run ./AtriumCoreMaintenanceTool.sh.
Each time you run the installer or uninstaller, a log file is created and a tab in the Maintenance Tool is created. The name of the tab reflects the date and time the installer or uninstaller is run.
In each log, errors are highlighted in red, and warnings are highlighted in yellow.
To run the Maintenance Tool in silent mode
You can run the Maintenance Tool in silent mode by entering the -silent parameter at the command line. You can use the -silent option to run the log zipper, encryption, or DSO mappings.
- Open a command window and then navigate to the directory where the Maintenance Tool is installed.
If this is a new installation, the Maintenance Tool resides in the installation directory under <bmcAtriumCoreInstallationDirectory>\atriumcore_home\atriumcore. - Run the installer with the -i silent option.
On Windows, enter:
AtriumCoreMaintenanceTool.cmd -i silent <tabName> <commandName>
On UNIX, enter:
AtriumCoreMaintenanceTool.sh -i silent <tabName> <commandName>
For example, to run the log zipper for , enter:
AtriumCoreMaintenanceTool.cmd -i silent -logs -zip_logs
By default, the output is zipped and then stored in the Users profile folder. For example:
C:\Users\Administrator\AppData\Local\Temp\2\AtriumFoundationLogs.zip - To specify a different output file name or location, add the -output_file=<output_file_option> parameter. For example:
AtriumCoreMaintenanceTool.cmd -i silent -logs -zip_logs -output_file=C;\AtriumCore7700.zip
To display help, enter AtriumCoreMaintenanceTool -help.
To set the maximum size limit for the zip file
- In the Maintenance Tool, navigate to the Max Zip Size (in MB) field.
- In this field, enter the maximum size that you want for every zip file that gets created.
- By default, the Max Zip Size (in MB) field is populated with 1024 MB. You can change this value.
- If you enter zero in the Max Zip Size (in MB) field, a single zip file is created instead of multiple zip files.
- Do not use the decimal values while entering the maximum size.
When you specify the maximum zip size (in megabytes), each zip file is created with the specified size and is serially numbered as 1, 2, 3 and so on.
For example, when you set the Max Zip Size (in MB) to 10 MB, when a zip file reaches 10 MB, a new file is created and is named as AtriumCoreLogs.z01, AtriumCoreLogs.z02, and so on.
This makes it easier to send the zip files to BMC Support.
To run the Log Zipper utility by using the Maintenance Tool
- In the Maintenance Tool, click the Logs tab.
- Click Zip Logs.
To prepare the log files from the command line, navigate to the directory where Maintenance Tool is installed, run the following command to have the logs zipped and created in the TEMP directory:- Windows: AtriumCoreMaintenanceTool.cmd -console -logzipper
- UNIX: ./AtriumCoreMaintenanceTool.sh -console -logzipper
In the TEMP directory (Windows) or the /var/tmp servers folder (UNIX), a zip file is created with the date and time appended to the file name: AtriumCoreLogs_mmddyyyy_hhmmss.zip.
- Provide the AtriumCoreLogs_mmddyyyy_hhmmss.zip output file, located in your temp directory, to BMC Support.
To run the All Log Zipper utility by using the Maintenance Tool
- In the Maintenance Tool, click the Logs tab.
- Click Zip All Logs.
In the TEMP directory (Windows), the /var/tmp/ server folder (HP-UX and Solaris), and /tmp (Linux and AIX) servers folder, a zip file is created with the date and time appended to the file name: AllLogs-<machine name>.zip. - Provide the AllLogs-<machine name>.zip output file, located in your temp directory, to BMC Support.
To run Log Zipper utility from the command line
- Open a command prompt, and change to the path where the Maintenance Tool resides. See To run the Maintenance Tool.
Enter one of the following commands
(Windows) %ATRIUMCORE_HOME%\atriumcore\AtriumCoreMaintenanceTool.cmd --silent --logs --zip_logs –max_zip_size=1000
(Windows) %ATRIUMCORE_HOME%\atriumcore\AtriumCoreMaintenanceTool.cmd --silent --logs --zip_all_logs –max_zip_size=1000(UNIX) $ATRIUMCORE_HOME/atriumcore/AtriumCoreMaintenanceTool.sh --silent --logs -zip_logs –max_zip_size=1000
(UNIX) $ATRIUMCORE_HOME/atriumcore/AtriumCoreMaintenanceTool.sh --silent --logs --zip_all_logs –max_zip_size=1000
Run Log Zipper from the command line to collect diagnostics to a file without launching the Maintenance Tool. This procedure is useful when issues prevent launching or using the Maintenance Tool user interface.
Send the single zip file (.zip) or multiple zip files (.zip) and part files (.z01, .z02,...z0n) to BMC Support.
To troubleshoot issues with zipping logs
- Verify that there is sufficient space in the temp directory.
Log Zipper will collect files and create the zip file in the user temporary directory. - Remove older or unnecessary files from the product logs directory.
Many products configure Log Zipper to collect all files in a particular directory, which will increase the time to run and the size of the resulting file if there are many files in the directory. - To search for errors in the Maintenance Tool, click Configuration Log in the log viewer. Errors encountered by the Maintenance Tool are written in the configuration log.
- In the Configuration Log, select Edit > Filter to filter details that contain the entry Adding file.
In the filtered log entries, to see if an error was encountered, check what was the last file or directory that the Log Zipper attempted to add.
To send the zip files to BMC Support
When an issue occurs, an administrator can send the logs generated by the log zipper utility or browser logs to BMC Support.
Logs generated by the Log Zipper utility
- Copy all the generated log files that includes .zip files.
The Log Zipper utility creates part files such as .z01, z02 along with the zip files. - Send all these files to BMC Support.
Browser logs
To troubleshoot an issue, the BMC Support team might require additional information about the network requests and response. These details are recorded in the browser logs and can be easily shared in HAR format.
To save time in the troubleshooting process,
- From your browser, open the developer tools console.
- Export the logs in HAR format.
- Add the browser logs to your support request ticket.