Multiple Web Agent Debug Logs generated for Policy Agent 3.x for apache 2.2

(Doc ID 2016537.1)

Last updated on JUNE 17, 2015

Applies to:

Oracle OpenSSO - Version 8.0.2 and later
Information in this document applies to any platform.

Symptoms

Multiple web agent debug logs for policy agent 3.x for apache 2.2

Apache is started as root but child process runs as user oracle. In this scenerio multiple  logs will be created after the first log rotation

 

bash-3.2$ ps -ef | grep apache
root     28619     1  0 03:10 ?        00:00:00 /refresh/home/opensso/apache/bin/httpd -k start
oracle   28620 28619  0 03:10 ?        00:00:00 /refresh/home/opensso/apache/bin/httpd -k start
oracle   28621 28619  0 03:10 ?        00:00:00 /refresh/home/opensso/apache/bin/httpd -k start
oracle   28622 28619  0 03:10 ?        00:00:00 /refresh/home/opensso/apache/bin/httpd -k start
oracle   28623 28619  0 03:10 ?        00:00:00 /refresh/home/opensso/apache/bin/httpd -k start
oracle   28624 28619  0 03:10 ?        00:00:00 /refresh/home/opensso/apache/bin/httpd -k start
oracle   28625 28619  0 03:10 ?        00:00:00 /refresh/home/opensso/apache/bin/httpd -k start
oracle   28632 28619  0 03:10 ?        00:00:00 /refresh/home/opensso/apache/bin/httpd -k start

 

bash-3.2$ ls -l
total 9172
-rw-r--r-- 1 root root 9374072 Jun  2 03:44 amAgent


3. After rotation , Multiple  log files

bash-3.2$ ls -l
total 10432
-rw-r--r-- 1 oracle oracle   45872 Jun  2 03:54 amAgent
-rw-r--r-- 1 root   root   9999957 Jun  2 03:49 amAgent-1
-rw-r--r-- 1 oracle oracle   45872 Jun  2 03:55 amAgent-10
-rw-r--r-- 1 oracle oracle   49722 Jun  2 03:55 amAgent-2
-rw-r--r-- 1 oracle oracle   50801 Jun  2 03:55 amAgent-3
-rw-r--r-- 1 oracle oracle   50801 Jun  2 03:56 amAgent-4
-rw-r--r-- 1 oracle oracle   92448 Jun  2 03:54 amAgent-5
-rw-r--r-- 1 oracle oracle   47239 Jun  2 03:55 amAgent-6
-rw-r--r-- 1 oracle oracle   91497 Jun  2 03:54 amAgent-7
-rw-r--r-- 1 oracle oracle   45872 Jun  2 03:55 amAgent-8
-rw-r--r-- 1 oracle oracle   91495 Jun  2 03:54 amAgent-9



Changes

 Enabled log rotation

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms