2010-04-27

Grid Console Login Page Displays the Login Screen along with Message "HTTP/1.1 200 OK.."

The Grid Control login page displays the Login Form as well as the following message below it: ( note 758280.1 )

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 <>/j2ee/OC4J_EM/log/OC4J_EM_default_island_1/default-web-access.log file
has reached 2GB size and the OMS is unable to update this file anymore. 



The <>/j2ee/OC4J_EM/log/OC4J_EM_default_island_1/default-web-access.log file
has reached 2GB size and the OMS is unable to update this file anymore.
Solution
1. Stop the oms:

cd <>/opmn/bin
opmnctl stopall

2. Rename or delete the offending file:

cd /j2ee/OC4J_EM/log/OC4J_EM_default_island_1
mv default-web-access.log default-web-access.log.orig

3. Restart the oms:

cd <>/opmn/bin
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?  



The note 339819.1 says that : 

Steps to Rotate the log file created by OC4J_EM

The OC4J_EM log file is default-web-access.log located in <>/j2ee/OC4J_EM/log.
The default-web-access.log can be rotated by following these steps:

  1. Stop the OMS:



    cd <>/opmn/bin
    opmnctl stopall
  2. 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"


    TO
    access-log path="../log/default-web-access.log" split="day"

  3. Re-start the OMS:



    cd <>/opmn/bin
    opmnctl startall

Niciun comentariu:

Trimiteți un comentariu