You can use the saveLogs.pl script to aid in troubleshooting. The script is located in the [Product Directory]/tools directory and is run from a bash or command prompt.

The script creates zip files containing logs for later evaluation. The zip files are saved in the [Product Directory]/logs directory. Along with logs, system information from the results from the environment.pl script are written to [Product Directory]/logs/environment.log. This information is saved in the zip file. The voyence.conf file and the host files are also included in the zip file.

Since the log files can be very large, there are options for selecting a subset of logs as well as searching logs by Date and/or Time and a search string. The date and search string are not case sensitive.

saveLogs.pl script options lists the options available with the saveLogs.pl script.

Table 1. saveLogs.pl script options

Option

Description

./saveLogs.pl CS

Create a zip file containing all current Combo Server logs.

./saveLogs.pl DS

Create a zip file containing all current Device Server logs.

./saveLogs.pl AP

Create a zip file containing all current App Server logs.

./saveLogs.pl all

Create a zip file containing all current logs.

./saveLogs.pl logs

Create a zip file containing logs from <Product Directory>/logs.

./saveLogs.pl tomcat

Create a zip file containing tomcat logs.

./saveLogs.pl jboss

Create a zip file containing jboss logs.

./saveLogs.pl database

Create a zip file containing database logs.

./saveLogs.pl jstack

Create a zip file containing java stack trace files.

Note:

This process could potentially take a long time.

./saveLogs.pl install

Create a zip file containing install logs.

./saveLogs.pl search <string>

Create a zip file containing logs with the string provided.

./saveLogs.pl date <MMM DD> <HH:MM>

Create a zip file containing logs with the date provided (Time is optional).

./saveLogs.pl time <HH:MM>

Create a zip file containing logs where time is HH:MM or HH:MM:SS.

./saveLogs.pl exception <# of leading lines>

Create a zip file containing java exceptions from the logs.

./saveLogs.pl ds_cache

Create a zip file containing the Device Server cache, if applicable.

./saveLogs.pl snapshot

Create a zip file containing the snapshot information (produced from snapshot.pl).