Try "select status from v$instance;" instead.
You can also try "ps -ef | grep dbw0"
or "env | egrep "ORACLE|TNS_ADMIN|PATH"
to make sure that you environment is set.