Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: ORA-12560: TNS:protocol adapter error after 8i installation and new db creation

Re: ORA-12560: TNS:protocol adapter error after 8i installation and new db creation

From: Frank van Bortel <fvanbortel_at_netscape.net>
Date: Fri, 07 Jan 2005 14:07:57 +0100
Message-ID: <crm1hq$rk4$1@news4.zwoll1.ov.home.nl>


Jane Wang via OracleMonster.com wrote:
> I installed Oracle 8i on Windows 2000, but the installation was stuck when configuring Net8, Database Configuration Assistant and Oracle HTTP Service (the 3 optional tools). I checked that the following 6 Oracle services were installed under Windows Services:
>
> Service name Status Startup
>
> OracleOraHome81Agent Started Automatic
> OracleOraHome81ClientCache Manual
> OracleOraHome81DataGatherer Started Automatic
> OracleOraHome81HTTPServer Manual
> OracleOraHome81PagingServer Manual
> OracleOraHome81TNSListener Started Automatic
>
> I assumed that my Oracle installation was successful. But when I tried to use SQLPlus as follows:
>
> sqlplus /nolog
> conn / as sysdba
>
> I got the error:
> ORA-12560: TNS:protocol adapter error
>
> I haven't created any database yet. I also tried to create a database manullay using Database Configuration Assistant. After I went through all the configuration, I got the same error, and the database was not created.
>
> Anybody has any idea what could go wrong?
>
> Thanks,
>
> Jianqun
>

A database instance requires services; oradim creates these, and iirc, 8i had a flaw where dbca did not call oradim correctly in all cases.
No services, no process to spawn from the listener, resulting in this error.
That may explain what is going on.

Use oradim from the command prompt, set your environment variables correctly, and rerun the dbca scripts (you *did* save 'em, didn't you?)

If any of the above appears new, strange, or not understandable, read up on concepts and other basic Oracle stuff at docs.oracle.com. May require a free sign up.

-- 
Regards,
Frank van Bortel
Received on Fri Jan 07 2005 - 07:07:57 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US