January 4, 2008

Huge Log files Generated by OMS

PROBLEM Description:

When monitoring the OMS logfiles, for my surprise there was 803G (yes it's Gig) logfiles where genereated at $OMS_HOME/opmn/logs directory. Each log file has 1.5G in size. The contents looks like the following,

$ tail ons.log.08-01-03_15:03:5608/01/03 15:03:56 [4] Local connection 0,127.0.0.1,6101 missing form factor08/01/03 15:03:56 [4] Local connection 0,127.0.0.1,6101 missing form factor08/01/03 15:03:56 [4] Local connection 0,127.0.0.1,6101 missing form factor08/01/03 15:03:56 [4] Local connection 0,127.0.0.1,6101 missing form factor08/01/03 15:03:56 [4] Local connection 0,127.0.0.1,6101 missing form factor

Cause: 6101 port was used by some other process

Solution:

Change this port (6101) number from $OMS_HOME/opmn/config/opmn.xml file with value range 6102 to 6109.

Take the backup of $OMS_HOME/opmn/config/opmn.xml file.

$ cp opmn.xml opmn.xml.orig
$ vi opmn.xml


as


save and exit.

stop all OMS serverices

$ opmnctl stopall
$ emctl stop oms

Update the config changes with DCM reporsitory

$ cd $OMS_HOME/dcm/bin
$ dcmctl updateConfig -d -v

Now start the opmn processes.

$ opmnctl startall
$ emctl start oms

=====================

Reference:
Note:444387.1 - Problem: Grid Control Oms Generate Huge Ons Logs

No comments: