Question : rotatelogs not working on oracle web oem

I am using 9ias release 2 on win 2k. I tried the following commands to rotate the log files.

TransferLog "|c:\weblog\rotatelogs c:\weblog\access_log 86400"

CustomLog "|c:\weblog\rotatelogs c:\weblog\access_log 86400" custom

However, none of them works. The apache HTTP server would not even start from the oracle web oem with the above statement.

It works when the statement is changed back to
CustomLog c:\weblog\access_log custom

Note: c:\weblog has a copy of rotatelogs.exe

I just want to configure in such a way to have a log file everyday.



Answer : rotatelogs not working on oracle web oem

From Metalink doc 225592.1 (http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=225592.1)

1. Take a backup of $ORACLE_HOME\opmn\conf\opmn.xml
2. Edit Insert $ORACLE_HOME\opmn\conf\opmn.xml
3. Change line:  
 
to:
 
     
       
     

 


4. Shutdown iAS completely and then restart iAS and HTTP Server starts.
Random Solutions  
 
programming4us programming4us