Monday, January 30, 2012

Enterprise Manger - can't locate compEMdbconsole.pm in @INC

When runnig emctl start dbconsole, I receive folowing error:


can't locate compEMdbconsole.pm in @INC


This is because when running emctl, it runs emctl from GRID_HOME, because PATH variable set in .profile was set to PATH=$PATH:GRID_HOME/bin:$ORACLE_HOME/bin
To view which emctl executable is run, 


which emctl


If it returns the path of GRID_HOME, then put ORACLE_HOME first in .profile.

1 comment: