Problem on ORA-12514
Hi all..
I installed orcle 11g realease 2 64-bit edition on my machine Window7.
I'm orcl default service.
I am unable to connect any user using the name of the service, I get the error "ORA-12514: TNS:listener is not currently of service requested in connect descriptor"
SQL >
Enter the user name: system@orcl
Enter the password:
ERROR:
ORA-12514: TNS:listener is not currently of service requested in connect descriptor.
Also for this reason I am not able to connect with sqldeveloper.
Open the command window & do as below
lsnrctl stop
CD E:\Server\Oracle\product\11.2.0\dbhome_1\network\admin\
listener.ora.sav Ren listener.ora
lsnrctl start
#wait 60 seconds before continuing
lsnrctl status
lsnrctl service
COPY the results from above then PASTE all back here
Tags: Database
Similar Questions
-
[SOLVED] Need help problem of ORA-12514
[SOLVEDi am currently unable to connect to a local database system, I am facing the error ORA-12514 fact someone knows what's the problem I posted the exact details found for my tnsnames.ora, listeners.ora and even a snippet of the serc cmd]
tnsnames.ora
# tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora # Generated by Oracle configuration tools. LISTENER_ORCL= (DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=Deon-PC) (PORT=1522) ) (CONNECT_DATA= ) ) ORCL= (DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=Deon-PC) (PORT=1521) ) (CONNECT_DATA= (SERVER=dedicated) (SERVICE_NAME=orcl) ) ) EXTPROC_CONNECTION_DATA= (DESCRIPTION= (ADDRESS= (PROTOCOL=IPC) (KEY=EXTPROC2) ) (CONNECT_DATA= (PRESENTATION=RO) (SID=PLSExtProc) ) )
Listener.ora
# 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 = EXTPROC2)) (ADDRESS = (PROTOCOL = TCP)(HOST = Deon-PC)(PORT = 1522)) ) )
Service
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\Deon>lsnrctl service LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 16-SEP-2014 10:36 :24 Copyright (c) 1991, 2007, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC2))) Services Summary... Service "PLSExtProc" has 1 instance(s). Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service... Handler(s): "DEDICATED" established:0 refused:0 LOCAL SERVER The command completed successfully C:\Users\Deon>
In fact, Ed Stevens has an excellent article on the issue of the ORA 12512 of troubleshooting:
ORA-12514: TNS:listener is not currently in service. Ed Stevens, s/n
-
ERROR - ORA-12514: TNS:listener does not know now of immediate service
Hi all
Is the problem that I do face when I access oracle 10g database.it was wrking fine a few days back then I installed the developer 10g suite.after I am facing the problem (ERROR - ORA-12514: TNS:listener does not know currently of service requested in connect descriptor) every time I try and access my database.any 10 g help will be very appreciated.
Thanks in advance
MouradHello
Make sure that you use right tnsnames.ora as you have it installled oracle developer suite after installation of the database so it could change your ORACLE_HOME as a result of developer. You have 2 choices
1. replace oracle_home installation of oracle database in the variables env control panel system
or
1 copy the tnsnames.ora, listener.ora under Developer suite... location/networ/admin.If you are using on your local computer, you do not have this and you should be able to connect but if you use it is not bad either.
Output from the following command post
lsnrctl status
Concerning
-
Access to the second instance of the database on the same host (ORA-12514) problem
Hello
I had a database of what ICMDB installed on my machine. After that, I created a second instance of database (Service name: BI_APPS) using DBCA on the same machine. With the help of NETCA I also created a new OracleOraDb11g_home1TNSListenerBI_APPS_LISTENER listener on port 1522 on my machine. Then I configured this listener to listen to the connections to the service BI_APPS by adding the following to my tnsnames.ora:
BI_APPS_LISTENER =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1522))
Then I changed the port in my driveway tns to BI_APPS at 1522 as follows:
BI_APPS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BI_APPS)
)
)
I then restarted the following services:
OracleOraDb11g_home1TNSListener
OracleServiceBIAPPS
OracleOraDb11g_home1TNSListenerBI_APPS_LISTENER
After that, when I try to access my first ICMDB DB through Toad, the connection is successful. However, when I try to access the service BI_APPS I get the following error:
ORA-12514: TNS:listener is not currently of service requested in connect descriptor.
What I am doing wrong? Here are the contents of my files:
----------------------------------------------
TNSNAMES. ORA
tnsnames.ora # Network Configuration file: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
BI_APPS_LISTENER =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1522))
BI_APPS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BI_APPS)
)
)
LISTENER_ICMDB =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1521))
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
ICMDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = icmdb)
)
)
-----------------------------------------------------------------------
SQLNET. ORA
sqlnet.ora # Network Configuration file: D:\app\Oracle\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 can opt for
# install 'Software Only', this file does not 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)
------------------------------------------------------------------------------------
LISTENING PORT. ORA
listener.ora # Network Configuration file: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
BI_APPS_LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1522))
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1522))
)
)
ADR_BASE_BI_APPS_LISTENER = D:\app\Oracle
SID_LIST_BI_APPS_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\app\Oracle\product\11.2.0\dbhome_1)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:D:\app\Oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
)
---------------------------------------------------------------------------------------------------
Here's the lsnrctl status output
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 12 December 2013 16:17:01
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
TNSLSNR for Windows 64-bit version: Version 11.2.0.1.0 - Production
Start date December 12, 2013 10:34:35
Uptime 0 days 5 h 42 min 26 s
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Listener parameter File D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
D:\app\oracle\diag\tnslsnr\ICMDEVDB\listener\alert\log.XML log listener
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=ICMDEVDB) (PORT = 1521)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=192.168.2.109) (PORT = 1521)))
Summary of services...
Service 'BIAPPSXDB' has 1 instance (s).
'Biapps' instance, State LOAN, has 1 operation for this service...
Service 'BI_APPS' has 1 instance (s).
'Biapps' instance, State LOAN, has 1 operation for this service...
Service 'icmdb' has 1 instance (s).
'Icmdb' instance, State LOAN, has 1 operation for this service...
Service 'icmdbXDB' has 1 instance (s).
'Icmdb' instance, State LOAN, has 1 operation for this service...
The command completed successfully
OK I solved this.
Apparently, the machine restart is necessary after the creation of the new instance. I have created a new instance, restarted Windows and Bingo!
-
Hi all... I am a newbie with oracle database.,.
I have the problem of monitoring:
I installed Oracle Database 11 g R2 XE on my CentOS 6.5 guest operating system.
I changed the host name in my CentOS so (where installed oracle 11g R2 XE) after the installation was completed successfully.
Installation-) before and during the hostname is localhost.
(-) After the installation, I changed the host name in VMCentOS
From the moment where I changed the host name, nothing starts automatically. In particular, the listener and the database instance does not start automatically.
When I start the listener manually and I try to connect to the instance of database with SQLPLUS I get this error:
ORA-12514: TNS:listener is not currently of service requested in connect descriptor
I think that the problem is due host name changed because I have to test and debug the object, re-installed a machine virtual operating system CentOS, re-installed oracle database 11 g and I do not have this problem. The database instance and the listener starts automatically!
Can someone tell me if, maybe, the problem is with the host has changed? ... and why?
P.S.: After changing the hostname I also modified the listener.ora and the tnsnames.ora by changing the HOST with the correct host name.
Hello
It seems that you don't install Oracle Database Express Edition (XE). If you post this question in the wrong forum.
When you install EA or there is no script that starts the database at startup.
If you wish, you can create by yourself. For example search for instructions to Google how to create script.
Kind regards
Jari
-
ORA-12514: TNS:listener is not currently in service
I installed Oracle Database 11 g and I can access jet database SQL Plus and everything ok, but when I install developer Oracle 11 g and when I try to connect from the form of database, I can't.
and when I go to the Network Configuration Wizard and add the connection I find this error "" ORA-12514: TNS:listener does not currently of service requested in connect descriptor "and when I check the service all the Oracle service works very well."
I need help to solve this problem.
Thank you
EYADHello
I think that your installation of forms is not configured properly again to connect to the database.
Try to connect to sqlplus in forms_home with the name of the service, if you can connect to the database from there, you will be able to connect using forms also.
You have netconfiguration manager in you installation of forms, you can use it to add an entry of tns for your database
You can post your tnsnames.ora content of $ORACLE_INSTANCE/config
Please see the thread {: identifier of the thread = 1091615}
Concerning
SANAE -
ORA - 12514:TNS:listener does not work
Hi all
My Version of DB: 10.2.0
Operating system: Solaris
I just stop the database and when try to restart Pb it gives me error like:
ORA - 12514:TNS:listener does not work
When I check the entry from the file tnsnames.ora DB is in the list
but when I do
lsnrctl status
It will not display no services of db which is orcl
can someone help meVikas Kohli wrote:
DB is now
one more thing to ask
Please do not put more than one topic or 'thing' in each thread that is start a new separate discussion thread / topic / problem etc.
When you try to raise the hot backup rman I get below error:
RMAN topics, please use the dedicated forum: {forum: id = 74}.
-
ORA-12514, TNS:listener is not currently of service request
Forgive my potential stupid question... I'm trying to connect to oracle via sqldeveloper on oel5u6
When I use SID connection works, but when I use the name of the Service (the windows of useon an i) it gives the error below why?
Status: Failed - Test has failed: listener refused the connection with the following error: ORA-12514. TNS:listener is not currently of service requested in connect descriptor.
We use SIDS on the boxes of linux and name service on windows boxes? enjoy the lights. TQ
SqlDeveloper 3.0.04 OEL5u6
Oracle 11 g 2 OEL5u6
jdkpath=/usr/java/JDK1.6.0_30
has given the details below:
user: System
password: system_password
Host: hostname: oel5u6.localdomain (tried all other combos too either localhost, ip etc. address.)
Port: 1521
service name: orcl
provided all the details... do some research forums too... still no luck
* $ORACLE_HOME *.
* $ORACLE_SID *.[oracle@oel5u6 bin]$ echo $ORACLE_HOME /home/oracle/app/oracle/product/11.2.0/dbhome_2
Oracle instance started[oracle@oel5u6 bin]$ echo $ORACLE_SID orcl
tnsnames.oraSQL> startup ORACLE instance started. Total System Global Area 1707446272 bytes Fixed Size 1336988 bytes Variable Size 989858148 bytes Database Buffers 704643072 bytes Redo Buffers 11608064 bytes Database mounted. Database opened.
Listener.ora# tnsnames.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/tnsnames.ora # Generated by Oracle configuration tools. LISTENER_ORCL = (ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521)) ORCL = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl) ) )
tnsping orcl# listener.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/listener.ora # Generated by Oracle configuration tools. LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521)) ) ) ADR_BASE_LISTENER = /home/oracle/app/oracle
lsnrctl status[oracle@oel5u6 bin]$ $ORACLE_HOME/bin/tnsping orcl TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 24-DEC-2011 02:09:13 Copyright (c) 1997, 2009, Oracle. All rights reserved. Used parameter files: /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/sqlnet.ora Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl))) OK (0 msec)
Journal of SQL Developer through the terminal starting[oracle@oel5u6 bin]$ $ORACLE_HOME/bin/lsnrctl status LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 24-DEC-2011 02:09:17 Copyright (c) 1991, 2009, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production Start Date 24-DEC-2011 01:51:45 Uptime 0 days 0 hr. 17 min. 31 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/listener.ora Listener Log File /home/oracle/app/oracle/diag/tnslsnr/oel5u6/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oel5u6.localdomain)(PORT=1521))) Services Summary... Service "orcl.localdomain" has 1 instance(s). Instance "orcl", status READY, has 1 handler(s) for this service... Service "orclXDB.localdomain" has 1 instance(s). Instance "orcl", status READY, has 1 handler(s) for this service... The command completed successfully
Edited by: Oracler December 24, 2011 12:04 AMOracle SQL Developer Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. Type the full pathname of a J2SE installation (or Ctrl-C to quit), the path will be stored in ~/.sqldeveloper/jdk /usr/java/jdk1.6.0_30
Edited by: Oracler December 24, 2011 12:43 AMWhat happens if you do sqlplus u/p@orcl on the Linux machine?
It seems that the name of your service is actually orcl.localdomain. It is perhaps that the remote connection has no need of the domain name, but a local connection only.
This isn't really a problem SQL Developer. You can get the best answers in the database - general forum.
-
Hello
I get the following error when connecting to the database (Windows based, worm 10.1.0.2.0
ORA-12514: TNS:listener is not currently of service requested in connect descriptor.
I tried and checked the entry of tns as specified in some of the previously posted threads, but in vain. It sometimes works after restarting the system in some time.
Not sure if this is the right place to be displayed.
Kindly let me know how to proceed and solve this problem.
Thank you.
SarahHi Sarah,.
I am happy that I am useful.
The difference is that we're specifying our SID_LIST_LISTENER SID name and adding to the EXTPROC in LISTENING port address line.
Thank you
Barros.
-
Audit Vault add redo collector error ORA-12514
I test Audit Vault on OEL 5.5. When to add REDO collect on AV server has received the server error:
add_collector - SrcName AVCLIENT avorcldb. REDO of ORACLE.COM - nom_agent of agent1 - colltype - REDO_collect av collname - avclient.oracle.com:1521:SRCDB1
source AVCLIENT. ORACLE.COM checked for collector REDO Log Audit Collector
Adding collector...
Collector has successfully added.
remember the following information for use in the avctl
Name of collector (collname): REDO_collect
the initialization of the REDO Collector
ERROR: could not get by using jdbc connection AV source user:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=avclient.oracle.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=SRCDB1)))
ERROR: ORA-12514: TNS:listener is not currently of service requested in connect descriptor
And determination of naming is ok, I can connect to sever AV source.
your prompt response will be appreciatedHi you
as mentioned in your tnsname.ora file the name of your service is (av.oracle.com), but in your comand you use just AV
Please check the instruction agiain and try again. If the problem persists, then do the above action.
Hope it solves the problemConcerning
-
ORA-12514 TNS: Listener does not currently of service required
Hi all
I created a thread here only three days ago on the question above:
ORA-12514 TNS: Listener does not currently of service required
and I ended install oracle again this time around just after 2 days I'm getting the same problem again. I have not yet published that any same file not open it not even anywhere near her. Can anyone tell me the reason?
Thank you and best regards,
Lucky aka Lastw0nd3r
Published by: lastw0nd3r on August 5, 2010 07:24SQL NET should now work for you.*
If so, please mark as ANSWERbut where was I wrong?
the database is not started so the listener did not know the DB Service
-
Upgrade 10.2.0.1 to 10.2.0.5 ora-12514 TNS Listener error
Hello
We have recently updated our database version 10.2.0.1 to 10.2.0.5 and have the "TNS: listener does not currently of service requested in connect descriptor" error. We have checked and done everything that the directives in question & action said here. http://ORA-12514.ora-code.com/
But it still gives the same error. Could you please give me an answer or at least a glimpse into the possible root cause this problem?
This is my sqlnet and ora tnsnames file, listener.
Thank you.
file SQLNET.ora
Listener.ora fileSQLNET.AUTHENTICATION_SERVICES= (NTS) NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT) SQLNET.EXPIRE_TIME=10
tnsnames.ora fileSID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = D:\oracle\product\10.2.0\db_1) (PROGRAM = extproc) ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) (ADDRESS = (PROTOCOL = TCP)(HOST = test1.akdenizkimya.com.tr)(PORT = 1521)) ) )
Published by: oeren 4 August 2010 23:50AKDENIZ = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = test1.akdenizkimya.com.tr)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = AKDENIZ) ) ) EXTPROC_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) ) (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO) ) ) TEST1 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.8.109)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = AKDENIZ) ) )
Your upgrade is incomplete and the database does not open. (and, of course, if it does not open it will not register with the listener!)
See your upgrade log - generally you should have rolled out of the CATUPGRD. SQL. OR check the .log alert - which would be easier to start with. Check the alert.log to messages about the attempts of starting current and recent since the upgrade and messages at the time of the upgrade.
Hemant K Collette
-
Does not start after decommissioning - ORA-12514
HI -.
I installed 11 GR 2 on RHEL 5.4, creating a database during installation.
After having turned off via SQLPlus (remotely), I found that I cannot start.
Failure of attempts to boot via SQLPlus with: ORA-12514: TNS:listener is not currently of service requested in connect descriptor.
However, I am able to boot via Enterprise Manager.
I have posted similar topics, but can't seem to get the problem resolved.
# listener.ora Network Configuration file: /home/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = s2.srs - 7)(PORT = 1521) .net)
)
)
ADR_BASE_LISTENER = / home/app/oracle
# tnsnames.ora Network Configuration file: /home/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
ELF =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = s2.srs - 7)(PORT = 1521) .net)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = elf.srs - 7 .net)
)
)
tnsping:
tnsping Elf $ [oracle@s2 bin]
AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on March 4, 2010 22:21:56
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Use settings files:
/Home/app/Oracle/product/11.2.0/dbhome_1/network/admin/SQLNET.ora
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = s2.srs - 7)(PORT = 1521) .net) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = elf.srs - 7 .net)))
OK (0 msec)
Stop and Start Listener: (shows "listener supports no services")
lsnrctl stop $ [oracle@s2 bin]
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on March 4, 2010 22:16:18
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
The command completed successfully
lsnrctl start $ [oracle@s2 bin]
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on March 4, 2010 22:16:24
Copyright (c) 1991, 2009, Oracle. All rights reserved.
From /home/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: Please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System settings file is /home/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Log messages written to /home/app/oracle/diag/tnslsnr/server12/listener/alert/log.xml
Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = s2.srs - 7)(PORT=1521) .net))
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Beginning of March 4, 2010 22:16:24
Uptime 0 days 0 h 0 min 0 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /home/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file
The listener log file /home/app/Oracle/diag/tnslsnr/server12/listener/alert/log.XML
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = s2.srs - 7)(PORT=1521) .net))
The listener supports no services
The command completed successfully
My environment
[oracle@s2 bin] $ env
HOSTNAME = S2. SRS - 7 .net
SHELL = / bin/bash
TERM = xterm
HISTSIZE = 1000
TMPDIR = / tmp
KDE_NO_IPV6 = 1
USER = oracle
TEMP = / tmp
LD_LIBRARY_PATH=/home/app/Oracle/product/11.2.0/dbhome_1/lib:/lib:/usr/lib:/usr/local/lib
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31 :* .tgz = 00; 31: * .arj = 00; 31: * .taz = 00; 31: * .lzh = 00; 31: * .zip = 00; 31: * .z = 00; 31: Z = 00; 31: * .gz = 00; 31: * .bz2 = 00; 31: * .bz = 00; 31: * .tz = 00; 31: * .rpm = 00; 31: * .cpio = 00; 31: * .jpg = 00; 35: * .gif = 00; 35: * .bmp = 00; 35: * .xbm = 00; 35: * .xpm = 00; 35: * .png = 00; 35: * .tif = 00; 35:
ORACLE_SID = elf
ORACLE_BASE = / home/app/oracle
KDEDIR = / usr
MAIL = / var/spool/mail/oracle
Path=/home/app/Oracle/product/11.2.0/dbhome_1/bin:/usr/sbin:/usr/Kerberos/bin:/usr/local/bin:/bin:/usr/bin:/Home/Oracle/bin
INPUTRC = / etc/inputrc
PWD=/home/app/Oracle/product/11.2.0/dbhome_1/bin
LANG is en_US. UTF-8
KDE_IS_PRELINKED = 1
ORACLE_TERM = xterm
SSH_ASKPASS = / usr/libexec/openssh/gnome-ssh-askpass
SHLVL = 1
HOME = / home/oracle
LOGNAME = oracle
CLASSPATH=/home/app/Oracle/product/11.2.0/dbhome_1/JRE:/home/app/Oracle/product/11.2.0/dbhome_1/jlib:/home/app/Oracle/product/11.2.0/dbhome_1/RDBMS/jlib
LESSOPEN=|/usr/bin/lesspipe.sh %s
ORACLE_HOME=/home/app/Oracle/product/11.2.0/dbhome_1
G_BROKEN_FILENAMES = 1
_ = / bin/env
OLDPWD=/home/app/Oracle/product/11.2.0/dbhome_1
I tried to add a static entry (below) to my interlocutor, ora file, but no, this does not solve the problem and prevents the start even through EM until the entry is deleted:
ELF =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = s2.srs - 7)(PORT = 1521) .net)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = elf.srs - 7 .net)
)
)
Everything seems to work normally (so far) and I met just this problem.
Any input would be greatly appreciated.
Rosen S.
Published by: ScottRn on March 4, 2010 14:02CUT the lines below then PASTE into a terminal window
env | Sorting
sqlplus
/ as sysdba
startup
outputCUT the results then PASTE all back here
-
ORA-12514: TNS:listener could not resolve service_name
trying to duplicate db on a remote server, the message, I was wondering how I can make work PMCO is on the remote server, if I add this in listener.ora it says no db name race
Oracle: tulpcorpadb03$ rman TARGET sys/***@wcmp AUXILIARY.
Release of Recovery Manager: 9.2.0.8.0 - 64 bit Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00554: initialization of the package manager internal collection failed
RMAN-04005: target database error:
ORA-12514: TNS:listener could not resolve service_name in connect descriptor
Oracle: tulpcorpadb03$ tnsping PMCO
AMT Ping Utility for IBM/AIX RISC System/6000: Version 9.2.0.8.0 - Production on November 5, 2009 11:21:44
Copyright (c) 1997, 2006, Oracle Corporation. All rights reserved.
Use settings files:
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = PWR_DB01-HA)(PORT = 1522)
() (CONNECT_DATA = (SERVICE_NAME = PMCO)))
OK (10 ms)
Oracle: tulpcorpadb03$ sqlplus "sys/***@wcmp as sysdba;
>
Oracle: tulpcorpadb03$ sqlplus "sys/***@wcmp as sysdba;
SQL * more: version 9.2.0.8.0 - Production game 5 11:23:06 Nov 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-12514: TNS:listener could not resolve service_name in connect
descriptor ofConnection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=tulpcorpadb03) (PORT = 1521)))
Summary of services...
Service "PMCO" has 1 instance (s).
Instance "PMCO", LOCKED status, has 1 operation for this service...BLOCKED is a problem & needs to be solved.
local & remote control are meaningless from my point of view terms
using specific host names avoids confusion
Why 1 system uses use of 1522 & one other port 1521?
-
Oracle-xe-universal / debian lenny / ORA-12514
Hello
I have the following situation:
Listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
(= Extproc PROGRAM)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
)
)
tnsnames.ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
lsnrctl services
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on July 6, 2009 00:20:31
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC_FOR_XE)))
Summary of services...
Service 'PLSExtProc' has 1 instance (s).
Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
Managers:
"DEDICATED" set up: 0 denied: 0
LOCAL SERVER
The command completed successfully
tnsping localhost
AMT Ping utility for Linux: Version 10.2.0.1.0 - Production on July 6, 2009 00:20:56
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Use settings files:
Name of HOST adapter used to resolve the alias
Try to contact (DESCRIPTION = (CONNECT_DATA = (SERVICE_NAME =)) (ADDRESS = (PROTOCOL = TCP)(HOST=127.0.0.1) (PORT = 1521)))
OK (0 msec)
tnsping XE
AMT Ping utility for Linux: Version 10.2.0.1.0 - Production on July 6, 2009 00:22:15
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Use settings files:
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
OK (0 msec)
* / etc/hosts *.
127.0.0.1 localhost
10.223.125.167 c2aplathq001
When you try to connect to sqlplus system@XE I get the following error:
SQL * more: Release 10.2.0.1.0 - Production on Mon Jul 6 00:23:21 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter the password:
ERROR:
ORA-12514: TNS:listener is not currently of service requested in connect
descriptor of
Same error after:
sqlplus/nolog
Connect / as sysdba
Listener.log snippet:
July 6, 2009 00:16:35 * (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE) (CID = (= sqlplus PROGRAM) (HOST = c2aplathq001)(USER=oracle))) * (ADDRESS = (PROTOCOL = tcp (PORT = 55719))(HOST=127.0.0.1)) * establish * XE * 12514
AMT-12514: TNS:listener is not currently of service requested in connect descriptor
July 6, 2009 00:20:31 * (CONNECT_DATA = (CID = (PROGRAM =)(HOST=c2aplathq001) (USER = root)) (COMMAND = services (SERVICE = LISTENER))(ARGUMENTS=64) (VERSION = 169869568)) * services * 0
July 6, 2009 00:20:56 * ping * 0
July 6, 2009 00:22:15 * ping * 0
July 6, 2009 00:23:26 * (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE) (CID = (= sqlplus PROGRAM) (HOST = c2aplathq001)(USER=root))) * (ADDRESS = (PROTOCOL = tcp (PORT = 49526))(HOST=127.0.0.1)) * establish * XE * 12514
AMT-12514: TNS:listener is not currently of service requested in connect descriptor
The system is Debian Lenny.
I tried already with the actual host name (c2aplathq001) in tnsnames.ora and listener.ora.
Help would be greatly appreciated :-)
Edit:
Env variables specific to Oracle:
LDPATH="/usr/lib/Oracle/XE/app/Oracle/product/10.2.0/server/lib".
ORACLE_HOME="/usr/lib/Oracle/XE/app/Oracle/product/10.2.0/Server".
ORACLE_SID = 'XE '.
PATH="/usr/lib/Oracle/XE/app/Oracle/product/10.2.0/Server/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin".
TWO_TASK = 'XE '.
Published by: user4568737 on 05.07.2009 15:56Your main problem is your database XE is not registered for the listener, as you can see result "lsnrctl services."
First to confirm that your database is running, follow these steps
$ unset TWO_TASK $ sqlplus / as sysdba
result?
BTW, what is the reason for TWO_TASK layout? It's a connection string and OS authentication does not work when it is defined.
In addition, what is your host name?
$ hostname
Maybe you are looking for
-
What is suhelperd and why it takes CPU %
My battery has been falling quickly lately so I did some research to figure out why. Suhelperd contains the highest percentage of my CPU to approximately 98.7 (compared to safari which is 3.0). What is - this, and it's something that I can get rid of
-
Envy dv7: Flexible connection
I would like to know what is the connection to the flexible cable on the keyboard I am referring to the connection located on the motherboard.
-
How do I get a refund for a charge double?
I didn't know where to post this, but I bought some currency in the game on an injustice called game on my iPhone 5 s. I was billed twice for the latter and was missing a refund for duplicate charges. Everytime I try and press 'report a problem' on r
-
Can someone help me find the driver download, microsoft just says it can't find it, it may be obsulete, but M/Board is 2005, I know it's IBM, lenovo, and try talking to them is like talking to a brick wall, really do with help, im a beginner so don't
-
Windows Defender who need more information about certain files?
Hello - I just receive a windows defender popup after a game of Battlefield 2, requesting more information about 2 files that are used by punkbuster - w resident c:\windows\system32\drivers\pnkbstrk.sys in the folder system32\drivers and pnkbstrb.exe