STA Services Administration Logs

The STA services administration logs track all activity of the services daemon (staservd), Backup Service (staservadm), and Resource Monitor (staresmonadm). The logs can be useful for troubleshooting issues with the daemon or services.

The services administration logs are located in: /var/log/tbi/db/backups

The types of logs are:

  • staservd.log—STA services daemon log. Records when the STA Backup and Resource Monitor services perform their activities.
  • staservadm.log—STA Backup utility log. Provides an audit trail of all usage of the staservadm utility.
  • staresmonadm.log—STA Resource Monitor utility log. Provides an audit trail of all usage of the staresmonadm utility.

For each log type, there may be up to 10 different log files in the directory. Each has a sequential number, 0 to 9, indicating their order. Log "0" is always the active log, and logs "1" through "9" are historical. Log files have a 1.0 MB size limit, and when log "0" reaches the limit, STA rotates the logs. Log "0" becomes log "1", log "1" becomes log "2", and so on. Any existing log "9" is overwritten by log "8" and effectively deleted. Then, STA starts a new log "0".

The following is a sample directory listing showing the files.

$ ls -l /var/log/tbi/db/backups
total 9664
-rw-r--r-- 1 oracle oinstall    1304 Dec  7 15:19 staresmonadm.log.0
-rw-r--r-- 1 oracle oinstall    6353 Jan  8 16:17 staservadm.log.0
-rw-r--r-- 1 oracle oinstall  808936 Feb  3 12:54 staservd.log.0
-rw-r--r-- 1 oracle oinstall 1000085 Jan 28 01:34 staservd.log.1
-rw-r--r-- 1 oracle oinstall 1000148 Jan 20 02:53 staservd.log.2
-rw-r--r-- 1 oracle oinstall 1000114 Jan 12 03:57 staservd.log.3
-rw-r--r-- 1 oracle oinstall 1000082 Jan  4 05:31 staservd.log.4
-rw-r--r-- 1 oracle oinstall 1000006 Dec 27 06:24 staservd.log.5
-rw-r--r-- 1 oracle oinstall 1000058 Dec 19 08:23 staservd.log.6
-rw-r--r-- 1 oracle oinstall 1000098 Dec 11 09:47 staservd.log.7
-rw-r--r-- 1 oracle oinstall 1000138 Dec  3 10:07 staservd.log.8
-rw-r--r-- 1 oracle oinstall 1000082 Nov 25 10:52 staservd.log.9