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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: ORA-12560 TNS: protocol adapter error

Re: ORA-12560 TNS: protocol adapter error

From: Paul Drake <paled_at_home.com>
Date: Mon, 23 Apr 2001 18:09:26 -0700
Message-ID: <F001.002EFC61.20010423180023@fatcity.com>

Helmut Daiminger wrote:
>
> Hi there!
>
> I am on a brandnew box with a brandnew Win2k Server installed on it. Then I
> run the Oracle 8.1.6 installer and then try to create a database (i.e. use
> my batch and SQL files).
>
> When I log into SQLPLUS as internal/oracle, I get an
>
> ORA-12560 TNS: protocol adapter error.
>
> Any idea why? The listener is up and running.
>
> Thanks,
> Helmut

Helmut,

One reason can be that the ORACLE_SID environment variable has not been set.
Will the box be supporting more than one Oracle database? If not, add the environment variable ORACLE_SID - Control Panel - System - environment variables.

If you have multiple databases, then set the SID in your shell that is currently open, or specify a tns alias.

hth,

Paul

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Paul Drake
  INET: paled_at_home.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon Apr 23 2001 - 20:09:26 CDT

Original text of this message

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