Oracle Solution for Error ora-02708

Solution for Oracle Error ORA-02708

ORA-02708: osnrntab: connect to host failed, unknown ORACLE_SID

What triggered the Error:

The invoked Unix two-task driver failed to find an entry in oratab for the sid you supplied.

What should we do to fix it:

First, check whether you have read access to oratab, and see if the desired sid is there. Add an entry to oratab for the desired sid, if necessary.