Tech Tip : CA Single Sign-On : Web Agent logs are not rotating and stop logging

Document created by Albert_Fernandez Employee on Jan 19, 2018
Version 1Show Document
  • View in full screen mode

Question:

We have configured Web Agent ACO with log rotation details (size, files to keep, etc) and logs are being stored correctly, however when the log reaches the limit size, they are not rolling and also they stop logging anymore. We need to remove manually the current log file so then a new log file is created and log entries stored. How can we solve this?

Environment:

Web Agent R12.52 SP1 CR06 on RHEL 7.2 (Apache 2.4.6)

Answer:

This behavior can be observed when the LLAWP process is being run with a different user than the log files owner, and therefore cannot create the new log file when rotating logs. This happens usually when having a different user to run the Apache server and the Web Agent, and then starting the server manually with Web Agent user (or another one).

To solve this, you must ensure the Apache user has enough permissions (R/W) on the Web Agent log folder, and start Apache as a service so the logs are created with the Apache user.

 

KD : TEC1268553

Attachments

    Outcomes