Linux Agent Generating Trace, user_service_pkg_driver Files Automatically
search cancel

Linux Agent Generating Trace, user_service_pkg_driver Files Automatically

book

Article ID: 436562

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation

Issue/Introduction

After upgrading to version 24.4.2, the Linux application server agent (e.g., EBS/VCP application server agent) continuously generates trace files, including user_service_pkg_driver_*, in its temporary directory. Manually resetting the TCP/IP trace flag to 0 and restarting the agent only stops the generation temporarily; the trace flag eventually reverts to a higher value (e.g., 9) and logging resumes. 

Cause

This behavior is typically caused by an automated Time Event or Script within the system that periodically executes a :SET_UC_SETTING or similar command to enable tracing.

Resolution

  1. Identify the Source Task: Use the following SQL query to find objects that contain commands to set traces:

    sql
     
    SELECT oh_name, oh_client FROM oh WHERE oh_idnr IN (SELECT ot_oh_idnr FROM ot WHERE ot_content LIKE '%SET_TRACE%') AND oh_deleteflag = 0;

     

  2. Stop the Automated Task:

    • Depending on the results, locate the identified object based on oh_name and anything not in client 0
    • Quit the active execution of the task to prevent further trace modifications.
  3. Reset Agent Trace Settings:

    • In the Administration perspective, navigate to Agents.
    • Right-click the affected agent and select Advanced Options.
    • Select Reset trace files, ensure the TCP/IP trace flag is set to 0, and click Apply.
  4. File Cleanup: Once tracing is disabled, existing user_service_pkg_driver_* files and *trc* can be safely deleted from the agent's temp directory.