Tns error connecting to svrmgrl
Hi blokes,
I was trying to clone an oracle8i database from one windows server to a fresh windows server .After intalling the oracle binaries ,copying the datafiles to the appropriate directories on the new server, I created the Oracle service for the db using oradim , then I tried to connect to the svrmgrl after setting the ORACLE_SID so that Iwould be able to run the create DB scripts {create controlfile ....trc} It came up with "ORA-12154: TNS Cannot resolve service name"
I would appreciate if someone could give me a clue to resolving this issue..
Thanks
Many thanks to you all for your responses ... But I am still not able to get this problem solved.
I was able to start the listener but each time I tried to connect to the svrmgrl It always come up with the message below:
ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descript
or
Again , I have also reveiwed my tnsnames.ora & listener.ora to for any mistake I have not been able to detect any ..
Please see below my tnsnames &listener.ora files
LISTENER.ORA
# LISTENER.ORA Network Configuration File: C:\oracle\ora81\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = wintest01gdfuk)(PORT = 1521))
(DESCRIPTION =
(PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
(ADDRESS = (PROTOCOL = TCP)(HOST = wintest01gdfuk)(PORT = 2481))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora81)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = chronuat)
(ORACLE_HOME = c:\oracle\ora81)
(SID_NAME = chronuat)
TNSNAMES.ORA
# TNSNAMES.ORA Network Configuration File: C:\oracle\ora81\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
################ TNSNAMES.ORA transferred from gen02 11th August 2006 ################
tranzt =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8i2k3tst)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = tranzt))
EDT02.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = rhprod01gdfuk)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = edt02))
BLIVE.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8icls04)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = blive))
BSEUAT01 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8i2k3tst)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = bseuat01))
ENREG01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = db07)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = enreg01))
STBEDT02.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = rhprod02gdfuk)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = EDT02))
NXPROD01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = sunprod01gdfuk)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = nxprod01))
BEUAT03.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8i2k3tst)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = beuat03))
PEUAT01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8i2k3tst)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = peuat01))
DFPROD01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = rhprod01gdfuk)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = dfprod01))
DFTEST9.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = rhtest02gdfuk)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = dftest9))
DCPROD01.RWETD.COM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = rhprod09gdfuk)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = rhprod10gdfuk)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = dcprod01)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
(RETRIES = 180)
(DELAY = 5)
FRPROD01.RWETD.COM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = rhprod09gdfuk)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = rhprod10gdfuk)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = frprod01)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
(RETRIES = 180)
(DELAY = 5)
NHSAT01 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = db02)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = nhsat01))
TDORA.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8icls02)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = tdora))
STBDFPROD01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = rhprod02gdfuk)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = dfprod01))
CHRONUAT.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = wintest01gdfuk)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = chronuat))
TRANZP.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8icls03)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = tranzp))
BESIT01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8i2k3tst)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = besit01))
GKPROD01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8icls02)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = gkprod01))
CHPROD01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8icls04)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = chprod01))
################ TNSNAMES.ORA transferred from db05 11th August 2006 ################
NHSAT.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = db02)
(PORT = 1521))
(CONNECT_DATA =
(SID = nhsat)
(SRVR = DEDICATED)
################ TNSNAMES.ORA transferred from db06 9th August 2006 ################
BEUAT01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8i2k3tst)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = beuat01)
seprod01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8icls01)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = seprod01)
gmsat01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8i2k3tst)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = gmsat01)
nxdev01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = golf)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = nxdev01)
bedev.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8i2k3tst)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = bedev)
beprod01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8icls01)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = beprod01)
################ TNSNAMES.ORA transferred from gen01 10th August 2006 ################
GDFDEV01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8i2k3tst)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = gdfdev01)
BSEDEV.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8i2k3tst)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = bsedev)
# (SERVICE_NAME = smdev01.rwetd.com)
SMDEV01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8i2k3tst)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = smdev01)
SEDEV01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8i2k3tst)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = sedev01)
PEDEV01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8i2k3tst)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = pedev01)
BEN.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8i2k3tst)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ben)
NHDTT.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = db02)(PORT = 1521))
(CONNECT_DATA =
(SID = nhdtt)
DCUAT01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = rhtest01gdfuk)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = dcuat01)
# Date..........: Wed Jul 30 19:16:06 GMT 2003
BSESIT01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8i2k3tst)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = bsesit01)
SANDPIT.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8i2k3tst)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = sandpit)
PESIT01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora8i2k3tst)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = pesit01)
DCDEV01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = rhtest01gdfuk)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = dcdev01)
DCSIT01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = rhtest01gdfuk)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = dcsit01)
gpuat01.RWETD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = db01)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME =gpuat01)
################ TNSNAMES.ORA transferred from db08 9th August 2006 ################
# Filename......: tnsnames.ora
# Name..........: LOCAL_REGION.world
# Date..........: 24-JAN-96 09:06:52
#$MAGIC_PROD
MAGICP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = ora8icls03)
(Port = 1521)
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host =ora8icls03)
(Port = 1526)
(CONNECT_DATA = (SID = MAGICP)
#$MAGIC_PROD
MAGICP.GDF =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = ora8icls03)
(Port = 1521)
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = ora8icls03)
(Port = 1526)
(CONNECT_DATA = (SID = MAGICP)
#$TRANZP
TRANZP=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = ora8icls03)
(Port = 1521)
(ADDRESS=
(COMMUNITY = tcp.world)
(PROTOCOL = TCP )
(Host = ora8icls03)
(Port = 1526)
(CONNECT_DATA = (SID = TRANZP)
#$TRANZP
TRANZP.gdf=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = ora8icls03)
(Port = 1521)
(ADDRESS=
(COMMUNITY = tcp.world)
(PROTOCOL = TCP )
(Host = ora8icls03 )
(Port = 1526)
(CONNECT_DATA = (SID = TRANZP)
#$nxprod01
nxprod01=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host =db01)
(Port = 1521)
(ADDRESS=
(COMMUNITY = tcp.world)
(PROTOCOL = TCP )
(Host =db01 )
(Port = 1526)
(CONNECT_DATA = (SID = nxprod01)
#$nxprod01
prod.world=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host =db01)
(Port = 1521)
(ADDRESS=
(COMMUNITY = tcp.world)
(PROTOCOL = TCP )
(Host =db01 )
(Port = 1526)
(CONNECT_DATA = (SID = nxprod01)
gmuat01.rwetd.com=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host =ora8i2k3tst)
(Port = 1521)
(ADDRESS=
(COMMUNITY = tcp.world)
(PROTOCOL = TCP )
(Host =ora8i2k3tst )
(Port = 1526)
(CONNECT_DATA = (SID = gmuat01)
gmdev01.rwetd.com=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host =ora8i2k3tst)
(Port = 1521)
(ADDRESS=
(COMMUNITY = tcp.world)
(PROTOCOL = TCP )
(Host =ora8i2k3tst )
(Port = 1526)
(CONNECT_DATA = (SID = gmdev01)
sedev02.rwetd.com=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host =ora8i2k3tst)
(Port = 1521)
(ADDRESS=
(COMMUNITY = tcp.world)
(PROTOCOL = TCP )
(Host =ora8i2k3tst )
(Port = 1526)
(CONNECT_DATA = (SID = sedev02)
peuat02.rwetd.com=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host =ora8i2k3tst)
(Port = 1521)
(ADDRESS=
(COMMUNITY = tcp.world)
(PROTOCOL = TCP )
(Host =ora8i2k3tst )
(Port = 1526)
(CONNECT_DATA = (SID = peuat02)
Thanks ...
Similar Messages
-
TNS error connecting to db using iSQL*Plus
I am trying to use iSQL to access our database (Oracle9i Enterprise Edition Release 9.2.0.1.0) for the first time.
I have reviewed Note 185707.1.
I start the HTTP Server on my client PC.
I bring up my web browser (IE version 6).
I enter in the URL http://<<host>>:7778/isqlplus.
ISQL*Plus login page is displayed.
I enter a valid user, password and connection identifier and receive the ORA-12154: TNS:could not resolve service name Error.
In the Note referenced above, there are instructions for configuring the iSQL*Plus Server, but I am not sure what that is (or where it is). It says to enter a new connection identifier in the tnsnames.ora file as follows:
connection identifier = (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=www.oracle.com) (PORT=1521)))(CONNECT_DATA=(SID=orashop)))
but I am confused as to how this would be different from my existing connection unless we are supposed to put this in literally then use connection string orashop (which seems unlikely).
Any help would be appreciated.
TracyYou have a couple of options.
1. Leave the connection identifier empty to connect to the default database (just like in SQL*Plus command line).
2. Confirm you can log into SQL*Plus command line using the same connection identifier.
3. Confirm that your tnsnames.ora file contains the correct connection information for the database you are trying to connect to.
The 'orashop' example is only an example.
Alison -
Trying to Install RMS application 13.2.2 and I get past the pre-installation checks and when I get to the Data Source details and enter the data source details with the check box checked to validate the schema/Test Data Source I get the following error:
Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver. Please check that the library path is set up properly or switch to the JDBC thin client oracle/jdbc/driver/T2CConnection.getLibraryVersioNumber()
Checks performed:
RMS Application code location and directory contents:
[oracle@test-rms-app application]$ pwd
/binary_files/STAGING_DIR/rms/application
[oracle@test-rms-app application]$ ls -ltr
total 144
-rw-r--r-- 1 oracle oinstall 272 Dec 7 2010 version.properties
-rw-r--r-- 1 oracle oinstall 405 Jan 16 2011 expected-object-counts.properties
-rw-r--r-- 1 oracle oinstall 892 May 13 2011 ant.install.properties.sample
-rw-r--r-- 1 oracle oinstall 64004 Jun 6 2011 build.xml
drwxr-xr-x 9 oracle oinstall 4096 Jun 16 2011 rms13
drwxr-xr-x 3 oracle oinstall 4096 Jun 16 2011 installer-resources
drwxr-xr-x 3 oracle oinstall 4096 Jun 16 2011 antinstall
drwxr-xr-x 2 oracle oinstall 4096 Jun 16 2011 ant-ext
drwxr-xr-x 5 oracle oinstall 4096 Jun 16 2011 ant
-rw-r--r-- 1 oracle oinstall 11324 Dec 18 09:18 antinstall-config.xml.ORIG
-rwxr-xr-x 1 oracle oinstall 4249 Dec 18 10:01 install.sh
drwxr-xr-x 4 oracle oinstall 4096 Dec 18 10:06 common
-rw-r--r-- 1 oracle oinstall 16244 Dec 19 10:37 antinstall-config.xml
-rw-r--r-- 1 oracle oinstall 689 Dec 19 10:37 ant.install.log
[oracle@test-rms-app application]$
Application installation:
[oracle@test-rms-app application]$ ./install.sh
THIS IS the driver directory
Verified $ORACLE_SID.
Verified SQL*Plus exists.
Verified write permissions.
Verified formsweb.cfg read permissions.
Verified Registry.dat read permissions.
Verified Java version 1.4.2.x or greater. Java version - 1.6.0
Verified Tk2Motif.rgb settings.
Verified frmcmp_batch.sh status.
WARNING: Oracle Enterprise Linux not detected. Some components may not install properly.
Verified $DISPLAY - 172.16.129.82:0.0.
This installer will ask for your "My Oracle Support" credentials.
Preparing installer. This may take a few moments.
Your internet connection type is: NONE
Integrating My Oracle Support into the product installer workflow...
[move] Moving 1 file to /binary_files/STAGING_DIR/rms/application
Installer preparation complete.
MW_HOME=/u01/app/oracle/Middleware/NewMiddleware1034
ORACLE_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/as_1
ORACLE_INSTANCE=/u01/app/oracle/Middleware/NewMiddleware1034/asinst_1
DOMAIN_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/user_projects/domains/rmsClassDomain
WLS_INSTANCE=WLS_FORMS
ORACLE_SID=rmsdbtst
JAVA_HOME=/u01/app/oracle/jrockit-jdk1.6.0_45-R28.2.7-4.1.0
Launching installer...
To make sure I have connectivity from the app server to the database (on a database server) here are the steps followed:
[oracle@test-rms-app application]$ tnsping rmsdbtst
TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 19-DEC-2013 10:41:40
Copyright (c) 1997, 2008, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = test-rms-db.vonmaur.vmc)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = rmsdbtst)))
OK (0 msec)
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ sqlplus rms13@rmsdbtst
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Dec 19 10:46:18 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ ping test-rms-db
PING test-rms-db.vonmaur.vmc (192.168.1.140) 56(84) bytes of data.
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=1 ttl=64 time=0.599 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=2 ttl=64 time=0.168 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=3 ttl=64 time=0.132 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=4 ttl=64 time=0.158 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=5 ttl=64 time=0.135 ms
--- test-rms-db.vonmaur.vmc ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4001ms
rtt min/avg/max/mdev = 0.132/0.238/0.599/0.181 ms
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ uname -a
Linux test-rms-app.vonmaur.vmc 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ cat /etc/*-release
Enterprise Linux Enterprise Linux Server release 5.3 (Carthage)
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
[oracle@test-rms-app application]$
The database is created and all the batch file scripts have been successfully deployed. Now working on the application server. The Weblogic server is installed and 11g forms and reports are installed successfully.
Any help would be helpful.
Thanks,
Ram.Please check MOS Notes:
FAQ: RWMS 13.2 Installation and Configuration (Doc ID 1307639.1) -
TNS-12545: Connect failed because target host or object does not exist
Hi all, I have a bit of a problem, I have gone thru the posts and tried out suggestions but it didn't work. When i type in
LSNRCTL> services
I get this error:
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mattlek2)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.1.162.8)(PORT=1521)))
TNS-01189: The listener could not authenticate the user
When I type in : LSNRCTL> start
I get this:
Starting tnslsnr: please wait...
TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production
System parameter file is C:\oracle\product\10.1.0\Db_2\network\admin\listener.ora
Log messages written to C:\oracle\product\10.1.0\Db_2\network\log\listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mattlek2.ifactory.co.za)(PORT=1521)))
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.1.162.8)(PORT=1521)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
32-bit Windows Error: 49: Unknown error
This is my tnsnames.ora file:
# tnsnames.ora Network Configuration File: C:\oracle\product\10.1.0\Db_2\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
GPGWL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.162.8)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = GPGWL)
ORCL_LIVE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 196.36.116.218)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORCL)
APPS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 196.36.116.219)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = VIS)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
EXEL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.162.8)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = idev)
EXEL_IDEV =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.162.8)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = idev)
This is my listener.ora file:
# listener.ora Network Configuration File: C:\oracle\product\10.1.0\Db_2\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = GPGWL)
(ORACLE_HOME = C:\oracle\product\10.1.0\Db_2)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = mattlek2)(PORT = 1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.162.8)(PORT = 1521))
Any help would be greatly appreciated.
Thank youjust check the string key it should be
key=extproc_for_xe
Try -
External datasource problem(tns error)
hi,
i got and error while working with external datasource in BAM architect, how to fix it? Moreover i got tns error when i use tnsping utility for my XE db from command prompt
======================================
C:\Documents and Settings\rehanfa>tnsping xe
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-JUN-2
008 15:26:18
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\OracleBAM\ClientForBAM\network\admin\sqlnet.ora
TNS-03505: Failed to resolve name
======================================
and BAM archtect error while viewing contents of data model based on this external datasource
========================================
ADC Server exception in OpenViewset().
Details <<
ADC Server exception in OpenViewset().
Source: "ActiveDataCache" ID: "ADCServerException"
ERROR [08001] [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve the connect identifier specified ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).
Source: ""
Internal debugging information >>
Oracle.BAM.ActiveDataCache.Common.Exceptions.CacheException: ADC Server exception in OpenViewset(). ---> System.Data.Odbc.OdbcException: ERROR [08001] [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve the connect identifier specified
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).
at System.Data.Odbc.OdbcConnection.Open()
at Oracle.BAM.ActiveDataCache.ExternalDataSources.ODBC.Open(String strXml)
at Oracle.BAM.ActiveDataCache.Kernel.Datasets.ExternalStorageEngine.GetDataReader(DSEQuery oDseQuery)
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.DataImporter.ExecuteQuery()
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.ExternalDataManager.ImportExternalData(String strDatasetID, String strTempName, FilterExpression filter)
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.ExternalDataManager.ImportExternalFactData()
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.ExternalDataManager.GetExternalData()
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Viewset.LoadData()
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetBase.Initialize()
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Viewset.Initialize()
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetBase.Open()
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetManager.InitViewset(Modifier oModifier, ViewsetOptions oViewsetOptions, Boolean bSynchronized, Int32 iTransactionID)
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetManager.OpenViewset(Modifier modifier, ViewsetOptions options, Int32 iTransactionID)
at Oracle.BAM.ActiveDataCache.Kernel.Server.DataStoreServer.OpenViewset(Modifier modifier, ViewsetOptions options, Int32 iTransactionID)
--- End of inner exception stack trace ---
Server stack trace:
at Oracle.BAM.ActiveDataCache.Kernel.Server.DataStoreServer.OpenViewset(Modifier modifier, ViewsetOptions options, Int32 iTransactionID)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Oracle.BAM.ActiveDataCache.Common.Core.IDataStore.OpenViewset(Modifier oModifier, ViewsetOptions options, Int32 iTransactionID)
at Oracle.BAM.ActiveDataCache.Remoting.ServerWrapper.OpenViewset(Modifier oModifier, ViewsetOptions options, Int32 iTransactionID)
at Oracle.BAM.ActiveDataCache.Viewset.Open(Context ctxAdcContext, Modifier oModifier, ViewsetOptions options)
at Oracle.BAM.Architect.DataObjectsContents.InternalContentsByRowID(String strEventParam, Boolean bEdit, Int64 lHighlightRowID, Boolean bAddBegin)
==========================================================Dear, I am facing that problem and I need some help. please tell me how the issue was resolved
-
*** ERROR = CONNECT failed with SQL error '12154' after Oracle Upgrade
Hello Experts,
Recently I upgraded my oracle database from 11.2.0.3 to 11.2.0.4.The upgrade completed successfully but I am unable to start the instance.
R3trans -d failing with the error--
OCIServerAttach(OCI_DEFAULT) failed with -1=OCI_ERROR
OCIServerAttach(OCI_DEFAULT) failed with SQL error 12154:
ORA-12154: TNS:could not resolve the connect identifier specified
OCIServerAttach(con=0, svc=069C1630): Error 12154 attaching new srv=069C17D0
OCIHandleFree(con=0): Server handle srv=069C17D0 freed.
server_detach(con=0, svc=069C1630; srv=NULL, stale=2)
OCIHandleFree(con=0): Service svc=069C1630 freed (i=1).
*** ERROR => CONNECT failed with SQL error '12154'
-->oci_get_errmsg (con=0, rc=12154)
OCIErrorGet() -> SQL error code: 12154; buflen=66
OCIErrorGet(): error text ->
ORA-12154: TNS:could not resolve the connect identifier specified
ocica() -> SQL error code 12154,12154
DbSlConnect(con=0) -> orc=12154, rc=99=DBSL_ERR_DB
***LOG BY2=>sql error 12154 performing CON
***LOG BY0=>ORA-12154: TNS:could not resolve the connect identifier specified
I have checked listener is up and running properly.Entry is maintained in tnsnames.ora.
Also kernel is upgraded with latest path.Curent kernel version--742
Please suggest on the mentioned error.I am attaching the logs here.Thanks in advance.
Best Regards,
DebadityaHi Debadiya
Kindly check this SAP Notes
1204916 - Error: "ORA-12154" when connecting to Oracle from a Windows 64-bit platform
2153975 - Database connectivity fails with ORA-12154
556232 - Environment settings for R/3/Oracle on Windows
443867 - ORA-12154 Collective SAP note
BR
SS -
OBIEE 11g : Report throwing TNS Error
Hi,
We have installed OBIEE 11g in Linux server. After replacing the Out-of-the-box RPD.
The reports are throwing following TNS Error:
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65PState: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified at OCI call OCIServerAttach. [nQSError: 17014] Could not connect to Oracle database. (HY000)SQL Issued: SELECT 0 s_0, "Assets"."Product"."Product" s_1 FROM "Assets" FETCH FIRST 65001 ROWS ONLY
What configurations we need to re-check?
Regards
SudiptaHI,
Please cross check you rpd connection pool details in physical layer like below.
Data source name
Username and password
Or,
Login Weblogic Console with admin username/pwd.
Goto Services -> JDBC -> Data Sources.
Select Lock & Edit button
Select Data Source "bip_datasource" link in the available Data Sources list
Select Connection Pool tab
.... Change the URL|Driver|Properties|Password
Select Save button.
OR,
you have to go to WEblogic Enterprise Manager (http://<server>:7001/em/. Then go to Business Intelligence folder -> coreapplication. Go to "Deployment" tab and then to "Scheduler" tab. Change the database field to point to the new DB and apply changes.
Or,
Please check Database services running or not including TNS listner service also.
Hope this helps.
Thanks
Satya -
TNS error after upgrading to 11.2.0.1
hi
i have just upgraded my database from 11.1.0.7 to 11.2.0.1
i have created new listener from netca (new home) on port 1523 which was my earlier port
whenever i issue lsnrctl status , it gives error
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
plus client is also not able to connect to the DB
ora12545: connect failed beacause host or target does not exist
how do i solve this
???user13282353 wrote:
my llistner.ora
DEV =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = indstqebs01.indal.es)(PORT = 1523))
SID_LIST_DEV =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME= /u02/oracle/DEV/db/tech_st/11.2.0)
(SID_NAME = DEV)
but still when i issue lsnrctl status
it gives
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
why?Edit your listener.ora file as:
DEV =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = indstqebs01.indal.es)(PORT = 1523))
SID_LIST_DEV =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = DEV)
(ORACLE_HOME = /u02/oracle/DEV/db/tech_st/11.2.0)
(SID_NAME = DEV)
)Then
lsnrtcl start
lsnrctl statusThis is static registiration.
Actually PMON background processes will automatically register sid in listener.
Aslo after starting listener do:
export ORACLE_SID=DEV
sqlplus "/as sysdba"
alter system register;
exit;
lsnrctl status -
ERROR = CONNECT failed with sql error '12518'
Hi All,
OS Win 2003 - 32 Bit, Database - Oracle 10.2.0.2 , I am facing this from yesterday, suddenly SAP was done and when i am checking the logs it is not able to connect to the database.
I have checked the services for oracle - service was down, i have started the oracleService<SID> and also i have restarted the listener.. after this when i am trying to start the SAP through MMC again the problem is face.. and also the oracle service is stopped. when i tried starting the database from OS level it was giving me error like
ORA-24324: service handle not initialized
ORA-24323: value not allowed
ORA-03113: end-of-file on communication channel
again the Oracle service is stopped i am not getting why the oracle service is stopping..
dev_w*.log
Thu Apr 09 10:33:50 2009
M calling db_connect ...
C Prepending D:\usr\sap\SID\DVEBMGS01\exe to Path.
C Oracle Client Version: '10.2.0.1.0'
C Client NLS settings: AMERICAN_AMERICA.UTF8
C Logon as OPS$-user to get SAPSR3's password
C Connecting as /@SID on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 UTF8 1 05C84528 05C89AC4 05C8934C
C Attaching to DB Server SID (con_hdl=0,svchp=05C89298,svrhp=05C9AB64)
C
C Thu Apr 09 10:33:51 2009
C *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12518
[dboci.c 4172]
C *** ERROR => CONNECT failed with sql error '12518'
[dbsloci.c 10933]
C Try to connect with default password
C Connecting as SAPSR3/<pwd>@SM3 on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 UTF8 1 05C84528 05C89AC4 05C8934C
C Detaching from DB Server (con_hdl=0,svchp=05C89298,srvhp=05C9AB64)
C Attaching to DB Server SID (con_hdl=0,svchp=05C89298,svrhp=05C9AB64)
C *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12518
[dboci.c 4172]
C *** ERROR => CONNECT failed with sql error '12518'
[dbsloci.c 10933]
B ***LOG BY2=> sql error 12518 performing CON [dbsh#2 @ 1204] [dbsh 1204 ]
B ***LOG BY0=> ORA-12518: TNS:listener could not hand off client connection [dbsh#2 @ 1204] [dbsh 1204 ]
B ***LOG BY2=> sql error 12518 performing CON [dblink#3 @ 431] [dblink 0431 ]
B ***LOG BY0=> ORA-12518: TNS:listener could not hand off client connection [dblink#3 @ 431] [dblink 0431 ]
M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c 1411]
M in_ThErrHandle: 1
M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 10156]
M
M Info for wp 16
M
M stat = 4
M reqtype = 6
M act_reqtype = -1
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source = 255
M last_tid = 0
M last_mode = 0
M semaphore = 0
M act_cs_count = 0
M control_flag = 0
M int_checked_resource(RFC) = 0
M ext_checked_resource(RFC) = 0
M int_checked_resource(HTTP) = 0
M ext_checked_resource(HTTP) = 0
M report = > <
M action = 0
M tab_name = > <
M vm = V-1
M
M *****************************************************************************
M *
M * LOCATION SAP-Server hostname_SM3_01 on host tcs042619 (wp 16)
M * ERROR ThInit: db_connect
M *
M * TIME Thu Apr 09 10:33:51 2009
M * RELEASE 700
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 10354
M * COUNTER 1
M *
M *****************************************************************************
M
M PfStatDisconnect: disconnect statistics
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 720]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 260]
M Entering ThSetStatError
M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ***LOG Q02=> wp_halt, WPStop (Workproc16 7988) [dpnttool.c 327]
Any suggestions pls
MaheshHi Rohit,
when i check in the sqlnet.log
Fatal NI connect error 12560, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleSID)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=SID)(CID=(PROGRAM=E:\oracle\SM2\102\bin\sqlplus.exe)(HOST=hostname)(USER=SIDadm))))
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: 04-SEP-2007 15:09:30
Tracing not turned on.
Tns error struct:
ns main err code: 12560
TNS-12560: Message 12560 not found; No message file for product=NETWORK, facility=TNS
ns secondary err code: 0
nt main err code: 530
TNS-00530: Message 530 not found; No message file for product=NETWORK, facility=TNS
nt secondary err code: 2
nt OS err code: 0
Fatal NI connect error 12560, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleSID)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=SID)(CID=(PROGRAM=E:\oracle\SID\102\bin\sqlplus.exe)(HOST=hostname)(USER=SIDadm))))
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: 08-APR-2009 19:16:32
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
Fatal NI connect error 12560, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleSID)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=SID)(CID=(PROGRAM=E:\oracle\SID\102\bin\sqlplus.exe)(HOST=hostname)(USER=SIDadm))))
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: 08-APR-2009 19:16:46
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
Fatal NI connect error 12560, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleSID)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=SID)(CID=(PROGRAM=E:\oracle\SID\102\bin\sqlplus.exe)(HOST=hostname)(USER=SIDadm))))
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: 08-APR-2009 19:19:27
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
Fatal NI connect error 12560, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleSID)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=SID)(CID=(PROGRAM=E:\oracle\SID\102\bin\sqlplus.exe)(HOST=hostname)(USER=SIDadm))))
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: 08-APR-2009 19:19:28
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
Fatal NI connect error 12560, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleSID)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=SID)(CID=(PROGRAM=E:\oracle\SID\102\bin\sqlplus.exe)(HOST=hostname)(USER=SIDadm))))
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: 08-APR-2009 19:19:29
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
Fatal NI connect error 12560, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleSID)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=SID)(CID=(PROGRAM=E:\oracle\SID\102\bin\sqlplus.exe)(HOST=hostname)(USER=SIDadm))))
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: 08-APR-2009 19:26:38
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
Fatal NI connect error 12518, connecting to:
(DESCRIPTION=(ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=hostname)(PORT=1527))(CONNECT_DATA=(SID=SID)(GLOBAL_NAME=SID.WORLD)(CID=(PROGRAM=D:\usr\sap\SID\SYS\exe\uc\NTI386\R3trans.exe)(HOST=hostname)(USER=SIDadm))))
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: 08-APR-2009 20:35:23
Tracing not turned on.
Tns error struct:
ns main err code: 12564
TNS-12564: TNS:connection refused
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Fatal NI connect error 12518, connecting to:
(DESCRIPTION=(ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=hostname)(PORT=1527))(CONNECT_DATA=(SID=SID)(GLOBAL_NAME=SID.WORLD)(CID=(PROGRAM=D:\usr\sap\SID\SYS\exe\uc\NTI386\R3trans.exe)(HOST=hostname)(USER=SIDadm))))
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: 08-APR-2009 20:35:23
Tracing not turned on.
Tns error struct:
ns main err code: 12564
TNS-12564: TNS:connection refused
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Fatal NI connect error 12560, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleSID)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=SID)(CID=(PROGRAM=E:\oracle\SID\102\bin\sqlplus.exe)(HOST=hostname)(USER=SIDadm))))
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: 09-APR-2009 09:15:43
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
Fatal NI connect error 12560, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleSID)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=SID)(CID=(PROGRAM=E:\oracle\SID\102\bin\sqlplus.exe)(HOST=hostname)(USER=SIDadm))))
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: 09-APR-2009 09:17:28
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
This error occured when the oracle service was not started..
Mahesh.. -
Oracle TNS Error when startng Listener
Guys,
I get the following error when i try to start the listener, any suggestions or inputs would help
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxx3)(PORT=1522)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
LSNRCTL> start
Starting tnslsnr: please wait...
TNSLSNR for 32-bit Windows: Version 9.2.0.6.0 - Production
System parameter file is C:\oracle\ora92\network\admin\listener.ora
Log messages written to C:\oracle\ora92\network\log\listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxx3)(PORT=1522)
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
32-bit Windows Error: 49: Unknown error
Below is the listener log
TNSLSNR for 32-bit Windows: Version 9.2.0.6.0 - Production on 02-JUL-2009 15:29:56
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
System parameter file is C:\oracle\ora92\network\admin\listener.ora
Log messages written to C:\oracle\ora92\network\log\listener.log
Trace information written to C:\oracle\ora92\network\trace\listener.trc
Trace level is currently 0
Started with pid=20312
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxx3)(PORT=1522)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
32-bit Windows Error: 49: Unknown error
No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
TNSLSNR for 32-bit Windows: Version 9.2.0.6.0 - Production on 02-JUL-2009 15:30:11
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
System parameter file is C:\oracle\ora92\network\admin\listener.ora
Log messages written to C:\oracle\ora92\network\log\listener.log
Trace information written to C:\oracle\ora92\network\trace\listener.trc
Trace level is currently 0
Started with pid=19992
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxx3)(PORT=1522)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
32-bit Windows Error: 49: Unknown error
No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
Listener failed to start. See the error message(s) above...
LSNRCTL>
TNSNAMES.ORA
ORATEST.NV.AMCAD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.XX)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = OraTest)
LISTENER.ORA
SID_LIST_LISTENER =
(SID_DESC =
(GLOBAL_DBNAME = OraTest)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = Oratest)
SQLNET.ORA
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)ORAAM wrote:
Guys,
I get the following error when i try to start the listener, any suggestions or inputs would help
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxx3)(PORT=1522)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
LSNRCTL> start
Starting tnslsnr: please wait...
TNSLSNR for 32-bit Windows: Version 9.2.0.6.0 - Production
System parameter file is C:\oracle\ora92\network\admin\listener.ora
Log messages written to C:\oracle\ora92\network\log\listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxx3)(PORT=1522)
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
32-bit Windows Error: 49: Unknown error
Below is the listener log
TNSLSNR for 32-bit Windows: Version 9.2.0.6.0 - Production on 02-JUL-2009 15:29:56
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
System parameter file is C:\oracle\ora92\network\admin\listener.ora
Log messages written to C:\oracle\ora92\network\log\listener.log
Trace information written to C:\oracle\ora92\network\trace\listener.trc
Trace level is currently 0
Started with pid=20312
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxx3)(PORT=1522)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
32-bit Windows Error: 49: Unknown error
No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
TNSLSNR for 32-bit Windows: Version 9.2.0.6.0 - Production on 02-JUL-2009 15:30:11
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
System parameter file is C:\oracle\ora92\network\admin\listener.ora
Log messages written to C:\oracle\ora92\network\log\listener.log
Trace information written to C:\oracle\ora92\network\trace\listener.trc
Trace level is currently 0
Started with pid=19992
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxx3)(PORT=1522)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
32-bit Windows Error: 49: Unknown error
No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
Listener failed to start. See the error message(s) above...
LSNRCTL>
TNSNAMES.ORA
ORATEST.NV.AMCAD.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.XX)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = OraTest)
LISTENER.ORA
SID_LIST_LISTENER =
(SID_DESC =
(GLOBAL_DBNAME = OraTest)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = Oratest)
SQLNET.ORA
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)What do you suppose the message "TNS-12545: Connect failed because target host or object does not exist" means?
I don't see the LISTENER = section of your listener.ora file. That's where you tell the listener the host and port to use.
You realize of course, that the listener runs on the server, not the client.
You realize, of course, that tnsnames.ora is a client side file and the listener doesn't care one whit what is in any tnsnames.ora file. -
Hi
I am getting tns error below .we noticed that queries are disconnecting in between execution with ora-3113 error.I am getting error in sqlnet.log in server side
VERSION INFORMATION:
TNS for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production
TCP/IP NT Protocol Adapter for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production
Time: 16-MAR-2008 20:32:42
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 78
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=XXXXX)(PORT=XXXX))
AND CLIENT SIDE
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=XXXX)(CID=(PROGRAM=C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE)(HOST=XXXXXX)(USER=XXXX))))
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
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
Time: 17-MAR-2008 08:49:00
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: 126
nt OS err code
Anybody who have been sorted out these errors please let me know.
thanksProtocol adapter error is either a missconfigured environment or a network related error. In your case, since you are working with a windows platform and there are other errors related to time out, I suggest you to verify the windows firewall, it could be preventing database from being reached by the oracle client.
~ Madrid
http://hrivera99.blogspot.com/ -
Hi,
I installeed 11.2g and when I try login I have got error TNS error adapter. My file
tnsname
# tnsnames.ora Network Configuration File: F:\app\Mariano\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)
listener
# listener.ora Network Configuration File: F:\app\Mariano\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 = F:\app\Mariano\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:F:\app\Mariano\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ADR_BASE_LISTENER = F:\app\Mariano
sqlnet
# sqlnet.ora Network Configuration File: F:\app\Mariano\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# 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)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
I try :
lsnrctl stat
sqlplus / as sysdba
startup
but still doesn't workC:\Documents and Settings\Mariano>set|sort
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Mariano\Dane aplikacji
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=MARIUSZ
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOME=C:\cygwin\mariusz
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Mariano
LOGONSERVER=\\MARIUSZ
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=F:\app\Mariano\product\11.2.0\dbhome_1\bin;C:\oraclexe\app\oracle\produc
0.2.0\server\bin;C:\Program Files\PC Connectivity Solution\;C:\WINDOWS\system
C:\WINDOWS;C:\WINDOWS\System32\Wbem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f0d
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\Mariano\USTAWI~1\Temp
TMP=C:\DOCUME~1\Mariano\USTAWI~1\Temp
USERDOMAIN=MARIUSZ
USERNAME=Mariano
USERPROFILE=C:\Documents and Settings\Mariano
VBOX_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
windir=C:\WINDOWS
C:\Documents and Settings\Mariano>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Wt Kwi 17 19:59:29 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-12560: TNS:b│╣d adaptera protoko│u
Proszŕ podaŠ nazwŕ u┐ytkownika:
OK, I see that I haven't got ORACLE_HOME and ORACLE_SID. How create them?
Edited by: user8894354 on 2012-04-17 11:00 -
Receive TNS error when trying to upgrade DB
I receive a TNS error when I try to upgrade a database using the Database Upgrade Assistant. I want to upgrade to 9.2 from 8.1.7. When I click on the database I want to upgrade I receive the TNS error. It never prompts for a username/password@cstring.
I am trying to run this through Windows Terminal Service, is this the problem? I know there are issues trying to run server manager through WTS.
Thanks,
JimI'm new to this, but between Oracle 9.0 and 9.2 the required format appears to have changed for the "TNS Service Name" parameter for a "System DSN" in the Windows "ODBC Data Source Administrator". In 9.0 the "TNS Service Name" can be in either of two formats: global_database_name OR oracle_home$global_database_name. One can verify this by clicking the "Test Connection" button on the the "Oracle ODBC Driver Configuration" screen from the "ODBC Data Source Administrator" window. On a 9.2 system only the first format works. I tested this on freshly-installed systems, each with just one Oracle home and the default sample database.
Perhaps this is related to the problem you are encountering. I was able to fix a problem connecting to 9.2 by changing the "TNS Service Name" parameter. The error I was receiving was: "[Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve service name".
Can anyone point me to some documentation on this apparent change between 9.0 and 9.2? Thanks in advance. -
Installation Oracle 8i TNS error
I am trying to install Oracle 8.1.7. on windows 2000 OS. I have installed Oracle before but never had the problems I am having now.
I am installing it through a Remote Desktop Connection. I used the typical installation option. At 100% of the installation, it hangs on the net8 optional installation. When I am trying to create the database with the database configuration assistent I get an TNS error while initializing the global database. ORA-12560 TNS protocol adapter error.
What could be the problem here?
MarcoI've never tried installing Oracle 8 on Windows XP machine, so I don't know. And Oracle does not provide download link for software they don't support (like Oracle 8.1.7), </br></br>
So your options are upgrade your existing database or try searching 8.1.7 version. I presume you don't have 8.1.7 version, either way you need to upgrade your database anyway.</br></br>
Give Oracle Express Edition(it's free) a try, using it you can fully utilize advance ODP.NET feature like Database Change Notification. If you choose to download Oracle Enterprise Edition, Oracle won't charge you if you use it only for development purpose.</br></br>
Cheers,</br>
NH</br> -
Discoverer desktop installation on Windows 7 64 OS XP Mode TNS error
I have installed discoverer administrator and desktop in XP Mode on a Windows 7 64 OS. I downloaded the install from Oracle Discoverer 11g Fusion Middleware. I am using XP mode because I believe there is no download for the 64 bit OS in the Windows environment. I have had no trouble with the installation. The trouble comes when trying to connect to a database. I get a TNS error.
I have edited the environmental variable to include tns names. I am able to connect to a database on the network via sql developer but not with discoverer.
One needs to run the xp application within the Windows 7 environment. I have included the environmental variable in both environments (xp virtual and Windows 7) and am 0% successful with discoverer and 100% successful with sql in seeing the database.
Any technical advice?I am indebted to Praveen Deshpande for this :
You need to create a Windows environment variable TNS_ADMIN that points to the directory where the correct Tnsnames.ora file is held.
On my system, I went to 'Computer - System Properties - Advanced - Environment Variables", created an environment variable TNS_ADMIN and set its value to C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN
Check where your server or other tnsnames file is stored and set the corresponding value.
Then it all worked perfectly.
Maybe you are looking for
-
Blank line appears in reportviewer but not on printout
Post Author: optmax CA Forum: .NET In a VS 2005 .net web app a blank line at the end of a textbox appears in the reportviewer but is suppressed when I click the reportviewer print button and create a pdf. I want the blank line so that there is a gap
-
Can I Programmatically Change the Active Group on a Hypertrend in DSC?
I would like to know how to programmatically change the active group of a hypertrend in Labview DSC. I saw a link which said it can be done in Lookout. But in the DSC module, the active group is read only. I know of a hard way to do it. I could sa
-
Heya, I'm trying to edit an action. I'm trying to change how I move something. I'm using a mac, I've tried clicking on the specific item in the action and hitting record; NO JOY. I've tried selecting 'record again', but NO JOY. When I click on 'recor
-
HRP1000 and HRP1001 log changes
hi I am not able to see HRP1000 and HRP1001 log changes in CDHDR and CDPOS. The HR_IT1000 and HR_IT1001 are active in the system.
-
Server Behaviours changed in DW 8?
Just watching an old movie created using DWMX, and it shows the Server Behaviour Panel having a "Go to Detail" and "Go to Related" page behaviours listed. I don't seem to have these options in DW 8. Have they simply been replaced by the fancy 'Insert