UCF STIG Viewer Logo

tc Server ALL must generate log records for system startup and shutdown.


Finding ID Version Rule ID IA Controls Severity
V-240744 VRAU-TC-000105 SV-240744r879559_rule Medium
Logging must be started as soon as possible when a service starts and when a service is stopped. Many forms of suspicious actions can be detected by analyzing logs for unexpected service starts and stops. Also, by starting to log immediately after a service starts, it becomes more difficult for suspicious activity to go unlogged. During start, tc Server reports system messages onto STDOUT and STDERR. These messages will be logged if the initialization script is configured correctly. For historical reasons, the standard log file for this is called catalina.out.
VMware vRealize Automation 7.x tc Server Security Technical Implementation Guide 2023-10-03


Check Text ( C-43977r674401_chk )
At the command prompt, execute the following command:

more /storage/log/vmware/vco/app-server/catalina.out

Verify that tc Server start and stop events are being logged.

If the tc Server start and stop events are not being recorded, this is a finding.

Note: The tc Server service is referred to as Catalina in the log.
Fix Text (F-43936r673975_fix)
Navigate to and open /usr/share/tomcat/bin/catalina.sh.

Navigate to and locate the start block : "elif [ "$1" = "start" ] ; then"

Navigate to and locate both "eval" statements : "org.apache.catalina.startup.Bootstrap "$@" start \"

Add this statement immediately below both of the "eval" statements : '>> "$CATALINA_OUT" 2>&1 "&"'