EM dbconsole keeps using older ORACLE_HOME
Hi there,
We moved database to another server where ORACLE_HOME is different than what it was on source server.
We removed em dbconsole using following:
$ emca -deconfig dbcontrol db
We then tried to recreate the EM using:
$ emca -config dbcontrol db -repos recreate
It created required files and folders, including hostname.domain_SID in new ORACLE_HOME.
However, newly created emd.properties in sysman/config shows older ORACLE_HOME entries for following:
emdRoot
perlBin
scriptsDir
hostConfigClasspath
JAVA_HOME
CLASSPATH
ouiLoc
We can see /etc/oraInst.loc has correct location for inventory files on new ORACLE_HOME on new server. Also, $ORACLE_HOME/oraInst.loc has same value as /etc/oraInst.loc.