Installing DB: TNS: protocoll adapter error
Hi,
the following situation:
1. an installed client 9i
2. installing server and client 10.1.2 with db=dmi (v 10.1.3)
3. upgrade the db dmi to 10.1.3
4. installing OEM 10g with db=emrep (v 9i)
So I have now 3 oracle_homes (db_1, em_1 and ora92) on my pc (also entries in registry found).
The first problem, the oracle home selector only find one.
The second problem, I can't access my db=dmi, always the error message tns: protocoll adapter error comes up. But the db emrep runs without problems.
So I remove the db=dmi and wanted to install a new db (v10.1.3). But with the installation assistant of oracle always the same error message came (tns: protocoll adapter error).
I changed the oracle_homes in the system variables manually, I changed the entries in the listener.ora and tnsnames.ora. But I always get the same error. I merged the entries of the 2 listener.ora (db_1 and em_1) into one entry (the running one of home em_1).
- How can I install a database of version 10g??
- Why the database = emrep has the version 9i, although I installed the agend of 10g??
- Why oracle don't find 3 ora homes??
- Whats the purpose of the error message??
Thanks in advance
Dans
There is no dmi-Service, because of deinstalling this database and this service.
I tried to install / create a new database, but by 2% installing of the data, the error message occured.
Similar Messages
-
R12 Vision Install Fails, TNS-12560: TNS:protocol adapter error
Below please find the NetServiceHandler.log from the install and an excerpt from ApplyDBTechStack...log
OS: Windows Server 2003 SP2 x86
I have installed the loopback adapter, modified the hosts file, and entered the DNS info. Not sure what else I can do.
-----------begin NetServiceHandler.log-------------------------
Classpath : ;D:\oracle\VIS\db\tech_st\11.1.0\jdbc\lib\ojdbc6.jar;D:\oracle\VIS\db\tech_st\11.1.0\appsutil\java\xmlparserv2.jar;D:\oracle\VIS\db\tech_st\11.1.0\appsutil\java;D:\oracle\VIS\db\tech_st\11.1.0\jlib\netcfg.jar;D:\oracle\VIS\db\tech_st\11.1.0\jlib\ldapjclnt11.jar
===============================================================================
NetServiceHandler 120.19 started for oracleebs at Wed Jun 13 09:32:30 PDT 2012
===============================================================================
[ Context Information ]
Host : oracleebs
Domain : demo.com
Out Dir : D:\oracle\VIS\db\tech_st\11.1.0/appsutil/out/VIS_oracleebs/06130932
Tier Type : DATABASE TIER
Getting connection...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : oracleebs
sDbDomain : demo.com
sDbPort : 1521
sDbSid : VIS
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@oracleebs.demo.com:1521:VIS
Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracleebs.demo.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=VIS)))
Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracleebs.demo.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=VIS.demo.com)))
Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
Could not get connection to the database.
Exiting with status 100 to instantiate the tnsnames.ora template
Creation of Directory - D:\oracle\VIS\db\tech_st\11.1.0\NETWORK\ADMIN\VIS_oracleebs Succeeded.
instantiate file:
source : D:\oracle\VIS\db\tech_st\11.1.0\appsutil\template\ad8itns.ora
dest : D:\oracle\VIS\db\tech_st\11.1.0\network\admin\VIS_oracleebs\tnsnames.ora
AutoConfig is exiting with status 0
instantiate file:
source : D:\oracle\VIS\db\tech_st\11.1.0\appsutil\template\ad8ilsnr.ora
dest : D:\oracle\VIS\db\tech_st\11.1.0\network\admin\VIS_oracleebs\listener.ora
AutoConfig is exiting with status 0
adgentns.pl exiting with status 0
ERRORCODE = 0 ERRORCODE_END
----------------end NetServiceHandler.log------------------------
-------------------begin excerpt ApplyDBTechStack...log--------------------
SNRCTL for 32-bit Windows: Version 11.1.0.7.0 - Production on 13-JUN-2012 09:32:41
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracleebs.demo.com)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
LSNRCTL for 32-bit Windows: Version 11.1.0.7.0 - Production on 13-JUN-2012 09:32:43
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Starting tnslsnr: please wait...
Failed to open service <OracleTNSListenerVIS>, error 1060.
TNSLSNR for 32-bit Windows: Version 11.1.0.7.0 - Production
Message 459 not found; No message file for product=NETWORK, facility=NL
Message 279 not found; No message file for product=NETWORK, facility=NL
Message 1073 not found; No message file for product=NETWORK, facility=TNS
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracleebs.demo.com)(PORT=1521)))
STATUS of the LISTENER
Alias VIS
Version TNSLSNR for 32-bit Windows: Version 11.1.0.7.0 - Production
Start Date 13-JUN-2012 09:32:46
Uptime 0 days 0 hr. 0 min. 2 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\oracle\VIS\db\tech_st\11.1.0\network\admin\VIS_oracleebs\listener.ora
Listener Log File D:\oracle\VIS\db\tech_st\11.1.0/network/admin\vis.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.68)(PORT=1521)))
Services Summary...
Service "VIS" has 1 instance(s).
Instance "VIS", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
addlnctl.cmd exiting with status 0
OpenService failed
adsvdlsn.cmd exiting with status 1007
ERRORCODE = 1007 ERRORCODE_END
.end std out.
.end err out.
-------------------end excerpt ApplyDBTechStack...log-------------------------Hi;
Pelase check below notes which is mention same error message
On Windows, After 10g Upgrade, Running Autoconfig on Apps Tier Failed with : Unable To Start Apps Services TNS-12224: TNS:no listener TNS-12541 TNS-12560: TNS:protocol adapter error TNS-00511: N .. [ID 577713.1]
Windows Autoconifg on dbTier fails on adcrobj.cmd & adsvdlsn.cmd [ID 356927.1
Rapid Clone on Windows Fails When SID Is Over 8 Characters: "Rc-00118: Error Occurred During Creation Of Database, Failed to open service" [ID 405688.1]
Regard
Helios -
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.
chamaraWelcome 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 while installing database
Hello,
I'm having troubles while installing my oracle database 10g. My server is SUN OS 5.10
When I am in the copying datafiles step, a pop up message shows up [ORA-12560 TNS: Protocol adapter error]
Could you please help me?I am creating the database the database.
I am relatively new in Oracle but I have created a DB before and the ORACLE_SID was set after the database was created.
The steps I execute for are:
1. Install the Oracle engine (without create the DB)
2. Install the Patch
3. Create the database (dbca)
After the database is created, appears a popup (Database configuration assistance warning) where it says to set the oracle_sid among others steps.
Is it mandatory to set the ORACLE_SID before? some other configuration that I could be missing?
Thank you -
New Install Win 2000 Server ORA-12560 : TNS : Protocol Adapter Error
I am trying to learn Oracle.
I get the following when logging into SQL*Plus.
ORA-12560 : TNS : Protocol Adapter Error
I have just installed New Install Win 2000 Server and then Oracle 8i for Win2k
nullStep 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. -
I installed Oracle 9i (9.2.0.1.0) on a Windows XP machine (the machine is in a domain). There were no errors during the instalation, but I have problems connecting from the same machine using the sid. Here are some examples from a command promt:
D:\>tnsping orcl9i
TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 31-OCT-20
08 17:43:22
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = timisoara01)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl9i)))
TNS-12560: TNS:protocol adapter error
D:\>sqlplus "sys/pass@orcl9i as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 31 17:54:54 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-12535: TNS:operation timed out
Enter user-name:If I don't use the sid I can connect:
D:\>sqlplus "sys/pass as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 31 18:05:46 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL>If I go to services I see that the service is running: OracleServiceORCL9I Started.
Thx.Yes, the XP firewall is running. During the Oracle instalation it poped up twice, but I selected 'Unblock'. I can't turn it off because it is running using the domain settings, but I can add exceptions (programs or ports). Port 1521, tnsping or sqlplus are not blocked and there is an option 'Display a notification when Windows Firewall blocks a program' witch is checked.
-
ORA-12560 TNS protocol Adapter error in 11g (11.1.0.6)
Hello All,
I have Oracle 11g installed on my machine and when i tried to log in to sql plus i got the error below:
ORA-12560 TNS protocol Adapter error
By setting the ORACLE_SID = orcl by browsing to the bin directory of Oracle Installation the above error disappaears and i am able to log in from sql plus.
My intention is to create a db backup for which i am trying to use the exp command...this time the same error appears.
Also the solution of setting the ORACLE_SID is cumbersome..everytimt i want to use sql plus i need to go in and set the ORACLE_SID.
Can anybody please help me out find a good solution for this?
Any help would be appreciated friends.....
Thanks in Advance!!!!!
Regards.
AliciaAlso the solution of setting the ORACLE_SID is cumbersome..everytimt i want to use sql plus i need to go in and set the ORACLE_SID.
Can anybody please help me out find a good solution for this?The solution depends on your (not specified) operating system...
Anyway, if you have more than one database it's normal that you have to set ORACLE_SID, if not how can Oracle know which database you want to access to ?
You can create batch files, one per database, or you can use connection strings, e.g. sqlplus username/password@<DB>. -
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. -
How to solve ORA-12560:TNS:protocol adapter error?
I'm trying to use sqlplus on Windows 2008 R2 which is installed on VirtualBox to access an Oracle 11gR2 database on Red Hat Linux.
I'm sure that the database on Red Hat Linux is up and tnsnames.ora is a copy from another machine which is used by another application to connect to the same Oracle database.
When I run sqlplus, I got the ORA-12560: TNS:protocol adapter error.
sqlnet.ora
SQLNET.AUTHENTICATION_SERVICES = (NTS)
Both sqlnet.ora and tnsnames.ora are located in c:\app\administrator\product\11.2.0\client64\network\admin folder.
The registry ORACL_HOME has c:\app\administrator\product\11.2.0\client64.
echo %ORACLE_HOME% incommand window returns %ORACLE_HOME%
echo %ORACL_SID% in command window returns %ORACLE_SID%
If I set ORACLE_HOME to another folder, I will get the following error:
Error 6 initializing SQL*Plus
SP2-0667: Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
So, I believe the ORACLE_HOME in registry has the correct value.
I have also tried set ORACLE_SID to the service name listed in tnsnames.ora but sqlplus still returns the ORA-12560:TNS:protocol adapter error.
For unknown reason, the value of ORACLE_HOME and ORACLE_SID I set by using set command will not persist after I close the command window that I set the values.881656 wrote:
I'm trying to use sqlplus on Windows 2008 R2 which is installed on VirtualBox to access an Oracle 11gR2 database on Red Hat Linux.
I'm sure that the database on Red Hat Linux is up and tnsnames.ora is a copy from another machine which is used by another application to connect to the same Oracle database.
When I run sqlplus, I got the ORA-12560: TNS:protocol adapter error.
sqlnet.ora
SQLNET.AUTHENTICATION_SERVICES = (NTS)
It make NO sense do to as above when attempting to connect to Oracle DB on *NIX
which knows NOTHING about NTS Authentication.
SQLNET.AUTHENTICATION_SERVICES = (NONE)
or just remove the line or whole file.
Also need to be sure that ipchains is disabled on *NIX system -
TNS-12560: TNS:protocol adapter error (when starting database)
Hi.. everyone.
I am testing oracle9i and oracle10g on the same machine, windows xp pro.
When I was trying to start oracle10g using command line mode,
I got the error, TNS-12560: TNS:protocol adapter error.
I entered these command.
set oracle_home=10g_homexxxx
set oracle_sid=xxdb
sqlplus /nolog
conn sys/xxx as sysdba
I got the error, TNS-12560: TNS:protocol adapter error.
The install of two different versions of oracle , oracle9i and oracle10g,
on the same machine(windows xp pro) could cause this problem?
Is it safe to install two different versions of oracle on the same window machine?
Is there any confliction in environment variables?
I think there is no problem on the linux, unix system.
I stoped the listener of oracle9i and tried again. But I failed.
I am looking forwared to hearing your experience and advice.
Thanks in advance. Have a good day.
Ho.Dear Werner.
Thanks for your reply.
I shutdown oracle9i and 10g, using "services.msc" utility from windows.
Therefore, "OracleService<xxdd>" is not running.
What I want to do is to startup 10g database using "cmd",command line mode.
In addition, I would like to know why I could not start 10g database, using "cmd"
on windows xp pro.
I installed 9i first and installed 10g. I think there are a kind of environment variable
conflictions.
I am wondering how I can fix them, and whether or not they are curable.
Thanks for your reply. Have a good day.
Regards.
Ho. -
Tns-12560: TNS protocol adapter error on linux
I've installed an oracle 10g database on linux 4.6 in a VMWare image. After opening an x term window within the image, I'm getting a tns-12560 error when both running tnsping and opening a sqlplus session as a database user. The listener and database seem to start fine. I've included entries for sqlnet.ora, tnsnames.ora and ORACLE_SID and ORACLE_HOME values for my user.
mui> tnsping orcl
Used parameter files:
/pinmaster/newtools/oracle_10.2/linux/network/admin/sqlnet.or
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = cgbu-p731v2.us.oracle.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
TNS-12560: TNS:protocol adapter error
From sqlnet.ora: NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
From tnsnames.ora:
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = cgbu-p731v2.us.<<my domain entry>>.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
This is from init.ora
# Database Identification
db_domain=""
db_name=orcl
Environment variables for the database user:
9mui> env | grep ORACLE_SID
ORACLE_SID=orcl
13mui> env | grep ORACLE_HOME
ORACLE_HOME=/pinmaster/newtools/oracle_10.2/linuxOne of the more common issues causing 12560 is that the host in the listener.ora does not match current host name. Commonly caused by dhcp.
Your tnsnames.ora looks for cgbu-p731v2.us.oracle.com
Your listener.ora want to listen for cgbu-p731v2.us.<<my domain entry>>.com
Your hostname is ??? (enter 'hostname' at command line) -
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 chaudharyYou 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. -
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 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
Maybe you are looking for
-
Quick time player for 10.7.5
I shot a video (CIMG2239.AVI) on my Casio 7.2 Elixim camera. I am trying to watch the video on my MacBook Pro (OS X Lion 10.7.5). When I try to play the video, I get a message, "Quick Time Player can't open because a required codec isn't available".
-
Messaging notifications won't clear after update. Have to reboot phone (RAZR M). Any suggestions?
-
Can I unblock in France ?
In relation to my earlier question, can I unblock my phone in France or do I have to go back to the UK ? As I only paid for a pay as you go sim card why is the phone blocked on a temporary sim card ? Orange UK state it will take 6 months from purchas
-
Pls help! I cant sync my iphone
Just got my new iphone 3Gs, i download itunes to my pc (windowXP). I tried to connect my iphone to pc and it prompt to the itunes main page, under device there is an iphone icon but a msg pop up "Itunes was unable to load provider data frm sync servi
-
HT1491 I have tried to make a purchase on my iphone 5 and it does nothing
I have 6-7 different apple devices and have never had a problem purchasing anything. I verified my info and payment info as well. I have tried to buy a new ring tone for my new iphone5 and it does nothing. It say buy and I click on it-nothing. I don'