Search This Blog

Tuesday, July 19, 2011

Config: "Java.Lang.Exception: Exception In Sending Request :: Null"

dbconsole configuration ended with the following error


and while opening oracle enterpirse manager console
java.lang.Exception: Exception in sending Request :: null


in the /db/app/oracle/Db_1/spiora.sterling.local_orcl/sysman/log/emoms.trc

2011-07-19 14:15:06,030 [EMUI_14_15_06_/console/database/instance/sitemap] ERROR perf.sitemap initializeGeneral.400 - Failed to initialize object: ORA-20206:
ORA-06512: at "SYSMAN.EMD_DATABASE", line 1165
ORA-01403: no data found
ORA-06512: at line 1


solution:
+ Stop the dbconsole
+ Relink the agent component manually using this procedure :

1. Make a copy of $ORACLE_HOME/sysman/lib/env_sysman.mk file.

2. Edit the script $ORACLE_HOME/sysman/lib/env_sysman.mk :

- search for the section having "MK_EMDW_LIBNMEMSO_SHLIB"

- replace the line

$(LIBNMEM) $(LIBNMER) \

with

$(LIBNMEM) $(LIBNMER) $(LIBNMO) \

3. Perform the following relink:


cd $ORACLE_HOME/sysman/lib
make -f ins_sysman.mk agent
This will not affect the other database components as only the agent is being relinked.

3 comments:

dulal hasan said...

hi taj..

i am follow your instruction but did not resolve this issue,

Note: when i run "make -f ins_sysman.mk agent" as oracle OS user then reply this message

"message body"
gcc: unrecognized option `-no_cpprt'
make[1]: Leaving directory `/var/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib'
rm -f /var/opt/oracle/oracle/product/10.2.0/db_1/bin/emtgtctl2
mv emtgtctl2 /var/opt/oracle/oracle/product/10.2.0/db_1/bin/emtgtctl2
/bin/chmod 6751 /var/opt/oracle/oracle/product/10.2.0/db_1/bin/emtgtctl2
Enterprise Manager native components relinked
IMPORTANT NOTE: To complete this Install/upgrade, please login as root and
execute the root.sh script.

can describe root.sh is execute must ? and where is that location



Thanks
Dulal

dulal hasan said...

hi taj..

i am follow your instruction but did not resolve this issue,

Note: when i run "make -f ins_sysman.mk agent" as oracle OS user then reply this message

"message body"
gcc: unrecognized option `-no_cpprt'
make[1]: Leaving directory `/var/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib'
rm -f /var/opt/oracle/oracle/product/10.2.0/db_1/bin/emtgtctl2
mv emtgtctl2 /var/opt/oracle/oracle/product/10.2.0/db_1/bin/emtgtctl2
/bin/chmod 6751 /var/opt/oracle/oracle/product/10.2.0/db_1/bin/emtgtctl2
Enterprise Manager native components relinked
IMPORTANT NOTE: To complete this Install/upgrade, please login as root and
execute the root.sh script.

can describe root.sh is execute must ? and where is that location



Thanks
Dulal

dulal hasan said...

Hi taj.

First of all that to..

i have a same type of problem and i follow your instruction

but did not resolve this problem

Note: when i execute this " make -f ins_sysman.mk agent" below message is appear

-------
gcc: unrecognized option `-no_cpprt'
make[1]: Leaving directory `/var/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib'
rm -f /var/opt/oracle/oracle/product/10.2.0/db_1/bin/emtgtctl2
mv emtgtctl2 /var/opt/oracle/oracle/product/10.2.0/db_1/bin/emtgtctl2
/bin/chmod 6751 /var/opt/oracle/oracle/product/10.2.0/db_1/bin/emtgtctl2
Enterprise Manager native components relinked
IMPORTANT NOTE: To complete this Install/upgrade, please login as root and
execute the root.sh script.
----------------------------

here is i did not execute root.sh script it is must for this ? and where is that location?

Thanks

Dulal