TNS-12560: TNSrotocol adapter error
Iu2019m installing SAP ERP 6.0 on a Windows server 2008 with Oracle 10.2.0.4.0.
First of all I installed the Oracle software by means of Oracle Universal Installer.Then I used the Sapinst tool. At the step u201CConfigure Oracle server Networku201D I get an error. In the lsnrctl.log file I can read:
TNS-12560: TNSrotocol adapter error
TNS-00530: Protocol adapter error
These are my .ora files in the path <oracle-home>\NETWORK\ADMIN::
1 )LISTENER.ORA
ADMIN_RESTRICTIONS_LISTENER = on
LISTENER =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = DEV.WORLD)
(ADDRESS=
(PROTOCOL = IPC)
(KEY = DEV)
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = SAP-BTdemo)
(PORT = 1527)
STARTUP_WAIT_TIME_LISTENER = 0
CONNECT_TIMEOUT_LISTENER = 10
TRACE_LEVEL_LISTENER = OFF
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = DEV)
(ORACLE_HOME = F:\oracle\DEV\102)
2) SQLnet.ora:
AUTOMATIC_IPC = ON
TRACE_LEVEL_CLIENT = OFF
NAMES.DEFAULT_DOMAIN = WORLD
05.01.06 unsorported parameter now
#NAME.DEFAULT_ZONE = WORLD
05.01.06 set the default to 10
SQLNET.EXPIRE_TIME = 10
SQLNET.AUTHENTICATION_SERVICES = (NTS)
05.01.06 set to default
#TCP.NODELAY=YES
05.01.06 set to 32768
DEFAULT_SDU_SIZE=32768
3) tnsname.ora:
DEV.WORLD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = SAP-BTdemo)
(PORT = 1527)
(CONNECT_DATA =
(SID = DEV)
(GLOBAL_NAME = DEV.WORLD)
I have set the following Environment Variables:
u2022 ORACLE_HOME = F:\oracle\DEV\102
u2022 ORACLE _SID= DEV
u2022 TNS_ADMIN= F:\oracle\DEV\102\NETWORK\ADMIN
I have installed Oracle by Universal Installer and, in the Server Manager, I got only the following Oracle Service:
OracleDEV102iSQL*Plus
If I use the command lsnrctl start from Windows prompt I get the same error.
Can anyone help me?
Ok, I made all the things that you say: installed Oracle sw, installed the Opatch end started SAPinst.
But SAPinst stops when configuring oracle server network. I really don't understand what to do. If i write the command of LSNRCTL and tnsping the DEV (my DBsid) i have the following error:
LSNRCTL> services
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=DEV.WORLD))
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 (ADDRESS=(PROTOCOL=IPC)(KEY=DEV))
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 (ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=10.32.33.4)(PORT
=1527))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 61: Unknown error
LSNRCTL> status
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=DEV.WORLD))
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 (ADDRESS=(PROTOCOL=IPC)(KEY=DEV))
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 (ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=10.32.33.4)(PORT
=1527))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 61: Unknown error
C:\SAPinst>tnsping DEV
TNS Ping Utility for 64-bit Windows: Version 10.2.0.4.0 - Production on 27-OCT-2
010 14:11:45
Copyright (c) 1997, 2007, Oracle. All rights reserved.
Used parameter files:
F:\oracle\DEV\102\NETWORK\ADMIN\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = SAP
.WORLD) (PROTOCOL = TCP) (HOST = 10.32.33.4) (PORT = 1527))) (CONNECT_DATA = (SI
D = DEV) (GLOBAL_NAME = DEV.WORLD)))
TNS-12541: TNS:no listener
Why isn't SAPINST able to use the listener??
Edited by: Paolo Rubino on Oct 27, 2010 3:16 PM
Similar Messages
-
[TNS-12560: Protocol Adapter Error] after every 48 Hours
Dear All,
Our company encountered a very strange Oracle database issue, here is the details:
Environment
1. Dell 2950 Server with Windows Server 2003, Oracle 9i 9.2.0.1 and WebLogic Platform Server 8.1 SP3 installed;
2. Two databases on the Oracle, one is called FAX and it is a schema located in the original DB database; another one is called EIP, it is a new database created by IT staff;
3. Two applications installed on this server, the first one is a Visual C++ developed Avaya Call Routing system (BCCS), this system will query data from the EIP database; Another one is a WebLogic and JAVA based system (EIP), users access this system by using IE at client computer and this system also uses the EIP database;
4. We have a standalone fax-out server with faxboard installed and used to send fax, this server uses the FAX database;
Issue
1. Before Jun.6, everything is OK;
2. At Jun.6 night, we installed two new applications on two new server, these applications will read and write data to the EIP database via network;
3. Jun.9 12:30, we found the BCCS cannot connect to the database, error message is [TNS-12560: Protocol Adapter Error], we checked and found all Oracle's services are running properly including the TNSListener;
4. We reboot the server and then everything is OK;
5. Jun.12 10:41, Jun.14 12:46 and Jun.16 20:51, same issue occurred again, we simply reboot the server and everything is OK
It is very interesting that we found the issue always occur after 48~55 hours we reboot the server, but cannot find more useful information; there is also no failed information in the Oracle alert log.
Please share some ideas with me, thanks a lot.Thanks for reply. Answer to your questions:
1. This issue occurs on application which were installed on the computer with Oracle installed, and there is no firewall on this computer, so I believe that it is not related network.
2. Please let me know how to check the error stack and turn on tracing.
3. ORA file info:
# TNSNAMES.ORA Network Configuration File: D:\oracle\ora92\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
EIP.MISUMIPM.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.6.24)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = EIP)
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ctiapp)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
DB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ctiapp)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DB)
Hope helps. -
TNS-12560 protocol adapter error
Hi,
Your help will be most apprecitated. Thanks in advance.
I am tryin to connect from client (win XP) to Oracle 10g running on Linux red hat.
I am able to successfully ping to the server bu when I do a tnsping I get the below error:
C:\WINDOWS\system32>tnsping orcl
TNS Ping Utility for 32-bit Windows: Version 10.1.0.4.2 - Production on 30-AUG-2
008 17:29:10
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
C:\DevSuiteHome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = new-host.my-domain)(PORT = 1521))) (CONNECT_DATA = (SID = ORCL)))
TNS-12560: TNS:protocol adapter error
My listener seems to be running ok on the server
[oracle10g@new-host ~]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 30-AUG-2008 17:51:44
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=ORCL)))
STATUS of the LISTENER
Alias listener
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 30-AUG-2008 15:48:30
Uptime 0 days 2 hr. 3 min. 14 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oraeng/app/oracle/product/10.2.0/network/admin/listener.ora
Listener Log File /oraeng/app/oracle/product/10.2.0/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=ORCL)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=new-host.my-domain)(PORT=1521)))
Services Summary...
Service "ORCL" has 2 instance(s).
Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
Instance "ORCL", status READY, has 1 handler(s) for this service...
Service "ORCL_XPT" has 1 instance(s).
Instance "ORCL", status READY, has 1 handler(s) for this service...
The command completed successfully
Also I am able to connect to the oracle from the server:
[oracle10g@new-host ~]$ sqlplus scott/tiger@orcl
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Aug 30 17:52:52 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining optionsHi Gerard,
I would like to gain more knowledge in this regard (oracle networking)I have some good notes on trubleshooting network issue that you may enjoy:
http://www.dba-oracle.com/t_troubleshooting_sql_net_connectivity_errors.htm
Hope this helps . . . .
Donald K. Burleson
Oracle Press author -
Tns-12560 protocol adapter error linux
I m running two independent oracle 11g on red hat 5 in vmware workstation 7 which is sitting on window xp where i m running 10g.
I was facing a lot of networking when using tnsping. during my search i found that SUlinux and firewall was on which i turned off.
My problem solved.
My question is Whether it is feasible in industrial environment to turn off the Firewall and security of Linux.
My second problem is:
I did everything using orapwd on oracle 11g on red hat. .
but i m getting the same result
select * from v$pwfile_users;
no rows selected
My warmest Regard.
Edited by: user5166350 on Feb 19, 2012 8:40 PMuser5166350 wrote:
I m running two independent oracle 11g on red hat 5 in vmware workstation 7 which is sitting on window xp where i m running 10g.
I was facing a lot of networking when using tnsping. during my search i found that SUlinux and firewall was on which i turned off.
My problem solved.
My question is Whether it is feasible in industrial environment to turn off the Firewall and security of Linux.When you say "security of linux" are you referring to SELinux? You can turn it off, or set it to a less restrictive mode. As for the firewall, there is no need to turn it off, just configure it correctly.
My second problem is:
I did everything using orapwd on oracle 11g on red hat. .
but i m getting the same result
select * from v$pwfile_users;
no rows selected
My warmest Regard.
We have no way of knowing exactly what "everything using orapwd" means on your system. You are asking us to explain something we cannot see.
Edited by: user5166350 on Feb 19, 2012 8:40 PM -
TNS-12560: TNS:protocol adapter error and TNS-00530: Protocol adapter error
i just installed oracle 11g on my windows xp professional box. Which user and password shall i use. What username and password should i be using to login to sql plus?
when i use "Scott" "Tiger" it gives me ORA-12560: TNS:protocol adapter error occurred errorwhen i try to start service i get
LSNRCTL> start
Starting tnslsnr: please wait...
Failed to open service <OracleOraDb11g_home1TNSListener>, error 1060.
Failed to start service, error 203.
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
I am accessing the database from the same machine. Also do I need to have a ORACLE_HOME for getting sql plus working or it is not necessary?Starting tnslsnr: please wait...
TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Production
System parameter file is D:\Apps\db\oracle11g\network\admin\listener.ora
Log messages written to d:\app\computeruser\diag\tnslsnr\computer2\listener\alert\
log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=computer2)(PORT=1521)
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521
ipc)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=computer2)(PORT=1521)
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Produ
ction
Start Date 13-DEC-2008 21:47:48
Uptime 0 days 0 hr. 0 min. 5 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\Apps\db\oracle11g\network\admin\listener.ora
Listener Log File d:\app\computeruser\diag\tnslsnr\computer2\listener\aler
t\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=computer22)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
The listener supports no services
The command completed successfully
D:\>
Edited by: user9938780 on Dec 13, 2008 9:52 PM
Edited by: user9938780 on Dec 13, 2008 9:52 PM
Edited by: user9938780 on Dec 13, 2008 9:53 PM
Edited by: user9938780 on Dec 13, 2008 9:53 PM -
TNS-12560: TNS:protocol adapter error TNS-00530: Protocol adapter error
Unable to start listener service.
Running Oracle Database 11gr2 on Windows 7.
I just installed Oracle with the "install software only" option.
Already set up the instance, the database, the dictionary views, etc.
Created tsnames.ora, sqlnet.ora and listener.ora as shown below.
Before installing Oracle I followed the instruction on Oracle
documentation to install a Loopback Adapter.
It is set up as the primary adapter as indicated on the
instructions. The name is "gabylan" (previously the computer
name was "P4". I set up the "hosts" file as indicated, the oracle_hostname
variable, etc. as you will see below. I don't know if it's important to "uncomment"
the line on the "hosts" file for the "localhost" entry, I left it
as it was originally.
Services currently in "Started" Status:
OracleServiceorcl
Oracle orcl VSS Writer Service
OracleMTSRecoveryService
OracleOraDb11g_home1ClrAgent
OracleServiceorcl
Below is a summary of the error message and some information
about my system setup to help you diagnose my problem.
===============================================================================
c:\Users\Public\myscripts>lsnrctl start
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 18-SEP-2012 13:48
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
c:\Users\Public\myscripts> lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 18-SEP-2012 16:17:16
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=gabylan)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
================================================================================
My "hosts" File: (c:\windows\system32\drivers\etc\hosts)
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
192.168.5.5 gabylan gabylan
=================================================================================
c:\Users\Public\myscripts>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : gabylan
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Loopback Adapter
Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b8f5:bbb0:cf8b:c735%15(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.5.5(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 335675468
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-B7-78-52-00-25-22-51-68-AB
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8102E/RTL8103E Family PCI-E Fast Ethernet NIC (NDIS 6.20)
Physical Address. . . . . . . . . : 00-25-22-51-68-AB
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::7538:173c:c202:4985%10(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.2(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Tuesday, September 18, 2012 11:37:37 AM
Lease Expires . . . . . . . . . . : Wednesday, September 19, 2012 1:45:01 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 234890530
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-B7-78-52-00-25-22-51-68-AB
DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled
=================================================================================
# sqlnet.ora Network Configuration File:
# c:\app\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\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.
# OTHER OPTION FOR AUTHENTICATION IS: SQLNET.AUTHENTICATION_SERVICES= (NTS)
SQLNET.AUTHENTICATION_SERVICES= (NONE)
NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME, EZCONNECT)
ADR_BASE = c:\app\oracle\
====================================================================================
# tnsnames.ora Network Configuration File:
# c:\app\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\tnsnames.ora
orcl =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = gabylan)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
====================================================================================
# listener.ora Network Configuration File:
# c:\app\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = gabylan)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = c:\app\oracle\product\11.2.0\dbhome_1)
(SID_NAME = orcl)
ADR_BASE_LISTENER = c:\app\oracle
=================================================================================
c:\Users\Public\myscripts>ping gabylan
Pinging gabylan [192.168.5.5] with 32 bytes of data:
Reply from 192.168.5.5: bytes=32 time<1ms TTL=128
Reply from 192.168.5.5: bytes=32 time<1ms TTL=128
Reply from 192.168.5.5: bytes=32 time<1ms TTL=128
Reply from 192.168.5.5: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.5.5:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
=================================================================================
Some related environment variables on my system:
COMPUTERNAME=GABYLAN
FP_NO_HOST_CHECK=NO
HOMEPATH=\Users\oracle
LOGONSERVER=\\GABYLAN
ORACLE_HOME=c:\app\oracle\product\11.2.0\dbhome_1
ORACLE_HOSTNAME=gabylan
ORACLE_SID=orcl
ORACLE_UNQNAME=orcl
SQLPATH=c:\users\public\myscripts
USERDOMAIN=GABYLAN
USERNAME=oracle
USERPROFILE=C:\Users\oracle
==================================================================================
Summary from V$INSTANCE VIEW:
INSTANCE
NAME HOSTNAME STARTUP_T STATUS DATABASE_STATUS ACTIVE_ST
orcl GABYLAN STARTED ACTIVE NORMAL
=================================================================================
Thanks,
GabrielI am getting the same error while starting or stopping the listener
LSNRCTL> start CSCLIST
Starting tnslsnr: please wait...
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
LSNRCTL> stop CSCLIST
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CSCINDAE708070)(PORT=152
2)))
NL-00303: syntax error in NV string
TNS-01153: Failed to process string: (DESCRIPTION=(CONNECT_DATA=(CID=(PROGRAM=)
(HOST=)(USER=Manager(REMOVE)))(COMMAND=stop)(ARGUMENTS=64)(SERVICE=CSCLIST)(VERS
ION=186646784)))
Pls help
Listener.ora:
# listener.ora Network Configuration File: D:\Sagaya\11gDBhome\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
CSCLIST =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = CSCINDAE708070)(PORT = 1522))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
SID_LIST_CSCLIST =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\Sagaya\11gDBhome\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\Sagaya\11gDBhome\product\11.2.0\dbhome_1\bin\oraclr11.dll")
ADR_BASE_CSCLIST = D:\Sagaya\11gDBhome -
ORA-12560: Protocol adapter error
Hi All,
I've installed Oracle Developer 10g and make the Net Configuration Assistant which is successful, but when I run the form it gives me this error:
ORA-12560: Protocol adapter error
I know this error and solved it before but I forgot how!
So how to solve it Plz?hi
try to modify registry.
something like this.
create a String value and name it local and then for Value data add "ORCL" and please check u r own SID.
sarah -
Hi everyone,
I setup oracle11.2 for the first time without DB creation. I work on windows7. To create my DB while activating the entreprise manager, it ask me to create a listener using necta. When I execute it, the listener is created, but I cannot launch it. When I execute the LSNRCTL start I have:
TNS-12560 erreur d'adaptateur de protocoleTNS-00530 erreur d'adaptateur de protocole
The created files are:
Listener.ora:
# listener.ora Network Configuration File: D:\app\Me\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\app\Me\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\app\Me\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Me-PC)(PORT = 1521))
ADR_BASE_LISTENER = D:\app\Metnsnames.ora
# tnsnames.ora Network Configuration File: D:\app\Me\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)The sqlnet.ora is:
# 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)When I execute the tnsping with the adress given in listener.ora I have:
TNS-03505 echec de la resolution du nomIt seems to be a common problem, but unfortunatly I can't found a solution that works.
I m waiting for any help. thnx.I have found only the oraInstall.out and the oraInstall.err but not .log
oraInstall.out is the following:
Le journal de cette session d'installation se trouve dans :
C:\Program Files\Oracle\Inventory\logs\installActions2012-07-18_04-14-57PM.log
Dll to load is C:\Users\Me\AppData\Local\Temp\OraInstall2012-07-18_04-14-57PM\Win64RunProcesses.dll
Loading psapi.dll from C:\Users\Me\AppData\Local\Temp\OraInstall2012-07-18_04-14-57PM\psapi.dll
INFO: d:\app\me\product\11.2.0\dbhome_1\odp.net\bin\2.x\oracle.dataaccess.dll is registered successfully in GAC.
INFO: d:\app\me\product\11.2.0\dbhome_1\odp.net\bin\2.x\resources\fr\oracle.dataaccess.resources.dll is registered successfully in GAC.
INFO: Configuration Section "oracle.dataaccess.client" removed!
INFO: Oracle.DataAccess.Dll Provider Factory entry removed!
INFO: The following section has been added.
+<section name="oracle.dataaccess.client" type="System.Data.Common.DbProviderConfigurationHandler, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />+
INFO: The following element added under DbProviderFactories.
+<add name="Oracle Data Provider for .NET" invariant="Oracle.DataAccess.Client" description="Oracle Data Provider for .NET" type="Oracle.DataAccess.Client.OracleClientFactory, Oracle.DataAccess, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342" />+
INFO: policy.2.102.oracle.dataaccess is un-registered successfully from GAC.
INFO: policy.2.111.oracle.dataaccess is un-registered successfully from GAC.
INFO: d:\app\me\product\11.2.0\dbhome_1\odp.net\publisherpolicy\2.x\policy.2.102.oracle.dataaccess.dll is registered successfully in GAC.
INFO: d:\app\me\product\11.2.0\dbhome_1\odp.net\publisherpolicy\2.x\policy.2.111.oracle.dataaccess.dll is registered successfully in GAC.
INFO: d:\app\me\product\11.2.0\dbhome_1\asp.net\bin\2.x\oracle.web.dll is registered successfully in GAC.
INFO: d:\app\me\product\11.2.0\dbhome_1\asp.net\publisherpolicy\2.x\policy.2.111.oracle.web.dll is registered successfully in GAC.
INFO: d:\app\me\product\11.2.0\dbhome_1\asp.net\bin\2.x\resources\fr\oracle.web.resources.dll is registered successfully in GAC.
+<add name="OracleMembershipProvider" type="Oracle.Web.Security.OracleMembershipProvider, Oracle.Web, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" applicationName="" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression="" />+
+<add name="OracleProfileProvider" type="Oracle.Web.Profile.OracleProfileProvider, Oracle.Web, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" applicationName="" />+
+<add name="OracleRoleProvider" type="Oracle.Web.Security.OracleRoleProvider, Oracle.Web, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" applicationName="" />+
+<add name="OracleSiteMapProvider" type="Oracle.Web.SiteMap.OracleSiteMapProvider, Oracle.Web, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" applicationName="" securityTrimmingEnabled="true" />+
+<add name="OraclePersonalizationProvider" type="Oracle.Web.Personalization.OraclePersonalizationProvider, Oracle.Web, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" applicationName="" />+
+<add name="OracleWebEventProvider" type="Oracle.Web.Management.OracleWebEventProvider, Oracle.Web, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" buffer="true" bufferMode="OracleNotification" />+
INFO: d:\app\me\product\11.2.0\dbhome_1\ode.net\bin\2.x\oracle.database.extensions.dll is registered successfully in GAC.
And the oraInstall.err is:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
+ at java.awt.Dimension.<init>(Dimension.java:91)+
+ at oracle.bali.ewt.text.MultiLineLabel.layoutCanvas(Unknown Source)+
+ at oracle.bali.ewt.scrolling.ScrollableComponent.getPreferredSize(Unknown Source)+
+ at java.awt.GridBagLayout.GetLayoutInfo(GridBagLayout.java:911)+
+ at java.awt.GridBagLayout.getLayoutInfo(GridBagLayout.java:816)+
+ at java.awt.GridBagLayout.ArrangeGrid(GridBagLayout.java:1412)+
+ at java.awt.GridBagLayout.arrangeGrid(GridBagLayout.java:1372)+
+ at java.awt.GridBagLayout.layoutContainer(GridBagLayout.java:712)+
+ at java.awt.Container.layout(Container.java:1401)+
+ at java.awt.Container.doLayout(Container.java:1390)+
+ at java.awt.Container.validateTree(Container.java:1473)+
+ at java.awt.Container.validateTree(Container.java:1480)+
+ at java.awt.Container.validateTree(Container.java:1480)+
+ at java.awt.Container.validateTree(Container.java:1480)+
+ at java.awt.Container.validateTree(Container.java:1480)+
+ at java.awt.Container.validateTree(Container.java:1480)+
+ at java.awt.Container.validateTree(Container.java:1480)+
+ at java.awt.Container.validateTree(Container.java:1480)+
+ at java.awt.Container.validate(Container.java:1448)+
+ at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:379)+
+ at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:113)+
+ at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)+
+ at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)+
+ at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)+
+ at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)+
+ at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)+
+ at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)+
+ at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)+
thanks -
Regd ORA-12560 Protocol Adapter Error
Hi Firends,
I am new to Oracle.I just installed oracle 8i Personal Edition on Windows 2000.
Now I want to use SQL Plus but it is promting me for username, password and Host String.
I typed Scott,Tiger for USername and for Password but I don't know what to type for the Host String. It says "ERROR ORA:12560 TNS:Protocol Adapter" and then it kick me off. Could anyone tell me how to get into SQL*Plus?
Thanks
PeruI don't know the solution.
This is the forum for a specific Oracle 10g product called "Instant Client".
If you post your question to the Installation forum at
http://www.oracle.com/forums/forum.jsp?forum=64
you may find someone who knows the answer.
-- CJ -
TNS 12560 -Protocol Adaptor Error
Platform : windows 2000
Oracle: 10g
when i stop all services of oracle, and going to connect as sysdba, it returns me TNS Protocol adaptor error,
i thought when we connect as sysdba , oracle authenticate its password from password file and then connect with idle instance.
kindlt guide me where i m wronge
thanksThis behaviour is Windows specific , service OracleService<SID> must be up and running.
-
TNS-12560: TNS:protocol adapter error - Of a different sort
Hi ,
Have a unique problem.
System :- Win 2K
I have installed 9iDB & 9iDS. They were working perfectly fine. I was able to connect to DB from forms. But due to some restrictions i had to resort to 6i forms.
Now i installed 6i forms on the same machine. But when i try to connect to DB i get the TNS:Protocol Adapter error. I am sure the instance and the listener is up and running. Because still i am able to connect from 9i forms. The DB name is MYDB.
The error i am getting is :-
========================
Fatal NI connect error 12203, connecting to:
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle80)(ARGV0=oracle80ORCL)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')))(CONNECT_DATA=(SID=ORCL)(CID=(PROGRAM=C:\Oracle6i\BIN\PLUS80W.EXE)(HOST=xxx.xxx.xxx.xxx)(USER=Myself))))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 8.0.6.0.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 8.0.6.0.0 - Production
Time: 01-DEC-05 18:33:56
Tracing not turned on.
Tns error struct:
nr err code: 12203
TNS-12203: TNS:unable to connect to destination
ns main err code: 12560
TNS-12560: TNS:protocol adapter error
ns secondary err code: 0
nt main err code: 530
TNS-00530: Protocol adapter error
nt secondary err code: 0
nt OS err code: 0
===============================
Can someone please guide me as to how i can connect to my 9iDB from 6iforms.
Thanks & Regards,
AnandhOracle is a bit touchy with tnsnames.ora spelling. I copied your entry, just changing names :
MYDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
$ sqlplus scott/tiger@mydb
SQL*Plus: Release 9.2.0.4.0 - Production on Fri Dec 2 11:20:24 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-12154: TNS:could not resolve service nameThen I change MYDB entry, just adding some spaces :
MYDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
$ sqlplus scott/tiger@mydb
SQL*Plus: Release 9.2.0.4.0 - Production on Fri Dec 2 11:23:17 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
SQL> That's why I told you of Easy configuration, but if you cannnot use it.....
Did you try copying 9iDS SQLNET.ORA and TNSNAMES.ORA to 6i Home ? -
TNS-12560: TNS:protocol adapter error Windows XP
have Oracle 9i and 10g installation on Windows XP
trying to start listener
lsnrctlLSNRCTL> start
Starting tnslsnr: please wait . . .
Failed to start service, error 1058.
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 1058: Unknown error
Any suggestions for how to fix this error?What's the status of the corresponding Windows service? OS error 1058 means normally service is deactivated. In the worst case it could be necessary to remove the service from the registry. Afterwards reboot the machine and recreate the service by 'lsnrctl start'.
Werner -
ORA-12560 :TNS protocal adapter error
Hi everyone,
I'm using Oracle 11g Enterprise Edition Server in Windows 8.1. I'm getting the TNS protocal adapter error. My service is not up(I checked in the services using services.msc).
Until Yesterday It worked well for me, I got this error after I updated from Windows 8 to Windows 8.1.
Here is my tnsnames.ora file data,
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Andrew)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
Here is my listener.ora file data,
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = Andrew)(PORT = 1521))
I have tried this to start the server, It throws the following error.
F:\app\alex\product\11.1.0\db_1\NETWORK\ADMIN>lsnrctl start
LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 22-JAN-2014 22:42
:32
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
Please guide me how to resolve this issue.
Regards,
FelixThanks for all your reply, I thought whether It was my fault and I tried a lot of commands which I found in this Oracle Forum for more than 3hours, just now I found a link(The problem is because when I moved Windows 8 to 8.1), I found this link fortunately.
Re: Windows 8.1 upgrade: All Oracle DB services are deleted!
Regards,
Felix -
TNS-12560 error when running as Windows Service
Hello,
I created a VB.NET application that connects to a Oracle database using DbProviderFactory and ODP.NET for .Net Framework 2.0. This application runs on XP, I need it to run as Windows Service, but every time it try to connect to the database throw the Oracle exception TNS-12560: TNS:protocol adapter error, the weird thing is the same application running as a Console Application it works (Same code, same connection string, same query). It was using ODP.NET 10 I updated the provider to 11 still got the same error. The service is running user Local System account, and it has the same problem running under other adm account.
Following is error in the sqlnet.log (PS: The file was under the system32 folder, probably because was running as a service):
Fatal NI connect error 12560, connecting to:
+(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=XX.XX.XX.XX)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XXX)(CID=(PROGRAM=C:\Program Files\MyApp\MyApp.exe)(HOST=MYCOMPUTER)(USER=MYUSER))))+
VERSION INFORMATION:
+ TNS for 32-bit Windows: Version 10.2.0.1.0 - Production+
+ Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production+
Time: 28-AUG-2009 02:20:19
Tracing not turned on.
Tns error struct:
ns main err code: 12560
TNS-12560: TNS:protocol adapter error
ns secondary err code: 0
nt main err code: 530
TNS-00530: Protocol adapter error
nt secondary err code: 56
nt OS err code: 0
Does anyone have any thoughts as to why I'm getting this error ??
ThanksI don't know :^(
There could be many reasons: differences in the environment, missing permissions, virus scanners, you name it.
Is it running under the same user as on the console?
I suspect that the error code will give a hint where the problem is, but I could not find any documentation what this code means.
You could try to run an Orace Net trace - maybe you get an idea if you see where in the connection process the problem occurs.
Yours,
Laurenz Albe -
SQL+ not working: TNS-12560
I just installed XE on WXP and although the web interface works fine I can't use SQL+
Below is some information. This is very frustrating. I am an application developer; I switched from the full 10g to XE in the hope that I would no longer be wasting my time on those exasperating network problems and would be able to concentrater on developing instead but no such luck... Why is it asking too much that XE should work properly after installation? I have not changed anything beyond creating a couple of user accounts with the web interface. This is as virgin an installation as it gets.
Any help would be greatly appreciated.
===============================================================
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 28-MAR-2006 03:58
:14
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 23-MAR-2006 03:22:46
Uptime 4 days 23 hr. 35 min. 29 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\listener.ora
Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=wk1)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=
HTTP)(Session=RAW))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "XE_XPT" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "xe" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
The command completed successfully
===============================================================
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>lsnrctl services
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 28-MAR-2006 03:59
:22
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
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
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:18 refused:0 current:18 max:1002 state:ready
DISPATCHER <machine: WK1, pid: 9740>
(ADDRESS=(PROTOCOL=tcp)(HOST=wk1)(PORT=1729))
Service "XE_XPT" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "xe" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully
===============================================================
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>tnsping xe
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 28-MAR-2
006 04:18:03
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\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 = wk1)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
OK (3750 msec)
===============================================================
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>sqlplus system/orcl as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Mar 28 04:00:49 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12560: TNS:protocol adapter error
Enter user-name:
[killed with Ctrl-C]
===============================================================
sqlnet.log is full of entries like this, one for each attempt:
Fatal NI connect error 12560, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleorcl)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=C:\oraclexe\app\oracle\product\10.2.0\server\BIN\sqlplus.exe)(HOST=WK1)(USER=Privileged))))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
Time: 28-MAR-2006 03:32:14
Tracing not turned on.
Tns error struct:
ns main err code: 12560
TNS-12560: TNS:protocol adapter error
ns secondary err code: 0
nt main err code: 530
TNS-00530: Protocol adapter error
nt secondary err code: 2
nt OS err code: 0
===============================================================
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>type ..\network\ADMIN\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)
===============================================================
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>type ..\network\ADMIN\listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = wk1)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
===============================================================
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>type ..\network\ADMIN\tnsnames.ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = wk1)(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)
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>
===============================================================
The service called OracleXETNSListener is definitely running. Also, there is a firewall running on this box but its log does not report any blocked connection attempt from any Oracle-related process. I have allowed tnsping.exe, tnslsnr.exe and oracle.exe.Thanks a lot! That was indeed the problem: if I do 'sqlplus sys@xe as sysdba' I can
connect. Trying to find where that orcl comes from, I did have ORACLE_SID set to orcl
in my environment and I removed it; that did it: sqlplus can now connect even if I do not
set the connect id. Maybe the installer could be enhanced to look for leftover Oracle-
related env vars?
However there is still some weirdness: the above refers to the sqlplus that comes with
the server bundle but if I use the sqlplus from the client bundle I get "ORA-12154:
TNS:could not resolve the connect identifier specified" when I specify the connect id
and "ORA-12560: TNS:protocol adapter error" when I don't. sqlnet.log shows it is still
using orcl as the SID. I don't really need the client anyway: only the jdbc jar, so I
could just remove it but this is just weird...
Maybe you are looking for
-
Need a key field in REUSE_ALV_HIERSEQ_LIST_DISPLAY output
Hi all. i have report to display the output with help of ,REUSE_ALV_HIERSEQ_LIST_DISPLAY' function module. i have a scenario to download the output in a excel sheet where we can filter the output. so i need to add a key field in the alv output. it ca
-
Outgoing Payment File Format for US
Is there a default file format available for exporting payments to a file for the US? I have a customer with this requirement and with my lack of understanding of US requirements, it will take me a long time to create one from start. I would apprecia
-
Hello all, I have implemented a SBO solution with a customer and transeferred all legacy data. However all data in the item masterdata received quotes at the beginning and end of every itemname. For instance, if the DTWB excel template stated : screw
-
Hello All, I'm too having the similar Problem When I try to execute a jsp, the server responds: Error: 404 SC_NOT_FOUND Extension of file not found, while displaying static content This problem doesn't ocurred with all jsp's, it seems that only ocurr
-
EJB Application Deployment Error
Hi, I am trying to deploy an J2EE application ear, which contains both EJB modules and a WEB module, on NW 2004's SP10. Here is the error message that is written out to the defaultTrace file in the server logs directory: #1.5#00137262AE6E00650000003