ORA-12514 when trying to connect to the database using SERVICE

Hi,
Version 10204
In a single instance database i would like to create new SERVICEs in order to use them later with Resource Manager.
The instance name is DWH.
I run the following commands:
I added to the tnsnames.ora file the following input:
XYZ =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XYZ)
As SYSDBA i execute:
> exec DBMS_SERVICE.CREATE_SERVICE('xyz','xyz');
PL/SQL procedure successfully completed.
> exec DBMS_SERVICE.START_SERVICE('xyz');
PL/SQL procedure successfully completed.
But when i tried to connect to the instance:
sqlplus ac/ac@xyzSQL*Plus: Release 10.2.0.4.0 - Production on Sat Nov 1 14:44:43 2008
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
When i am trying to connect , not via the service , its successed:
sqlplus ac/ac@dwh
SQL*Plus: Release 10.2.0.4.0 - Production on Sat Nov 1 14:45:07 2008
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Could you please help to understand why its failed to connect via SERVICE ?
Thanks

You told us.
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
I ask some questions, you set alias for listener port (no default) + local_listener parameter, don't you?
If you did....
Please check by .....
lsnrctl status
lsnrctl service
Let me show my example:
About 1522 (no default port)
SQL> show parameter local_listener
NAME TYPE VALUE
local_listener string ALIASLISTENER
- check tnsnames.ora file in the same location listener.ora file.
$ cat tnsnames.ora
ALIASLISTENER=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost )(PORT = 1522))
- About create new service
SQL> show parameter service_names
NAME TYPE VALUE
service_names string db
SQL> exec DBMS_SERVICE.CREATE_SERVICE('xyz','xyz');
PL/SQL procedure successfully completed.
SQL> exec DBMS_SERVICE.START_SERVICE('xyz');
PL/SQL procedure successfully completed.
SQL> show parameter service_names
NAME TYPE VALUE
service_names string xyz
$ lsnrctl status
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 02-NOV-2008 03:29:21
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1522)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
Start Date 02-NOV-2008 03:28:45
Uptime 0 days 0 hr. 0 min. 36 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File ORACLE_HOME/network/admin/listener.ora
Listener Log File ORACLE_HOME/log/diag/tnslsnr/hostname/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=1522)))
Services Summary...
Service "db" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Service "db2XDB" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Service "db_XPT" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Service "xyz" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
$ lsnrctl service
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 02-NOV-2008 03:29:40
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1522)))
Services Summary...
Service "db" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "db2XDB" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:972 state:ready
DISPATCHER <machine: hostname, pid: 30200>
(ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=45572))
Service "db_XPT" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "xyz" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully

Similar Messages

  • ORA-12514 when trying to connect as sysdba

    Hello All,
    I am using ORACLE 10g R2
    when trying to connect to SQLPUS in order to startup a database using the below commands :
    set ORACLE_SID=dbname
    C:\>sqlplus /nolog
    SQL*Plus: Release 10.2.0.4.0 - Production on Tue Nov 3 10:50:13 2009
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    SQL> connect sys/password@dbname as sysdba
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    I am facing the ORA -12514
    Please advise how to solve it
    Regards,

    Hello,
    My database is defined in the tnsnames and below is the status of the listener, you can see that the "The listener supports no services"
    is it related to the problem, How can i force the listener to support my service?
    LSNRCTL> status
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Produ
    ction
    Start Date 03-NOV-2009 10:49:34
    Uptime 0 days 1 hr. 5 min. 21 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File C:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=-----)(P
    ORT=1521)))
    The listener supports no services
    The command completed successfully

  • ORA-03113 when trying to connect to database

    RDBMS Version:: 9.2.0.6
    Operating System and Version:: Win2003 Small Business Server
    Error Number (if applicable):: ORA-03113
    Server Net Version:: 9.2.0.6
    Client Operating System and Version:: Solaris10
    Client Net Version:: 2.1.3
    ORA-03113 when trying to connect to database
    I've currently a 7.1.3 client on SUN Solaris (5.10 Generic_118844-26 i86pc i386 i86pc) where I want to connect to the 9.2.0.6 database on a Win2003 Server hardware.
    When i try to connect via SQL*Plus (Release 3.1.3.4.1), I get ORA-03113. Looking into the listener resp. alertfile on the server, I can see that the connectiorequest is recognized, but immediately answered by an ORA-0600, producing also trc-files.
    listener: 25-MAI-2007 09:37:23 * (CONNECT_DATA=(SID=HTASQL)(CID=(PROGRAM=)(HOST=eklvpa)(USER=sat250))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.17.233.3)(PORT=32790)) * establish * HTASQL * 0
    alert: ORA-00600: internal error code, arguments: [12333], [26], [0], [115], [], [], [], []
    Activating traces on the client-side showed the following errors:
    -<ERROR>- ntus2err: sd=8, op=1, resnt[0]=511, resnt[1]=2, resnt[2]=0
    -<ERROR>- nserror: nsres: id=0, op=65, ns=12541, ns2=12560; nt[0]=511, nt[1]=2, nt[2]=0
    -<ERROR>- nsopen: unable to open transport
    -<ERROR>- nsprecv: transport read error
    -<ERROR>- nserror: nsres: id=0, op=68, ns=12537, ns2=12560; nt[0]=507, nt[1]=0, nt[2]=0
    -<ERROR>- osnqrc: wanted 1 got 0, type 0
    -<ERROR>- osnqper: error from osnqrc
    -<ERROR>- osnqper: nr err code: 0
    -<ERROR>- osnqper: ns main err code: 12537
    -<ERROR>- osnqper: ns (2) err code: 12560
    -<ERROR>- osnqper: nt main err code: 507
    -<ERROR>- osnqper: nt (2) err code: 0
    -<ERROR>- osnqper: nt OS err code: 0
    -<ERROR>- osnqsm: send-break: failed to send OOB break...
    -<ERROR>- osnqper: error from send-marker
    -<ERROR>- osnqper: nr err code: 0
    -<ERROR>- osnqper: ns main err code: 12583
    -<ERROR>- osnqper: ns (2) err code: 0
    -<ERROR>- osnqper: nt main err code: 0
    -<ERROR>- osnqper: nt (2) err code: 0
    -<ERROR>- osnqper: nt OS err code: 0
    -<ERROR>- osnqbr: returning 3113
    Can anybody help me in determining the problem ? Is there a systemtic incompatibility in connecting a 7.1.3 client to a 9.2 (or even higher) database ?

    Thanks for your reply.
    But the funny thing on this compatibility issues is, that this configuration worked before. The only thing we did, was to setup the client-PC on a new hardware with also a new operating system (upgrading from Solaris 5.8 to 5.10). And from that time we encountered this problem.
    Are there any OS-related problems known or better to say: is (was) ORACLE 7.1.3 supported on Solaris 5.10 ? Should we look for any patches which might help us ?

  • My ipad will no longer connect to the laptop. it comes up with usb not recognized. also when trying to connect to the power the first time i connect, nothing, but when i unplug from ipad and plug in a second time it charges

    my ipad will no longer connect to the laptop. it comes up with usb not recognized. also when trying to connect to the power the first time i connect, nothing, but when i unplug from ipad and plug in a second time it charges

    yeah tried all that. the only thing that i havent tried is to delete itunes completely and restart. its the same with the ipad. i havent done a master reset. i just think it has to be something rather simple as it acknowledges that i have plugged in the ipad as it makes the noise it just come up usb not recognized. it shows up as an unknown device that doestn have  any drivers
    its driving me round the bend at the minute

  • When trying to connect to the itunes store on my MacBook Pro, I get the following error message: "iTunes could not connect to the iTunes Store.  An unknown error occurred (-54) Make sure your network connection is active and try again."

    When trying to connect to the itunes store on my MacBook Pro, I get the following error message: "iTunes could not connect to the iTunes Store.  An unknown error occurred (-54) Make sure your network connection is active and try again."

    I've had the same problem for a month and yet I still cant get iTunes to work, I've heard different solutions but none have worked for me
    This may or may not work for you but its worth a try even though it didnt seem to work for me, Good Luck!
    Control Panel
    Internet Options
    Connections Tab
    Click LAN Settings
    Uncheck "Use A Proxy Server"

  • I keep getting an unknown error when trying to connect to the store. I ran diagnostics and it says secure link to itunes store failed.

    I keep getting an unknown error when trying to connect to the store. I ran diagnostics and it says secure link to itunes store failed. I've tried all suggestions from apple and nothing will work.
    Please Help

    I received this email from Apple and this corrected the problem for me...  I only had to reset the iTunes cache
    1) Open iTunes
    2) At the top menu, click File > Preferences (iTunes > Preferences on a Mac)
    3) In the Preferences menu, click the Advanced tab
    4) In the Advanced menu, you should see a button that says "Reset Cache". Please click this button.

  • Getting Error when trying to connect to the Primavera database. PPM V7 SP3

    Hi Guys,
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mailService' defined in class path resource [com/primavera/bre//com/primavera/bre/integration/intgconf.xml]: Invalid destruction signature; nested exception is org.springframework.beans.factory.support.BeanDefinitionValidationException: Couldn't find a destroy method named 'destroy' on bean with name 'mailService'
    I have looked into the intgserver.jar under P6IntegrationAPI/lib and looked the com.primavera.infr.srvcs.MailServiceImpl.java and can see that there is no destroy method whereas it is defined in the com.primavera.bre.intergration.intgconf.xml as below
    <!-- provides mail services -->
    <bean id="mailService" class="com.primavera.infr.srvcs.MailServiceImpl" init-method="init" scope="singleton" destroy-method="destroy"*+>
    <property name="adminManager"><ref bean="adminManager"/></property>
    <property name="threadPool"><ref bean="threadPool"/></property>
    <property name="settingsManager"><ref bean="settingsManager"/></property>
    </bean>
    I get the above error when trying to connect to the Primavera database. I use PPMV7 SP3 and I have installed the Integration API from EPPMV7 bundle.
    My demo's are working fine.
    Any help would be appreciated.
    Thanks,
    Kajal.

    Hi Marc,
    I am using a userid (is an admin)
    Using global login method and provided userid & password in integration settings.
    In the machine profiles, provided userid, password and domin.
    Not providing domain in weblogin.
    With all the above I am still getting error "Could not authenticate the specified user. %0" for HFM application
    And with the same settings I am not getting any error to connect to essbase cube.
    Any suggestions?
    Thanks
    Krishna

  • TS1368 getting the error 0x80092013 when trying to connect to the store to buy music

    getting the error 0x80092013 when trying to connect to the store to buy music

    I can't dial:  (Get 'call denied' message)
    [email protected]
    [email protected]
    [email protected]
    Is there a way to know this is being addressed?  How would one start a support case on this subscription service?
    Although I subscribe for service for my SX20's and Bridge, my jabber video account is a free account.
    Update: At 1pm CT I am able to dial and connect.

  • TS3297 My itunes constantly keeps spooling when trying to connect to the store. Obviously my internet is working fine, as I'm googling ways to fix?

    Hi, I've purchased a new iPod Nano, and have downloaded the newest iTunes but when trying to connect to the store, it keeps spooling on "Accessing iTunes Store".  In case this was an 'update' issue, I then downloaded and older version, but I have the same issue.  My internet is working fine, firewall is set to allow itunes, I've changed the parental control, but nothing is letting me get to the store?

    I got this error after upgrading to new version. After searching these pages for an answer and not finding a usable one, I simply quit and re-opened iTunes, and... voila! Problem solved!

  • 'Vintage' MacBook has lost all wifi connection suddenly and stored settings. I've tried to manually input my IP address and DNS number but it just times out when trying to connect to the network can anyone help?

    'Vintage' MacBook has lost all wifi connection suddenly and stored settings. I've tried to manually input my IP address and DNS number but it just times out when trying to connect to the network can anyone help?

    You said:
    We still couldn't get it to stop timing out. I tried to download the firmware from iClarified but iTunes said it didn't recognise the software.
    Just what did yo do to gt iTunes to see the download:

  • How can I connect to the database using ODBC within excel.

    Hi,
    How can I connect to the database using ODBC within excel and just refresh the data when needed.
    Thanks,
    Priyanka
    Edited by: user554934 on Jun 9, 2009 2:53 AM

    This is NOT an APEX relevant question, try posting it in the SQL/PL/SQL Forum..
    Thank you,
    Tony Miller
    Webster, TX

  • ORA-12705 when trying to connect to database

    I am trying to install SQL Developer on a user PC in my company, but when the user tries to connect to a database he gets the following error message:
    An error was encountered performing the requested operation:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: Cannot access NLS data files or invalid environment specified
    0604. 00000 - "error occurred at recursive SQL level %s"
    *Cause:  An error occurred while processing a recursive SQL statement
    (a statement applying to internal dictionary tables).
    *Action:  If situation described in the next error on the stack
    can be corrected, do so; otherwise contact Oracle Support.
    Vendor code 604
    I have tried searching this forum and the rest of the web for this error, and I have tried all the tips that I have found, but nothing seems to work for me, I get the same error message every time. Most of the tips have been centered around the NLS_LANG parameter. Does anybody have a suggestion?

    I have already seen this document and tried it out, but it didn't work. And I have tried out numerous other tips that I have found in different places on the web.
    Is the client installation of any relevance? I notice that this user has a different installation from the one that I have, and that he amongst other things doesn't have sql plus installed.

  • Error ORA-12537 when trying to connect

    I'm getting an 'ORA-12537 TNS:connection closed' error when connecting to the database (8.1.7 on Win2k). The problem persists even after restarting both, listener and database-service. I cannot even connect as SYSDBA. How can i solve this problem?

    Seems like it may be a problem with Oracle on Windows and Firewalls. Check that your firewall software/hardware is able to proccess SQL*NET requests.
    Try to open all the ports based on IP address and see if that works.

  • Connect to the Database using TOAD

    Hi
    I've installed 11.5.10.2 on and using DB 9.2.0.6.0 on Redhat 4 everything works ok.
    but when i try to connect to TOAD i get this error ORA-12537 TNS:connection closed.
    do i have to do any setup's?
    please help.
    Thanks

    You need to register your host through OAM or disable the SQLNet restriction so that you can connect to the database. Check the following note for more details:
    Note: 291897.1 - 11.5.10 New Features : Managed SQL*Net Access from Hosts
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=291897.1

  • How can I connect to the database using the Oracle Remote Diagnostic Agent?

    Now I try to study RDA on Windows XP platform,when I run 'rda.cmd',there is a question 'Enter password for 'SYSTEM@'',what is the answer?
    Because I didn't know how to connect to database,there are many error messages - RDA-00510: SQL execution disabled,What can I do?

    Metalink Note:314422.1 to start
    It is asking you to tell how to connect to 'the database that you are investigating' over a network. The answer .... the password for the userid called 'system' in the database specified after the @
    I am confused ... you do not know how to connect to your database?

Maybe you are looking for

  • Caller ID not working in Mexico

    Hi all. I have read a lot of documents and applied configuration changes to the voice-ports in my UC-520 but until now I can not get to work the incoming Caller ID function; I think it is a matter of matching parameters with my telephony company: Tel

  • Cant figure out whats wrong with my applet, help pls??

    this applet checks a string against one in a database then if passwords match, a new url is opened. the applet loads in webpage with no problems. it just doesnt seem to work. have granted full access to code base in policy file. heres the code: impor

  • Can you open a word document in pages 08

    Quick question however stupid it is can you open a word document from a pc in pages 08? sorry in advance if i have posted this in the wrong discussion area cheers Message was edited by: Lama323

  • ICal generating recurring conflicts until iPod is full

    I followed the instructions pasted below and it fixed my "disappearing October" problem; however, every time I open iCal now, it presents me with hundreds of conflicts and I have resolved them so many times I almost know them by heart. Even after I r

  • Transformer serialize problem

    Hello I have a Java application which has a little method to serialize a javax.xml.transform.Transformer into a byte[]. Here is the method: Object obj = transformer;  ByteArrayOutputStream bos = new ByteArrayOutputStream() ;  ObjectOutput out = new O