Monday, May 12, 2014

OC4J_DBCONSOLE_localhost_orcl is not found error in OEM

OC4J_DBCONSOLE_localhost_orcl is not found error in OEM



OEM is not get connecting

If you get OC4J_DBConsole_localhost_orcl is not found


solution:

just do SET/EXPORT ORACLE_HOSTNAME and ORACLE_UNQNAME

windows:
set ORACLE_HOSTNAME=localhost
echo %ORACLE_UNQNAME%
set ORACLE_UNQNAME=ORCL
echo %ORACLE_HOSTNAME%
emctl status dbconsole
emctl stop dbconsole
emctl start dbconsole


LINUX:
export ORACLE_HOSTNAME=localhost
echo ORACLE_HOSTNAME
export ORACLE_UNQNAME=ORCL
echo ORACLE_UNQNAME
emctl status dbconsole
emctl stop dbconsole
emctl start dbconsole



it'll show you on link like "https://localhost:1158/em/console/aboutApplication"


copy that link
paste it in a browser
logon as user
ENJOY OEM in your browser




No comments:

Post a Comment