Thursday, July 3, 2008

$ORACLE_HOME/(server_dbname)/sysman/recv/errors directory is filled up by err files.

1. Stop the consoles:
cd $ORACLE_HOME/bin
./emctl stop iasconsole
./emctl stop dbconsole

2. Make a backup of the $ORACLE_HOME/sysman/jlib/emCORE.jar file
cd $ORACLE_HOME/sysman/jlib
cp emCORE.jar emCORE.jar.bkp

3 Replace this jar file by that one of 10.1.0.5.0 version: emCORE.jar

4. Make a copy of the $ORACLE_HOME/bin/emctl.pl file.
cd $ORACLE_HOME/bin
cp emctl.pl emctl.pl.bkp

5. Replace 10.1.0.3.0 to 10.1.0.5.0 in the $ORACLE_HOME/bin/emctl.pl file.
There are three places where this string has to be changed.

6. Start consoles.
cd $ORACLE_HOME/bin
./emctl start iasconsole
./emctl start dbconsole
./emctl status iasconsole
./emctl status dbconsole

2 comments:

Anonymous said...

FAIL: does not fix error described on Windows Server 2003, OAS 10.1.2.3.0

Anonymous said...

I was facing the same problem in my 11g database which was creating the the error in 10 g home server_db/sysman/recv/errors and create lots of files as A0000000064.err_2007_06_29_17_45_53. files and ending up to eat all my disk space.


solution:-
go to the 10g home
set ORACLE_SID=DB

emctl stop dbcosole


set the 11g parameters like ORACLE_HOME,ORACLE_BASE,ORACLE_SID

set ORACLE_UNQNAME=DB

emctl getemhome


create directory

11g_home/hostname_DB/sysman/recv/errors


and run this again

emctl getemhome

./emctl status dbconsole

cp 11ghome/oc4j/j2ee/OC4J_DBConsole_HOSTNAME_DB
copy all the file from another DB same directory.
./emctl start dbconsole

then it worked for me

it stopped creating logs for me in 10 G as well as 11g hostname_DB/sysman/recv/errors

directory