OSX SQLPLUS error:ORA-12162:TNS:net service name is incorrectly specified
Dear oracle community,
just stepped today into oracle world.
Installed OracleXE on my remote UBUNTU server.
From the server, sqlplus works perfectly.
From my client (followed this tutorial http://www.danilovizzarro.it/?p=10 ), i can connect via the
sqlplus connection string: #sqlplus hr/PASS@HOSTipADDRESS/XE .
But when i try just sqlplus and enter username/password later on, i get
ORA-12162:TNS:net service name is incorrectly specified .
My config:
OS - MAC OS X LEOPARD 10.5.5
#echo $ORACLE_SID
XE
#echo $ORACLE_HOME
/opt/oracle/instantclient_10_2/
#echo $TNS_ADMIN
/opt/oracle/tns/
# cat /opt/oracle/tns/tnsnames.ora
XE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = HOSTipADDRESS)(PORT = 1521))
(CONNECT_DATA =
(SID = XE)
Any ideas - is it that sqlplus doesn't locate my tnsnames.ora file, or, maybe, there's an error in it?
thanks for any ideas, recipies, suggestions :)
enjoy the day,
james
If I understand you correctly you only give userid and password,but no connect string. That would be a LOCAL connection,which will not work,because you issue the command on the client,not the database server. For local connections you have to specify a value for ORACLE_SID. If you do that on your client (doesn't make sense , because you don't have a database here), you should see a message like 'Oracle not available'. If ORACLE_SID is not defined you get ORA-12162,which is a little misleading.
Werner
Similar Messages
-
Ora-12162 TNS: net service name is incorrectly specified
hi ,
i have installed oracle 11g on an AIX node and configured asm as well. when i su - oracle and give sid as +ASM am able to get in to sqlplus as ASM and oracle home is ASM.
but when i give oracle_home to db i get the error. the thing is that these files were not created wen i installed oracle. i created them manually :(
thanks in advance
--------- listener.ora-------------
# listener.ora.rac01 Network Configuration File: /u01/oracle/product/11.1.0.7/db
/network/admin/listener.ora.rac01
# Generated by Oracle configuration tools.
LISTENER=
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = rvn14)(PORT = 1521)(IP = FIRST))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.160.103.46)(PORT = 1521)(IP = FIRST))
(SID_LIST_LISTENER=
(SID_LIST=
(SID_NAME=sys)
ADR_BASE_LISTENER_RAC01=/u02
---------- sqlnet.ora------------
names.default_domain = world
names.directory_path = (TNSNAMES)
trace_level_client = off
tcp.nodelay = yes
bequeath_detach = yes
sqlnet.expire_time = 10
sqlnet.inbound_connect_timeout = 0
adr_base=/u02
--------tnsnames.ora----------
LISTENER=
(DESCRIPTION=
(ADDRESS_LIST=(ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)
(Host=10.160.103.46)(Port=1521)))
(CONNECT_DATA=(SID=sys)Hi;
Please see:
ORA-12162 When Logging in Using BEQ (no tnsnames alias) [ID 312348.1]
Similar issue also mention before here. Please see:
https://forums.oracle.com/forums/search.jspa?threadID=&q=ora-12162+&objID=c18&dateRange=all&userID=&numResults=15
Regard
Helios -
Net service name is incorrectly specified
Hi,
Please can anyone explain me why am I getting this error ?
" ORA-12162: TNS:net service name is incorrectly specified "
ThanksORA-12162: TNS:net service name is incorrectly specified
Cause: The connect descriptor corresponding to the net service name in TNSNAMES.ORA or in the directory server (Oracle Internet Directory) is incorrectly specified.
Action: If using local naming make sure there are no syntax errors in the corresponding connect descriptor in the TNSNAMES.ORA file. If using directory naming check the information provided through the administration used for directory naming.
Regards
Asif Kabir -
Tns error ora-12162 net service name is incorrectly specified
Hello gurus ,
I am trying to connect database using telnet from windows machine ,
after login os , username ,password
i got $ prompt , after that i have given sqlplus command , then I have enter username,pwd correctly ,but I am unable to connect its giving error " Net service name is incorrectly specified ,
I have checked my tnsnames.ora file at the database system , i find all the entries are correct
plzzz can anybody help me .. how to connect database via telnetuser10608990 wrote:
Hello gurus ,
I am trying to connect database using telnet from windows machine ,
after login os , username ,password
i got $ prompt , after that i have given sqlplus command , then I have enter username,pwd correctly ,but I am unable to connect its giving error " Net service name is incorrectly specified ,
I have checked my tnsnames.ora file at the database system , i find all the entries are correct
plzzz can anybody help me .. how to connect database via telnet"I have enter username,pwd correctly "
"i find all the entries are correct "
And yet, it doesn't work!
=============
"I have checked my tnsnames.ora file at the database system "
when you start sqlplus ... is that on the same machine that is running the db, or some other machine? Remember .. (and I'm really feeling like a broken record on this one) <b><i>TNSNAMES.ORA IS USED BY THE <U>CLIENT</U> PROCESS.</i></b>
Show us the contents of your listener.ora file -- from the server machine
Show us the contents of your tnsnames.ora and sqlnet.ora files -- from the client machine. -
SQLPLUS error::ORA-12541: TNS: no listener
I am new so bare with me...
I believe I have successfully installed 8.1.6 on RH-6.1..
But when I type SQLPLUS at the command line I am promted for a username:
I type scott/tiger@SID
and get the TNS no listner error..
I have also tried various other user id's and passwds:.
scott/[email protected]
oracle/passwd@sid
ETC.. Nothing just errors
I am really looking for help or links to help..
I so much want this to work....
Thanks and feel free to email me your comments...[email protected]
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Karana:
I am new so bare with me...
I believe I have successfully installed 8.1.6 on RH-6.1..
But when I type SQLPLUS at the command line I am promted for a username:
I type scott/tiger@SID
and get the TNS no listner error..
I have also tried various other user id's and passwds:.
scott/[email protected]
oracle/passwd@sid
<snip> ped
<HR></BLOCKQUOTE>
i think you want to connect to a databaseServer on the local host.
set the ORACLE_SID variable with the command
export ORACLE_SID=<here_the_name_of your_database>
with bash shell.
then start sqlplus with
sqlplus system
and type the password at the following prompt. default password for system is
manager
better not use the user/password cmdline,
cause other users on this system can see your password in the processList (ps ax).
create a demo user, i found no user scott after installing.
have fun
null -
Hi everybody,
When I open sqlplus64, I take the user-name ans password and I have the error message
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
But while processing the user-name and password are the same I made ...
I don't understand.
Best regards,
Transact
Edited by: transact on 4 déc. 2010 13:36=================================
A couple of important points.
First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
Additional notes on the listener: One listener is capable of listening on multiple ports. But please notice that it is the listener using these ports, not the database instance. You can't bind a specific listener port to a specific db instance. Similarly, one listener is capable of listnening on multiple IP addresses (in the case of a server with multiple NICs) But just like the port, you can't bind a specific ip address to a specific db instance.
Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
Assume you have the following in your tnsnames.ora:
larry =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = curley)
)Now, when you issue a connect, say like this:
$> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
What can go wrong?
First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
Third: If the client is on the same machine as the db instance, it is possible to connect without referencing tnsnames and without going through the listener.
Now, when you issue a connect, say like this:
$> sqlplus scott/tigertns will attempt to establish an IPC connection to the db instance. How does it know the name of the instance? It uses the current value of the enviornment variable ORACLE_SID. So...
$> export ORACLE_SID=fred
$> sqlplus scott/tigerIt will attempt to connect to the instance known as "fred". If there is no such instance, it will, of course, fail. Also, if there is no value set for ORACLE_SID, the connect will fail.
check executing instances to get the SID
[oracle@vmlnx01 ~]$ ps -ef|grep pmon|grep -v grep
oracle 4236 1 0 10:30 ? 00:00:00 ora_pmon_vlnxora1set ORACLE_SID appropriately, and connect
[oracle@vmlnx01 ~]$ export ORACLE_SID='vlnxora1
[oracle@vmlnx01 ~]$ sqlplus scott/tiger
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:37 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsNow set ORACLE_SID to a bogus value, and try to connect
SQL> exit
[oracle@vmlnx01 ~]$ export ORACLE_SID=FUBAR
[oracle@vmlnx01 ~]$ sqlplus scott/tiger
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:57 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Enter user-name: Now set ORACLE_SID to null, and try to connect
[oracle@vmlnx01 ~]$ export ORACLE_SID=
[oracle@vmlnx01 ~]$ sqlplus /scott/tiger
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:43:24 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-12162: TNS:net service name is incorrectly specifiedOk, that is how we get from the client connection request to the listener. What about the listener's part of all this?
The listener is very simple. It's job is to listen for connection requests and make the connection (server process) between the client and the database instance. Once that connection is made, the listener is out of the picture. If you were to kill the listener, all existing connections would continue. The listener is configured with the listener.ora file, but if that file doesn't exist, the listener is quite capable of starting up with all default values. One common mistake with the listner configuration is to specify "HOST=localhost" or "HOST=127.0.01". This is a NONROUTABLE ip address. LOCALHOST and ip address 127.0.0.1 always mean "this machine on which I am sitting". So, all computers are known as "localhost" or "127.0.0.1". If you specify this address, the listener will only be capable of receiving requests from the machine on which it is running. If you specified that address in your tnsnames file - on a remote client machine - the request would be routed to the machine on which the requesting client resides. Probably not what you want.
===================================== -
Hi,
I am getting bellow error.Any idea?
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: "/as sysdba"
Enter password:
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
Thanks,
Mk[oracle@oracle ~]$ sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Tue Oct 20 14:24:41 2009
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter user-name: / as sysdba
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
Enter user-name:
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
Enter user-name: [oracle@oracle ~]$
[oracle@oracle ~]$ export ORACLE_SID=DB112
[oracle@oracle ~]$ sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Tue Oct 20 14:24:59 2009
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter user-name: / as sysdba
Connecte a :
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> -
ERROR: ORA-12514: TNS:listener does not currently know of service requested
My Data base in Linux box, I have default SID as ORCL, and i have created 3 more instances of DB (TST1,TST2 and TST3) . As long as my system has not restated, I am bale connect to the instances. Once my system restated i am unable to connect to the new instances of DB.. Pl adivice..Thanks..
In sqlplus: username/password @ ORCL - working fine...
username/password @TST1 or other services ...i am getting ..error .. ERROR: ORA-12514: TNS:listener does not currently know of service requested
I have created all instances of DB by using below command:
dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbname TST1 -sid TST1 -responseFile NO_VALUE -characterSet AL32UTF8 -memoryPercentage 40 -emConfiguration LOCAL
Edited by: user10980939 on Jul 20, 2011 2:16 PM-- Below is my tnsnames.ora and listner.ora files....Pl let me know how to add different ports...
cat tnsnames.ora
# tnsnames.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_BHPT =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
TFOCUS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TFOCUS)
BDO_PDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.153)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = BDO_PDB)
LISTENER_BDOT =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
LISTENER_TFOCUS =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
BHPT =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BHPT)
BDOAIX61 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.224)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = bdo)
BDOT =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BDOT)
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORCL)
Listner.ora file
[oracle@WBE07180 admin]$ cat listener.ora
# listener.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ORCL)
(SID_NAME = ORCL)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.245)(PORT = 1521))
ADR_BASE_LISTENER = /home/oracle/app/oracle -
Good Day,
I'm encountering this problem
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
here's the java code
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
String url = "jdbc:oracle:thin:@//10.143.85.21/UCSL";
String userName = "mssoriano";
String passWord = "mssoriano_4319";
conn = DriverManager.getConnection(url, userName, passWord);
and here's my tnsnames.ora
UCSL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.143.85.21)(PORT = 1521))
(CONNECT_DATA =
(SID = psusldb11)
Please do let me know if what may the cause of the problem and how to solve this. Thank you and God bless.Hi,
see this example
Connect to Oracle DB via JDBC driver
Frank -
Hi All,
While restarting the hyperion service we see this exception. Nothing was changed on the hyperion server. Checking with DB team if anything was change on their end.
Caused By: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Listener refused the connection with the following error:ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:283)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1310)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1227)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:250)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1330)
Truncated. see log file for complete stacktrace
We don't have oracle client on our end, so this is not a tnsnames issue. This is preventing all the hyperion services coming up.
Thanks,The listener is up , the message is from the listener indicating the listener does not know of SID/SERVICE name that you are giving it. Manually connect to the db using sqldeveloper in order to make sure the parameters you are providing are working. Pay special attention to SID vs SERVICE_NAME. Then try to open config tool and go back to your database connection info. Reconfigure your database connection. It will likely you will find your connection error there. Also sometimes the config tool has trouble figuring out whether you mean SID or SERVICE_NAME. You can open advanced properties on the connection in configtool and specify / or : in the url.
Java JDBC - How to connect to Oracle using Service Name instead of SID - Stack Overflow -
Error while trying to retrieve text for error ORA-12162
I'm accessing the VM through Putty. My DB and GGate both reside on the same machine.
I'm trying to connect to DB using GG but It seems to be throwing some Issue. I tried to search for solution over net but couldnt get it fixed. I have set My ORACLE_HOME to the installed dir of Oracle 11g and ORACLE_SID to the one mentioned in my tns. But still no luck. Can some1 guide me.
It says check privileges, but when I try
GGSCI (XXXXXX) 1> dblogin userid sys as sysdba
Password:
ERROR: Did not recognize parameter argument.
Don't work this way, not the other way mentioned below
GGSCI (XXXXXX) 2> dblogin userid sys
Password:
ERROR: Unable to connect to database using user sys. Please check privileges.
Error while trying to retrieve text for error ORA-12162.
I can do a normal Login using SQLPLUS but Not through GGate :(
Please guide meLother wrote:
I'm accessing the VM through Putty. My DB and GGate both reside on the same machine.
I'm trying to connect to DB using GG but It seems to be throwing some Issue. I tried to search for solution over net but couldnt get it fixed. I have set My ORACLE_HOME to the installed dir of Oracle 11g and ORACLE_SID to the one mentioned in my tns. But still no luck. Can some1 guide me.
It says check privileges, but when I try
GGSCI (XXXXXX) 1> dblogin userid sys as sysdba
Password:
ERROR: Did not recognize parameter argument.
Don't work this way, not the other way mentioned below
GGSCI (XXXXXX) 2> dblogin userid sys
Password:
ERROR: Unable to connect to database using user sys. Please check privileges.
Error while trying to retrieve text for error ORA-12162.
I can do a normal Login using SQLPLUS but Not through GGate :(
Please guide mei wouldnt use SYS in the first place and rather create a new user to work with GG, but try this one:
dblogin userid sys, password <password> sysdba -
ERROR: ORA-12547: TNS:lost contact :- how do i debug this error
Hi all,
we have three 9i databases here( 3 server machines ). in my system i installed 10 g client and modified the tnsnames.ora to connect to these databases thru sqlplus. Now able to connect two of the databases but for the third one
when i try to connect it gives error
ERROR: ORA-12547: TNS:lost contact :- how do i debug this error
please guide me how to solve this error.
i checked the sid , service name etc. seems to be ok. ( Also compared with other two databases )
regards raviyou can turn on net tracing by setting the following sqlnet.ora parameters:
TRACE_DIRECTORY_CLIENT = c:\temp
TRACE_UNIQUE_CLIENT = on
trace_level_client = admin
then review trace files or send them to oracle support to see the cause of this error -
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.
-
ERROR ORA-12514: TNS: unable to start extract process
Hi Experts,
I have installed Oracle Golden Gate in the below environment.But unable to start extract process
Primary site (source): This is production DB and up and running.
RAC 2 nodes
Oracle RAC 11.2.0.1.0
ASM
Oracle GoldenGate 11g Release 1 (11.1.1.0.0)
Enterprise Linux Server release 5.5 (Carthage)
Processor Type x64
OS 64 bit
target Site (destination):
Standalone single server - Non RAC
Oracle version 11.2.0.1.0
ASM
Oracle GoldenGate 11g Release 1 (11.1.1.0.0)
Enterprise Linux Server release 5.5 (Carthage)
Processor Type x64
OS 64 bit
Getting below error in logs while starting extract process:
RECOVERY: reset to initial or altered checkpoint.
2012-08-05 10:34:10 ERROR OGG-00868 Oracle GoldenGate Capture for Oracle, aaa.prm: Attaching to
ASM server asm: (12514) ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor.
2012-08-05 10:34:10 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, aaa.prm: PROCESS
ABENDING.[oracle@ ggate]$
Getting below error while connecting with asm instance directly:
[oracle@ admin]$ sqlplus sys@asm as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 5 11:16:11 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
[oracle@ ~]$ tnsping asm TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 05-AUG-2012 11:55
:42
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xxx-
scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ASM) (I
NSTANCE_NAME = +ASM1)))
OK (0 msec) Any help Please ?
Regards
LazyDBA
Edited by: LazyDBA11g on Aug 5, 2012 12:14 AM
Edited by: LazyDBA11g on Aug 5, 2012 11:25 PM
Edited by: LazyDBA11g on Aug 12, 2012 4:36 AMHello JK,
Thanks a lot for specific response.
SQL> select INST_ID, NAME, VALUE from gv$parameter where name like '%_listener%';
INST_ID NAME VALUE
1 local_listener (DESCRIPTION=(ADDRESS_LIST=(AD
DRESS=(PROTOCOL=TCP)(HOST=xxx_
data1-vip)(PORT=1521))))
1 remote_listener xxxdata-scan:1521
2 local_listener (DESCRIPTION=(ADDRESS_LIST=(AD
DRESS=(PROTOCOL=TCP)(HOST=xxx_
data2-vip)(PORT=1521))))
2 remote_listener xxxdata-scan:1521
If I add REMOTE_LISTENER pointing to SCAN ip address, Does it require DB bounce ? (Its production DB)
Regards,
LazyDBA
Edited by: LazyDBA11g on Aug 10, 2012 12:01 PM
Edited by: LazyDBA11g on Aug 12, 2012 4:48 AM -
Report connection error ORA-12203 : TNS : unable to connect to destination
hi
when in open report and go to query builder then show me this error
REP-0501 : Unable to connect to the specified database.
ORA-12203 : TNS : unable to connect to destination
how i connect report and form with oracle8i which two file in copy into developer folder
please give he solution
thanking your$ oerr ora 12203
12203, 00000, "TNS:unable to connect to destination"
// *Cause: Invalid address specified or destination is not listening.
// This error can also occur because of underlying network or network
// transport problems.
// *Action: Verify that the net service name you entered was correct.
// Verify that the ADDRESS portion of the connect descriptor which
// corresponds to the net service name is correct. Ensure that the
// destination process (for example the listener) is running at the
// remote node.
$In Developer Home check that TNS alias in tnsnames.ora has no errors. Are you able to connect from Sql*Plus from Developer Home, using same alias ?
Also check that the listener is running on DB machine.
how i connect report and form with oracle8i which two file in copy into developer folder What does it mean exactly ?
Maybe you are looking for
-
WHY DO I GET AN UNENCRYPTED CONNECTION WHEN I CLICK ON FIREFOX
WHY DO I GET THIS MESSAGE WHEN I OPEN MY MOZILLA BROWSER - (ALTHOUGH THIS PAGE IS ENCRYPTED, THE INFO YOU HAVE ENTERED IS TO BE SENT OVER AN UNENCRYPTED CONNECTION AND COULD EASILY BE READ BY A 3RD PARTY. WHEN I HIT CONTINUE I GET IN - WHEN I HIT CAN
-
Parameters on SQ01 Selection Screen
Hi All, I need a parameter field on Query Selection Screen , but all i see is select-options with additional features like prevent multiple selection etc. The parameter field is like an indicator for example mark for deletion , if the user puts in "X
-
Install stops at updating component registration
Hi I am trying to install itunes on a new Windows XP Pro machine. It gets to the updating component registration and seems to just stop. I have left now for a few hours and it has only advanced by one bar. At this rate it will take a week to install.
-
"Show All" option in when filtering
Greetings! The dasboard I am trying to build is currently able to use the filtered rows functionality to sort the superset project list by its "stage". For example,users are able to sort by "stage 1,stage 2..." etc. Would love to give users the abi
-
Microsoft TTF Fonts package needed for commercial use in portable application
Hello there i am designing an application in java which is based on being a portable application of pdf converter. My design needs to have the ttf Fonts independently present in the application. Is there any way or agreement to buy the Microsoft ttf