Oracle XE installation  (TNS:protocl adapter error)

Hi,
I have been reading through all emails regarding installing Oracle 10g XE.
I have successfully installed XE on Windows XP on first attempt with no problems.
Next, I have to install on Windows 2000 but during the Installation process Task 1 of 5 ends prematurely.
I looked at postDBCreation.log and have following:
QL> connect "SYS"/"&&sysPassword" as SYSDBA
ERROR:
ORA-12560: TNS:protocol adapter error
All Oracle Services are running, ORACLE_SID is set, as well as ORACLE_HOME,ORACLE_BIN, and Path set to ORACLE_HOME\bin
I have tried all suggestions but cannot make progress.
Any advice is welcome.
Thanks.

Hi,
Sorry for late response. I took a break because my head was spinning.
Here is what I have for listener.ora
==============================
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = c:\oraexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = c:\oraexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = mypc)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
Here is what I have for sqlnet.ora
==========================
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES = (NTS)
Here is what I have for tnsnames.ora
=============================
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = mypc)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
The TNS:protocol adapter error also shows up during install when XE.bat is executed:
=================================================
...\10.2.0\server\config\scripts\xe.bat
w/ the see
...10.2.0\server\config\seeddb
populated as instructed in other posts, however it fails as indicated in:
\10.2.0\server\config\log\postDBcreate.log
<snippet>
SQL> connect "SYS"/"&&sysPassword" as SYSDBA
ERROR:
ORA-12560: TNS:protocol adapter error
SQL> set echo on
SQL> //create or replace directory DB_BACKUPS as 'c:\oraxe\app\oracle\flash_recovery_area';
SP2-0103: Nothing in SQL buffer to run.
SQL> begin
2      dbms_xdb.sethttpport('8087');
3      dbms_xdb.setftpport('0');
4 end;
5 /
SP2-0640: Not connected
<end snippet>
Questions/Answers
==================================
1. Connect
C:\>sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 12 19:09:05 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect system/pw1@XE as sysdba
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
SQL>
2. tnsping
C:\>tnsping XE
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 12-FEB-2006 19:11:27
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
c:\oraexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = mypc)(PORT = 1521)) (CONNECT_DATA = (SERVER
= DEDICATED) (SERVICE_NAME = XE)))
OK (80 msec)
C:\>
It seems to work.
3. value of TNS_ADMIN env variable.
I did not have it set as this machine never had Oracle before and I am newbie to Oracle. I will set it a try again. I'll also define TNS_NAME as I just learned about this one too.
now my Env variables have:
COMPUTERNAME=MYPC
ORACLE_BIN=c:\oraexe\app\oracle\product\10.2.0\server\bin
ORACLE_HOME=c:\oraexe\app\oracle\product\10.2.0\server
ORACLE_SID=XE
Path=c:\oraexe\app\oracle\product\10.2.0\server\bin;..
REM THE FOLLIWNG I JUST ADDED
TNS_ADMIN=c:\oraexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN
TNS_NAME=XE
Some more testing
======================
Now I have stopped and re-started the services in this order.
OracleXETNSListener
OracleServiceXE
OracleXEClrAgent
OracleMTSRecovery
These last two don't automatically start w/ Beta 3 but I started anyway.
A quick check to see if:
http://127.0.0.1:8087/apex comes up
No luck. Which I expected because I think the XE database needs to be created first. So let's check to see if I can get into sqlplus now.
And I still get:
SQL> connect system/pw1@XE as sysdba
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
SQL>
Next, I am going to try to run XE.bat again, but first I am populating the seeddb directory w/
EXPRESS.CTL (5,840 KB)
express.dbc (5 KB)
EXPRESS.DFB (133,040 KB)
which I have set aside during the installation (per some other forum suggetion)
I invoked XE.bat as: xe pw1 pw1
passwords I have during install to SYS and SYSTEM
And XE.bat spits out:
Adding user to ORA_DBA group...
Creating Directories...
A subdirectory or file C:\oraexe\app\oracle\admin\XE\adump already exists.
A subdirectory or file C:\oraexe\app\oracle\admin\XE\bdump already exists.
A subdirectory or file C:\oraexe\app\oracle\admin\XE\cdump already exists.
A subdirectory or file C:\oraexe\app\oracle\admin\XE\dpdump already exists.
A subdirectory or file C:\oraexe\app\oracle\admin\XE\pfile already exists.
A subdirectory or file C:\oraexe\app\oracle\admin\XE\udump already exists.
A subdirectory or file C:\oraexe\app\oracle\product\10.2.0\server\dbs already exists.
A subdirectory or file C:\oraexe\oradata\XE already exists.
Creating Instance...
Starting Instance...
Database creation in progress...
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 12 19:37:58 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12560: TNS:protocol adapter error
SQL> spool C:\oraexe\app\oracle\product\10.2.0\server\config\log\CloneRmanRestore.log
SQL> startup nomount pfile="C:\oraexe\app\oracle\product\10.2.0\server\config\scripts\init.ora";
ORA-12560: TNS:protocol adapter error
SQL> @C:\oraexe\app\oracle\product\10.2.0\server\config\scripts\rmanRestoreDatafiles.sql;
SQL> set echo off;
SP2-0640: Not connected
and more of the same follows....
And now it is almost time to give up. I will keep working on trying to install so I can check it out, but for now I will continue to use mySQL
Can't use it if cannot install it or get it to run...
Thanks for any assistance you can give me.

Similar Messages

  • Oracle Database 11g Installation Issue: ORA-12560:TNS: protocol adapter error.

    Folks,
    Hello. Initially, my Windows XP host name is "localhost" and IP address 127.0.0.1.
    I installed Oracle Database 11g with Windows XP successfully and all Database clients work with Database instance correctly.
    For some reasons, I uninstalled the entire Database Server and delete the entire installation directory /oracle.
    I configured Windows XP IP address into 192.168.196.101 in order to ping other machines.
    For my need, I installed Oracle Database 11g with Windows XP again. On step 7 of 8: Oracle Database Configuration Assistant, I got this error:
    ORA-12560:TNS: protocol adapter error.
    I click "Password Management" button, there are no rows in this Windows (no username, no lock accounts).
    I check listener as below:
    C:\>lsnrctl
    LSNRCTL>start
    Its output: listener name LISTENER has already been started.
    LSNRCTL>status
    Its output: ......Service DB1 has 1 instance. Instance DB1 status ready. The command completed successfully.
    I check \Oracle\cfgtoollogs\dbca\DB1\trace file, the entry is :
    listen[0]=LISTENER address=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(port=1522))
    I also check \oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\SAMPLE\tnsnames.ora file and listener.ora file, the entries are the same as below
    HOST=localhost  port=1522
    I think HOST=localhost and port=1522 is the cause of the error ORA-12560 because Windows XP has been configured into HOST=192.168.196.101.
    But I don't understand how to solve this issue.
    Can any folk tell me how to solve this issue ? need to cancel the installation on step 7 of 8 and install it again ?
    Thanks.

    Folks,
    Hello. Oracle Database 11g Installation Wizard is on step 7 of 8. I don't cancel the Wizard. I am not sure whether there is effect or not. listener.ora is not removed. I have been waiting for a while after stop listener.  I run the 3 commands again and copy the result as below:
    C:\>lsnrctl stop
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 14-AUG-2013 19:32
    :14
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       64-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1522)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       64-bit Windows Error: 61: Unknown error
    C:\>
    C:\>
    C:\>
    C:\>
    C:\>
    C:\>lsnrctl start
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 14-AUG-2013 19:33
    :04
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    System parameter file is C:\SecondTime_OracleDatabase_Install_Directory\product\
    11.2.0\dbhome_1\network\admin\listener.ora
    Log messages written to c:\secondtime_oracledatabase_install_directory\diag\tnsl
    snr\user-19yyar8x0d\listener\alert\log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522
    ipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                14-AUG-2013 19:33:07
    Uptime                    0 days 0 hr. 0 min. 3 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\SecondTime_OracleDatabase_Install_Directory\product
    \11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File         c:\secondtime_oracledatabase_install_directory\diag\tn
    slsnr\user-19yyar8x0d\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\>
    C:\>
    C:\>
    C:\>
    C:\>lsnrctl service
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 14-AUG-2013 19:36
    :37
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "DB1XDB" has 1 instance(s).
      Instance "DB1", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1022 state:ready
             DISPATCHER <machine: user-19YYAR8X0D, pid: 120>
             (ADDRESS=(PROTOCOL=tcp)(HOST=user-19yyar8x0d)(PORT=1051))
    Service "DB1" has 1 instance(s).
      Instance "DB1", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:19 refused:0 state:ready
             LOCAL SERVER
    The command completed successfully
    C:\>
    As we see, listener.ora file is not removed by Stop command. I am on the installation Wizard. How to solve this issue ?
    Thanks.

  • ORA-12560:TNS protocol adapter Error while upgrading oracle 8i to Oracle 9i

    Hi,
       I am updrading My oracle 8i setup to Oracle 9i in the Windows operaton System.During the upgradation in the Database upgrade Assistant,The installer asked for the system authetication for upgrading the existing database.After proving the Username and password i am getting an error as ORA-12560:TNS protocol adapter Error .Please help me about what do I need to modify.
    Thanks in Advance,
      Anjela

    Hi,
      Here are the output
    SQL> select * from v$version;
    BANNER                                                                         
    Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production                     
    PL/SQL Release 8.1.7.0.0 - Production                                          
    CORE     8.1.7.0.0     Production                                                      
    TNS for 32-bit Windows: Version 8.1.7.0.0 - Production                         
    NLSRTL Version 3.4.1.0.0 - Production                                          
    SQL> select version from v$instance;
    select version from v$instance
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> select comp_id,version,status from dba_registry;
    select comp_id,version,status from dba_registry
    ERROR at line 1:
    ORA-00942: table or view does not exist
    Thanks,
    Anjela

  • ORA-12560: TNS:protocol adapter error Oracle 10G

    hi,
    I just installed Oracle 10G Express Edition. Installation was successful, when I tried to connect the database using
    Scott/tiger or hr/hr it does not Connect and throwing an exception :
    ORA-12560: TNS:protocol adapter error
    How can I get rid of this error to connect to the database.
    I am using Windows Vista 64 Bit OS....
    Thanks
    SUDHEER
    Edited by: user9274918 on Mar 4, 2010 8:49 PM

    user9274918 wrote:
    I am using Windows Vista 64 Bit OS....IF you are using DHCP to get the IP address, and you have not installed the Microsoft Loopback Adapter, the chances are very high that you will get 12560.
    It is also possible to get that message is you are not using the same adapter (or do not have networking) when the listener attempts to start or when trying to connect.
    Post the results of
    ipconfig /all
    lsnrctl status
    and the contents of the listener.ora and tnsnames.ora found in the %ORACLE_HOME%\network\admin directory
    And tell us what steps you skipped/missed in the install doc at http://www.oracle.com/pls/xe102/homepage

  • Reply to : TNS:protocol adapter error while starting Listener created by Oracle SES11.1.2.2 Setup

    To answer the post from Manwendra Jun 20, 2013 7:17 AM
    " TNS:protocol adapter error while starting Listener created by Oracle SES11.1.2.2 Setup "
    https://community.oracle.com/message/11077982#11077982
    Hello,
    Probably that you already have the listener up and running from your installation of SES.
    Also, you could check in your Windows Services (from the Control Panel), you'll see that
    there is a service like OraclesesTNSListener up and running.
    If it is the case, then it's probably why it is telling you the message below when trying to start it again:
    TNS-01106: Listener using listener name LISTENER has already been started
    Then, before trying to start the listener, you can check if it is already up by running the command : lsnrctl status
    If you need to shut it down, then you can run the command : lsnrctl stop
    for example, from the command line:
    > set ORACLE_SID=ASUSES
    > set ORACLE_BASE=D:\ses\
    > set ORACLE_HOME=D:\ses\seshome
    > cd %ORACLE_HOME%/bin
    > lsnrctl status            <== this will give you the status of your listener
    > lsnrctl stop              <== this will stop your listener
    > lsnrctl start             <== this will start your listener
    Hope this can help you and others.
    Regards,
    -Stephan

    i have done that. i copied the tnsnames.ora, sqlnet.ora, listener.ora files from the c:>oracle-home\network\admin folder into oracle_devhome\network\admin folder. i have also set the environment variable oracle_sid=skoolman. skoolman is my sid as you can see on the tnsnames.ora. but the error massage still comes up as soon as i run forms from the forms builder environment.
    but as i said i am able to connect to the database with my user name and pass word from within the forms builder environment to access my tables and create data blocks etc but as soon as i run the form through internet explorer the forms servlet boots up and the error massage ora-12560 tns protocol adapter error pops up.
    thanks guys for your heip. please i need more solutions

  • Attn: oracle team - ORA:12560 TNS protcol adapter error

    We are getting this error ORA:12560 TNS protcol adapter error from many client PCs.
    We can ping from the client to the database server. When we try to do tnsping80 to the database server, it is giving this error. We reinstalled Oracle, but of no use. Only after formatting the PC and installing Oracle, it started working properly.
    Please give a solution.
    Thanks

    Please check Oracle Installer log
    "platGroup = UNIX
    INFO: Query Returned: false
    INFO: Setting variable 's_portSpecificDiskLoc' to '[port specific loc]'. Received the value from the variable calculation.
    INFO: Calling Query generalQueries10.1.0.3.0 getOSName
    INFO: Query Returned: NT_X86
    INFO: Setting variable 's_operatingSystem' to 'NT_X86'. Received the value from the variable calculation.
    INFO: Setting variable 's_ntEnvOH' to ''. Received the value from the variable calculation.
    INFO: Setting variable 's_isRAWChosen' to ''. Received the value from the variable calculation.
    INFO: Calling Query areasQueries10.2.0.1.0 getComponentInstallTypeName
    INFO: Query Returned: EE
    INFO: Setting variable 's_installType' to 'EE'. Received the value from the variable calculation.
    INFO: Calling Query netQueries10.2.0.1.0 getHostIPAddress
    INFO: Query Returned: 192.168.2.4
    INFO: Calling Query netQueries10.2.0.1.0 getHostNameForIPAddress
    ipAddress = 192.168.2.4
    INFO: Query Returned: 192.168.2.4
    INFO: Calling Query netQueries10.2.0.1.0 getMachineName
    hostName = 192.168.2.4
    INFO: Query Returned: 192
    INFO: Setting variable 's_hostname' to '192'. Received the value from the variable calculation.
    INFO: Setting variable 's_globalDBName' to 'orcl'. Received the value from the command line.
    INFO: Setting variable 's_fullPath' to ''. Received the value from the variable calculation.
    INFO: Setting variable 's_dlgStarterDBConfigCreateStarterDB' to 'Create a starter database'. Received the value from the variable calculation.
    INFO: Setting variable 's_dlgSIDMigrateSelection' to 'N'. Received the value from the variable calculation. "
    Thanks

  • Oracle 64bit Server (From JD Edwards) and oracle 32 bit client showing ORA:12560 "TNS: protocol adapter error "??

    I installed 64bit Oracle successfully and was able to connect to DB using SQL Developer and sqlplus (Oracle E1local and TNSListener is up and running). I installed Oracle 32bit client and copied both tnsnames.ora and sqlnet.ora files to C:\app\Administrator\product\11.2.0\client\Network\admin. But if i am trying to access DB through Oracle 32bit client (thru cmd as sqlplus /sys as sysdba or thru sqlplus , it is throwing ORA:12560. "TNS: protocol adapter error ". (Both 62bit server and 32 client on same VM machine - Windows 2008 R2 ). I directly executed sqlplus from "C:\app\Adm\....client\bin", but it is still throwing same error and because of this JDEdward installation is not able to find if any database is running or not.!
    My environment variables order: %PATH% =  C:\app\Administrator\product\11.2.0\client\bin;c:\Oracle\E1Local\bin; I have seen all the previous threads and try setting ORACLE_HOME and PATH variable using CMD and tried accessing the database, but it fails all the time.
    Please help me with the problem. Thanks in advance.

    Thread moved from Peoplesoft forum to JD Edwards.
    Nicolas.

  • Oracle 12560 tns protocol adapter error

    Hi, I have installed oracle database 10G Release 10.2.0.1.0 in my laptop which works correctly, Then I installed Oracle Developer suite in the same laptop because It is for study purpose only (I don't plan to connect to another pc). I had to start the OC4J instance manually, I create a form with the forms builder but when I compile the Oracle application server forms service gives this error :'oracle 12560 tns protocol adapter error ' and then shows me a connect screen that doesnt accept my password, Can anybody please help me

    To connect to an Oracle database you need to make the connection identifier which is something like this:
    <service name> =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = <server hostname>)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = <db SID>)
      )Not that the port number is the default number, if you have changed it during database installation you need to use the right port number.
    Or the easier way you can use the Net Configuration Assistance GUI tool found in Start/my programs/oracle home

  • ORA-12560: TNS:protocol adapter error in Oracle Forms...

    Hi, I installed Oracle developer suite to use for Oracle forms but am getting "ORA-12560: TNS:protocol adapter error" when trying to run a form. The database is running locally on my PC.
    I've run the command line to see if hostname matches up with the "HOST= " in the ".../network/admin/listener.ora " file match, they do. What can I try next? I did have Oracle 10gXE installed, which I have now removed. I'm including my tnsnames and listener file content:
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
    Thanks in advance for any help!

    Of course you found another one. Each .and every Oracle database client home (such as developer, app server) has one.
    Don't just change the port - the tnsnames.ora in the dev home does not point to a database service. It only points to an extproc [external procedure called by a database]. You need to put a database service entry into that file similar to the one in the database home. (Easiest solution - copy the tnsnames.ora from db home ... after you've made a backup)
    And please don't tell me you are using Developer 6i - a simple Google search would verify that the networking is incompatible.

  • TNS-12560: TNS:protocol adapter error on Oracle Enterprise Linux

    hi,
    I am getting -
    TNS-12560: TNS:protocol adapter error when I try to connect the Db installed on Oracle Enterprise Linux from other machines.
    I made all the .bash_profile changes and created one shared listener also to check whether there is any problem with the dedicated default listener or its port.
    Please suggest the solution .
    Regards
    sumit chaudhary

    You need to open the firewall on OEL.
    Edit the contents of /etc/sysconfig/iptables file. I added the line in bold:
    # Firewall configuration written by system-config-securitylevel
    # Manual customization of this file is not recommended.
    *filter
    :INPUT ACCEPT [0:0]
    :FORWARD ACCEPT [0:0]
    :OUTPUT ACCEPT [0:0]
    :RH-Firewall-1-INPUT - [0:0]
    -A INPUT -j RH-Firewall-1-INPUT
    -A FORWARD -j RH-Firewall-1-INPUT
    -A RH-Firewall-1-INPUT -i lo -j ACCEPT
    -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
    -A RH-Firewall-1-INPUT -p 50 -j ACCEPT
    -A RH-Firewall-1-INPUT -p 51 -j ACCEPT
    -A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT
    -A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT
    -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 631 -j ACCEPT
    -A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
    -A RH-Firewall-1-INPUT -m state state NEW -m tcp -p tcp dport 22 -j ACCEPT
    *-A RH-Firewall-1-INPUT -m state state NEW,ESTABLISHED,RELATED -m tcp -p tcp dport 1521 -j ACCEPT*
    -A RH-Firewall-1-INPUT -m state state NEW -m udp -p udp dport 137 -j ACCEPT
    -A RH-Firewall-1-INPUT -m state state NEW -m udp -p udp dport 138 -j ACCEPT
    -A RH-Firewall-1-INPUT -m state state NEW -m tcp -p tcp dport 139 -j ACCEPT
    -A RH-Firewall-1-INPUT -m state state NEW -m tcp -p tcp dport 445 -j ACCEPT
    -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
    COMMIT
    As you can see, my listener port is 1521.
    Do not put that line after the line with REJECT keyword ( it won't work then) !
    Save and close the file. Restart iptables:
    /etc/init.d/iptables restart
    Now you can connect from the outside.
    It works on my OEL version 5 update 4.

  • Oracle 9i database server ORA-12560: TNS: Protocol adapter error ?

    My OS windows xp 2002 sp2. im using oracle 9i database server .I cant login Oracle sql * plus when in going Enter user name and password “ scott and tiger “ then I got problem here is the message is below :
    SQL*Plus: Release 9.0.1.0.1 - Production on Sat Mar 13 03:12:47 20
    (c) Copyright 2001 Oracle Corporation. All rights reserved.
    Error :
    ORA-12560: TNS: Protocol adapter error
    Any one help me please. Please let me know how can I slove or fix the problem ?
    how can im going to login Oracle 9i database Sql Plus ? anywany other fix this problem ?
    Edited by: shajib on Mar 12, 2010 1:31 PM

    Step 1 - from a command line on the database machine, enter 'lsnrctl status' and report the output
    Step 2 - display the contents of the %ORACLE_HOME%\network\admin\tnsnames.ora file on the machine running sqlplus.
    These are the first two stepo, whether on the database machine or in a traditional client-server configuration.

  • Gives  ORA-12560: TNS: protocol adapter error when installing oracle 10g

    I tried to install oracle 10g r2 in server 2008. but it gives ORA-12560: TNS: protocol adapter error when installing. how I can fix this issue??? please help me ASAP. because its urgent.
    thanks in advance.
    chamara

    Welcome to the forums !
    Pl indicate which version of 10g you are installing and on which version of Win 2008. Neither 10gR1 nor 10gR2 are certified to be installed on Win 2008 R1, AFAIK.
    For 10gR2, only 10.2.0.5 is certified for Win 2008 R2 - see MOS Doc 1173433.1 (How to Install Oracle 10.2.0.5 on MS Windows 7 / Windows 2008R2)
    Also see MOS Doc 740926.1 (Where can I find the Database / Client software to download for Microsoft Vista, or Windows 2008R1?).
    Both 10gR1 and 10gR2 are now in extended support - is there a reason you are not using 11gR2 ?
    HTH
    Srini

  • ORA-12560: TNS Protocol Adapter Error(ORACLE 11g)

    i installed 11g on my laptop yesterday and it was working perfectly but today it keeps writing:(AS SHOWN BELOW)
    ========================================================================
    SQL*Plus: Release 11.2.0.1.0 Production on Fri May 20 12:26:48 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Enter user-name: hr
    Enter password:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name: hr
    Enter password:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name:
    ===============================================================================
    I checked the listener status and it seems to be working quite well as shown below...i don't understand!
    ================================================================================
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Users\Bryan>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 20-MAY-2011 12:31
    :07
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 20-MAY-2011 09:30:43
    Uptime 0 days 3 hr. 0 min. 24 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\app\Bryan\product\11.2.0\dbhome_2\network\admin\lis
    tener.ora
    Listener Log File c:\app\bryan\diag\tnslsnr\Bryan-PC\listener\alert\log.
    xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    ===========================================================================
    i dont know wat happened PLEASE ASSIST

    Hello,
    I am having the same problem, my step son touched the computer and have no idea what he did.
    here are my results
    lsnrctl services
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Users\Rami>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 17-JAN-2013 23:22
    :23
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    C:\Users\Rami>

  • Vbscript to connect to oracle fails with ORA-12560: TNS:protocol adapter error

    I am running a Windows 7, 64 bit system with the Oracle 32 bit client installed.  The 32 bit client is required for use with Oracle's Documaker Studio which is working fine with the current client configuration.  I would like to connect the same database using a vbscript.  Here is the test script I am using:
    Option Explicit
    Dim strCon
    strCon = "Driver={Oracle in OraClient11g_home1_32bit}; " & _
             "CONNECTSTRING=(DESCRIPTION=" & _
             "(ADDRESS=(PROTOCOL=TCP)" & _
             "(HOST={VSTODEEDATxx.xxxxxxx.com})(PORT=1521))" & _
             "(CONNECT_DATA=(SERVICE_NAME=IDMAKER))); uid=xxxxxx;pwd=xxxxxxxx;"
    Dim oCon: Set oCon = WScript.CreateObject("ADODB.Connection")
    Dim oRs: Set oRs = WScript.CreateObject("ADODB.Recordset")
    oCon.Open strCon
    Set oRs = oCon.Execute("SELECT TO_CHAR(SYSDATE,'MM-DD-YYYY HH24:MI:SS') AS DateTime FROM DUA")
    While Not oRs.EOF
        WSCript.Echo oRs.Fields(0).Value
        oRs.MoveNext
    Wend
    oCon.Close
    Set oRs = Nothing
    Set oCon = Nothing
    In the connection string I am using the 32 bit driver used succesfully by Documaker.  I provided all the parms to eliminate the need for tnsnames.ora.  However, I do have tnsnames.ora on my system and Documaker is using it.
    Since the client is 32 bit, I am using the following command to run the script:
    c:\windows\syswow64\cscript.exe c:\temp\oracle\testing\testconnect.vbs
    This is suppose to run the script in 32 bit mode and be compatible with the client.
    When I run the program I get the following error:
    Microsoft (R) Windows Script Host Version 5.8
    Copyright (C) Microsoft Corporation. All rights reserved.
    c:\temp\oracle\testing\testconnect.vbs(12, 1) Microsoft OLE DB Provider for ODBC
    Drivers: [Oracle][ODBC][Ora]ORA-12560: TNS:protocol adapter error
    Would someone please advise on how to debug this problem?  Thanks, Gary

    "connectstring" is not a valid attribute with Oracle's ODBC driver, so since there is no datasource attribute specified, the app is trying to connect to a local database, and since you don't have one, you get 12560.
    To resolve the problem, pass DBQ=      instead of  CONNECTSTRING=
    http://docs.oracle.com/cd/B19306_01/server.102/b15658/app_odbc.htm#i1093897
    Greg

  • TNS:protocol adapter error in oracle 9i

    hi,
    I am using Windows vista in my PC. I just installed Oracle 9i. When I put in my
    user-name and password to run SQL+ 9.0.1 it gives me the following error
    message : ERROR:ORA-12560: TNS:protocol adapter error.
    Please give me the steps how to fix this error.
    Thanks,
    Noble

    Hi
    You are right pal. I just tested it and it seems like when the oracle_sid is not set then you get this error.
    LSNRCTL> stop
    Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
    The command completed successfully
    LSNRCTL> exit
    E:\oracle\product\10.1.0\Db_1\BIN>sqlplus "/ as sysdba"
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Oct 7 22:14:35 2005
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    E:\oracle\product\10.1.0\Db_1\BIN>set oracle_sid=adnan
    E:\oracle\product\10.1.0\Db_1\BIN>sqlplus "/ as sysdba"
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Oct 7 22:14:45 2005
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>
    Thanks for the correction.
    Rgds
    Adnan

Maybe you are looking for

  • Elusive Album Art

    Hello, I recently made it a project to find and in some cases add my own album artwork for the entire list of music in my iTunes library (I have no life I know). In iTunes every track has a piece of album artwork to accompany it. On my iPod however t

  • Acrobat 9.5 - I'm getting a 148:3 error.  Everything worked fine yesterday, nothing has changed Win7

    Today I tried to use Acrobat 9.5 and I am receiving this message:  "Licensing for this product has stopped working." "You cannot use this product at this time.  You must repair the problem by uninstalling and then reinstalling this product of contact

  • Acrobat XI download issues

    How long is it suppose to take to download the Acrobat XI trial?  My laptop says 3 hours !  Also, how long is the trial period?

  • I can't download apps from the store with my ipad2 anymore

    I can't download apps from the store with my ipad2 anymore. It was working fine the other day. I tried signing out and back in with no luck.

  • Trap on a link failure

    does someone know how to enable a snmp trap if an interface link goes down? There are 4 bge interfaces, the IP of the SNMP Manager configured. In the /var/adm/messages can be seen that a link goes down, but no snmp traps/notifications are being sent.