HTTP/1.1 200 OK Date: Thu, 07 Feb 2008 09:06:56 GMT Server:
Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server Connection: close Transfer-Encoding:
chunked Content-Type: text/html; charset=iso-8859-1
Cause
The <has reached 2GB size and the OMS is unable to update this file anymore.
The <
has reached 2GB size and the OMS is unable to update this file anymore.
Solution
1. Stop the oms:
cd <
opmnctl stopall
2. Rename or delete the offending file:
cd
mv default-web-access.log default-web-access.log.orig
3. Restart the oms:
cd <
opmnctl startall
To avoid such large logfiles in future, follow the steps in
Note 339819.1: How to Enable Rotation for the HTTP_Server and OC4J_EM Logfiles in the 10g Grid Control OMS Home?
Steps to Rotate the log file created by OC4J_EM
The OC4J_EM log file is default-web-access.log located in <The default-web-access.log can be rotated by following these steps:
- Stop the OMS:
cd <
>/opmn/bin
opmnctl stopall - Take a backup of the file <
>/j2ee/OC4J_EM/config/default-web-site.xml Edit the file and modify the line:
access-log path="../log/default-web-access.log"
access-log path="../log/default-web-access.log" split="day"
TO
- Re-start the OMS:
cd <
>/opmn/bin
opmnctl startall
Niciun comentariu:
Trimiteți un comentariu