Cause: The logical name ORA_SID doesn't translate to a valid value. See the solution below.
Error solution: Check the value of ORA_SID in the process that gets the error, and correct the installation or command procedures that caused ORA_SID to be set incorrectly.
Database version: Oracle 11g Release 2 (11.2)