Click to See Complete Forum and Search --> : Installed Oracle10g on Linux, but have TNS errors?


Joncamp
03-17-2007, 01:58 PM
I installed Oracle 10g on Red Hat linux successfully, but...
-----------------------------------------------------------------------------------
During the end of the install I got many errors like this...
TNS: lost contact
--------------------------------------------------------------------------------------
Also, when trying to start SQLPlus, I get the following errors...
Enter user-name: oracle
Enter password:
oracleorcl: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
ERROR:
ORA-12547: TNS:lost contact
-----------------------------------------------------------------------------------------------
Can anybody help me???????????????
Thanx

je_fro
03-17-2007, 02:51 PM
Install libaio?

Joncamp
03-17-2007, 04:04 PM
Thanks to the moderator...

I was able to get sqlplus to work, by doing a Google search on the ORA error number, the problem was actually that I needed to create an init.ora file for my oracle SID. My SID is 'orcl', so I copied the default 'init.ora' file as a file named 'initorcl.ora' and then started SQLplus and logged in with the user-name '/ as sysdba' and started the orcl instance, and created a database and everything worked.

Jon