I am also having issues this sort of thing, but I'm using Oracle_BI1
my directory is '/u01/app/oracle/product/fmw/Oracle_BI1/opmn/bin/' and from there I try to run './opmnctl status' and I get that error message. Even when I use the absolute path, I still get that message.
opmnctl: ORACLE_INSTANCE is not set.
opmnctl status requires that ORACLE_INSTANCE be correctly set in your
Make sure you are using ORACLE_INSTANCE/bin/opmnctl, or set ORACLE_INSTANCE
in your environment.
Wouldn't it work, and not rely on the $PATH if I did the absolute path to the command?
On my my MyBI servers, I have to be sure to run it as the user 'obi' and not 'root'. Even then, we have a script that sets all those variables, and then goes on. I would say check your user, then your environment variables. Even if you do use the absolute path like I did, the opmnctl command, uses the environment variable its talking about to do other things.