Err ORA 12154

It seems very strange, I successfully installed Oracle8i on server and client.
sqlplus and tnsping run normally.
But there is some problem concerning configure Net8:
The test runs successfully when I configure "local Net Service Name configure"
, I mean "add".
The test fails when I have already configured
the "local Net Service Name configure" and want to test configuration again, it says:Connecting_error,while trying to retrieve text for error: ORA 12154....
I have tryed several times, but failed again
and again.

Hello Prakash,
I am also getting the same error when i am trying to connect to
the remote database from my local machine. Could you please let
me know where to execute the "tnsping" command. Is it on the
sqlplus prompt or on the client side command prompt

Similar Messages

  • MSDAORA,IIS,ORA-12154: TNS:could not resolve service name

    Hi All,
    I have a Web Service that coded in VS2008, using ORACLE DB(9i).
    At a time the application working fine and I can access and do everything with database.
    Some other time database server is down for scheduled maintenance. If I try to run the application at this point of time it will raise err "ORA-12154: TNS:could not resolve service name".
    When i reset iis it start to work fine for a while.Then same problem occurs again.
    My connection string is connectionString="provider=MSDAORA.1;data source=***;user id=***;password=***;"
    is there any solution?
    i tried that;
    If theire is multiple copies of OCIW32.dll you have to make sure that there is only one copy of OCIW32.dll which should be in /Bin folder of the oracle home folder.
    Add the IUSR_machine name account and the IWAM_machine name account to the Oracle home folder. Give both accounts full control.
    Create empty file tnsnames.ora in same directory as aspnet_wp.exe,

    Hi,
    The issue doesnt make much sense on the surface at least. 12154 means the client couldnt figure out what you were referring to with your Data Source= entry. If the database was taken down, I'd expect an "oracle not available" or some other sort of error, as the client should have still be able to resolve the entry at least, even if the database wasnt up at the time.
    What do you mean by "When i reset iis it start to work fine for a while.Then same problem occurs again."? The same problem meaning you get 12154 when you take the database down? Or you get 12154 without a db restart?
    Are you using TNSNames.ora for client naming resolution, or something else (ldap, for example)?
    Greg

  • Frmcmp_batch.sh ORA-12154: TNS:could not resolve the connect identifier spe

    Hi
    [applerpp@solocupmx admin]$ frmcmp_batch.sh module=/data/erpp/R12.1.3/apps/apps_st/appl/au/12.0.0/resource/WIPMVAPI.pll userid=apps/apps output_file=/data/erpp/R12.1.3/apps/apps_st/appl/au/12.0.0/resource/WIPMVAPI.plx module_type=library compile_all=special
    Forms 10.1 (Form Compiler) Version 10.1.2.3.0 (Production)
    Forms 10.1 (Form Compiler): Release - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    PL/SQL Version 10.1.0.5.0 (Production)
    Oracle Procedure Builder V10.1.2.3.0 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE 10.1.0.5.0 Production
    ORA-12154: TNS:could not resolve the connect identifier specified
    Regards,
    Guido

    Hi,
    With the adadmin I can see this error:
    /data/erpp/R12.1.3/apps/tech_st/10.1.2/bin/frmcmp_batch module=/data/erpp/R12.1.3/apps/apps_st/appl/au/12.0.0/resource/CSDMASSN.pll userid=APPS/***** output_file=/data/erpp/R12.1.3/apps/apps_st/appl/au/12.0.0/resource/CSDMASSN.plx module_type=library batch=yes compile_all=special
    ERROR generating library "resource/CSDMASSN.plx" from input file
    /data/erpp/R12.1.3/apps/apps_st/appl/au/12.0.0/resource/CSDMASSN.pll
    Results of library generation:
    (from file /data/erpp/R12.1.3/apps/apps_st/appl/au/12.0.0/resource/CSDMASSN.err
    AD Worker has deleted the original .err file)
    FRM-30312: Failed to compile the library.
    Generated 0 files successfully.
    Generated 0 files with non-fatal warnings.
    Generated 1 files with fatal errors.
    adfrmgen is exiting with status 1
    But manually I don't have problrems
    /data/erpp/R12.1.3/apps/tech_st/10.1.2/bin/frmcmp_batch module=/data/erpp/R12.1.3/apps/apps_st/appl/au/12.0.0/resource/CSDMASSN.pll userid=apps/apps output_file=/data/erpp/R12.1.3/apps/apps_st/appl/au/12.0.0/resource/CSDMASSN.plx module_type=library compile_all=special
    Compiling Package Body VERSION_CONTROL......
    Compiling Procedure Body SN_CAPTURE_ITEM_EVENT......
    Compiling Procedure Body SN_CAPTURE_EVENT......
    Compiling Procedure Body CONTROL_SN_CAPTURE_ITEM_EVENT......
    Done.
    Why, What Do you think?
    Regards,
    Guido

  • Error while trying to retrieve text for error ORA-12154

    Hello,
    I try to install php 5.1.2 on a WIN2003 server and IIS6 with the OCi8 extension without success from several days.
    On my server I've a 920 oracle client and the 10.1 instant client, I copy the tnsnames.ora in the instant client's directory.
    I've declare many environnement variables :
    - NLS_LANG : AMERICAN_AMERICA.WE8MSWIN1252
    - TNS_ADMIN : E:\...\oracle\instantclient_10_1
    - ORA_NLS33 : E:\..\oracle\920\ocommon\nls\ADMIN\DATA
    With the php command line the oci_connect function correctly works : the php command line use the instant client's tnsnames.ora. I can query with success my database.
    When I try to load a web php script (the same as the php command line script) I have the following error " Error while trying to retrieve text for error ORA-12154" ( oci_connect( $user , $pass, $sid ) . The $sid variable have the value of an alias declared in the tnsnames.ora.
    If I replace the sid's alias by something like this " (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xx.xx.xx.xx)(PORT=1521)))(CONNECT_DATA=(SID=xx)" in the oci_connect function, I have another error : Error while trying to retrieve text for error ORA-12705.
    A web page with the phpinfo function displays the following messages about oci8 extension : It seems to be correct.
    oci8
    OCI8 Support enabled
    Revision $Revision: 1.269.2.8 $
    Active Persistent Connections 0
    Active Connections 0
    Temporary Lob support enabled
    Collections support enabled
    Do you have any idea ? Thanks a lot

    The web server is not seeing the Oracle environment correctly. You need to set PATH to the instant client libraries. ORA_NLS33 is not used for Oracle 10g clients. Perhaps you have some library conflict with two versions of Oracle on the machine?
    These may help:
    http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#envvars
    http://blogs.oracle.com/opal/2006/05/01

  • DNS Set Up system throw as ORA-12154; TNS :could not resolve the connect id

    Hi,
    While i'm creating DNS set up system throws below message
    unable to connect
    SQLState=08004
    DNS Set Up for instantclient(win32-10.2.0.4) system throw as ORA-12154; TNS :could not resolve the connect identified specified.
    operationg system:xp
    dir path:C:\Oracle\instantclient10_2
    TNSNAMES.ORA(C:\Oracle\instantclient10_2\NetWork\ADMIN) Contants
    YourTNSName =sankar
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost)(PORT =1521))
    (CONNECT_DATA =
    (SID =sankar)
    (SERVER = DEDICATED)
    dir contains:
    sqresus.dll,
    sqresja.dll
    sqoras32.dll
    sqora32.dll
    oraociei10.dll
    oraocci10.dll
    orannzsbb10.dll
    ojdbc14.jar
    ocijdbc10.dll
    ociw32.dll
    oci.dll
    classes12.jar

    user7197586 wrote:
    Hi
    I have been created one DBLink it's created but when i am trying to access the data through the link it's raise error as
    "ORA-12154: TNS:could not resolve the connect identifier specified"
    CREATE
    PUBLIC DATABASE LINK
    Vrd_tcplink
    CONNECT TO
    "SAPVRD"
    IDENTIFIED BY
    "manager123"
    USING
    'VRD_TCP.WORLD'
    created this above dblink
    Kindly Suggest to wau out.
    Regards,
    Sachin
    When using a dblink, the database with the link is acting as a client to the remote database ... exactly like sqlplus running on the db server.
    read: http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/ ora-12154tns-03505

  • ORA-12154 when using Database Link

    We're running 11r2 on our servers. I have a primary db and a standby db, using Data Guard. The standby is open for read-only querying. We are not using ASM.
    The primary (and thus the standby) have a PUBLIC database link to a third db server.
    When I run a query against the database link on the primary: select * from test@MyDBlink; Everything works fine.
    When I run the same query against the database link on the standby: select * from test@MyDBlink; I get ORA-12154: TNS:could not resolve the connect identifier.
    I check that the db link exists on the standby. It does.
    I go to command prompt on the standby and run "tnsping MyDBlink". It executes fine. It says "Used TNSNAMES adapater to resolve the alias" and sure enough, MyDBlink is referenced in the TNSNAMES.ORA.
    I also run "tnsping IP-of-MyDBlink" to doublecheck. No issues.
    What is going on that is blocking the db link on the standby? Many reports utilize that standby and I'd hate to deny them the functionality of a db link.
    Thanks

    893968 wrote:
    We're running 11r2 on our servers. I have a primary db and a standby db, using Data Guard. The standby is open for read-only querying. We are not using ASM.
    The primary (and thus the standby) have a PUBLIC database link to a third db server.
    When I run a query against the database link on the primary: select * from test@MyDBlink; Everything works fine.
    When I run the same query against the database link on the standby: select * from test@MyDBlink; I get ORA-12154: TNS:could not resolve the connect identifier.
    I check that the db link exists on the standby. It does.
    I go to command prompt on the standby and run "tnsping MyDBlink". It executes fine. It says "Used TNSNAMES adapater to resolve the alias" and sure enough, MyDBlink is referenced in the TNSNAMES.ORA.
    I also run "tnsping IP-of-MyDBlink" to doublecheck. No issues.
    What is going on that is blocking the db link on the standby? Many reports utilize that standby and I'd hate to deny them the functionality of a db link.
    ThanksMost people with this problem don't understand that the dblink is just another client, no different than sqplus running on the same machine - and therefore the link uses the tnsames in the ORACLE_HOME of the database containing the link. But it seems from the steps you've described that you've grasped that. The only thing I can think of off the top of my head is when you try sqlplus from the standby server you are hitting a different tnsnames than the one the database is using.

  • Sql@loader-704  and ORA-12154: error messages when trying to load data with SQL Loader

    I have a data base with two tables that is used by Apex 4.2. One table has 800,000 records . The other has 7 million records
    The client recently upgraded from Apex 3.2 to Apex 4.2 . We exported/imported the data to the new location with no problems
    The source of the data is an old mainframe system; I needed to make changes to the source data and then load the tables.
    The first time I loaded the data i did it from a command line with SQL loader
    Now when I try to load the data I get this message:
    sql@loader-704 Internal error: ulconnect OCISERVERATTACH
    ORA-12154: tns:could not resolve the connect identifier specified
    I've searched for postings on these error message and they all seem to say that SQL Ldr can't find my TNSNAMES file.
    I am able to  connect and load data with SQL Developer; so SQL developer is able to find the TNSNAMES file
    However SQL Developer will not let me load a file this big
    I have also tried to load the file within Apex  (SQL Workshop/ Utilities) but again, the file is too big.
    So it seems like SQL Loader is the only option
    I did find one post online that said to set an environment variable with the path to the TNSNAMES file, but that didn't work..
    Not sure what else to try or where to look
    thanks

    Hi,
    You must have more than one tnsnames file or multiple installations of oracle. What i suggest you do (as I'm sure will be mentioned in ed's link that you were already pointed at) is the following (* i assume you are on windows?)
    open a command prompt
    set TNS_ADMIN=PATH_TO_DIRECTOT_THAT_CONTAINS_CORRECT_TNSNAMES_FILE (i.e. something like set TNS_ADMIN=c:\oracle\network\admin)
    This will tell oracle use the config files you find here and no others
    then try sqlldr user/pass@db (in the same dos window)
    see if that connects and let us know.
    Cheers,
    Harry
    http://dbaharrison.blogspot.com

  • ORA-12154 while installing Oracle 10g on windows 7

    Hi,
    I am trying to install Oracle 10g express edition on my machine (core 2 duo 2.93) running on Windows 7.
    The installation moves on perfectly for the 1st step and while running the 2nd step (Net configuration Assistant), it gives the ORA-12154 error.
    The contents of my configuration files at this point are as follows:
    Listener.ora
    =============
    SID_LIST_ORCL =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = ORCL)
    (ORACLE_HOME = F:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    ORCL =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    =============
    And that of tnsnames.ora is:
    =============
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    =============
    After some googling around, I have found and installed the Microsoft Loopback adapter too (since my LAN is DHCP enabled) and also tried to turn on the firewall on my machine to check if it is not a problem with the port 1521 being blocked by the firewall.
    However, even after all that I still get the error "ORA-12154: TNS:could not resolve the connect identifier specified." while running the Net configuration Assistant and/or running SQL Plus to connect to the SID - ORCL.
    I can only see one service running in my services by the name : OracleOraDb10g_home1TNSListenerORCL
    Any suggestions or advice on the error would be much welcome.
    Is it anything related to Windows 7 ? Because I have managed to install using the same installer on another machine which runs Windows XP and everything seems fine there.
    Thanking you all in anticipation.
    Shreyas

    user12753151 wrote:
    Hmmm.. but then I'd have expected some installation error. I have read around that people have managed to install oracle on windows 7.
    The error displayed seems to be indicating that there is some configuration or permissions issue.Check that the user has permission to write in the ORACLE_HOME\network\admin - UAC might be blocking that.
    Install with software only, and run netca & dbca separately to create the database after the s/w install. (That's the way it is done in production anyway, so get used to it.)
    But yes - you still may have problems. Those who did fake it out on Windows 7 usually understand what to do. If you are smart enough to actually do it, my hat is off to you.

  • While logging I am getting error ORA-12154:

    I am getting this error, while logging.
    ERROR:
    ORA-12154: TNS:could not resolve service namePls Wat I need to do,

    hi coolguy,
    my sqlnet.ora file is
    # SQLNET.ORA Network Configuration File: C:\oracle\ora92\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)and my tnsnames.ora file is
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora92\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EXTPROC_CONNECTION_DATA.ASTSERVER40.COM =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    SANDB.ASTSERVER40.COM =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = ast16)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = sandb)
    INST1_HTTP.ASTSERVER40.COM =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = ast16)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = SHARED)
          (SERVICE_NAME = MODOSE)
          (PRESENTATION = http://HRService)
      )and my computer name:
    Full computer name:  ast16.astserver40.com
    Domain                  :  astserver40.comand I tested in command prompt, with tnsping which is mentioned you I am getting this error
    C:\>tnsping sandb
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 21-NOV-20
    07 11:20:22
    Copyright (c) 1997 Oracle Corporation.  All rights reserved.
    Used parameter files:
    C:\oracle\ora92\network\admin\sqlnet.ora
    TNS-03505: Failed to resolve namewhere's the problem....
    Message was edited by:
    user594309

  • Error while trying to retrieve text for errror ORA-12154

    Hi,
    I have an Oracle8 database installed and able to connect it from my Desktop running Windows 2000 Server.
    I have setup my PL/SQL developer ver 6 on my laptop running Windows XP Pro SP2 and the oracle client with Net8 service setup. Able to logon via sqlplus command.
    However, when i run the PL/SQL program and enter the logon info, it couldn't connect and prompt me this error.
    Thanks for your help in advance.
    Warmest regards,
    Tony Ang
    Singapore
    MSN: [email protected]

    Tony,
    Can you please post the error details that you are getting while connecting from PL/SQL developer.
    The error ORA-12154 is generaly TNS:could not resolve service name .
    Also perfrom these steps
    1)Verify that a tnsnames.ora file exists.
    2)Verify that there are not multiple copies of the tnsnames.ora file.
    3)In the tnsnames.ora file, verify that the net service name specified in your connect string is mapped to a connect descriptor.
    4)Verify that there are no duplicate copies of the sqlnet.ora file.
    5)If you are using domain names, verify that your sqlnet.ora file contains a NAMES.DEFAULT_DOMAIN parameter. If this parameter does not exist, you must specify the domain name in your connect string.
    6)If you are not using domain names, and this parameter exists, delete it or disable it by commenting it out.
    7)If you are connecting from a login dialog box, verify that you are not placing an "@" symbol before your connect net service name.
    Hope this helps.
    Thanks
    Rajeev

  • A question about CREATE PUBLIC DATABASE LINK and ORA-12154 error

    Dear all,
    I have a problem about public database link creation and I would appreciate if you could kindly give me a hand. I have the following connection parameters in my
    tnsnames.ora file:
    DGPAPROD.WORLD =
         (DESCRIPTION =
           (ADDRESS_LIST =
            (ADDRESS = (COMMUNITY=tcp.world)
              (PROTOCOL=TCP)(HOST=ORASR001)(PORT=1521)
           (CONNECT_DATA = (SID = DGPAPROD))
    ...Having the above mentioned parameters I can connect to this remote database directly in a SQL*Plus shell:
    $ sqlplus username/[email protected] works pretty well and the connection is established without any problem.
    Now, what I would like to do is to create a public database link to this remote database in order to avoid the user/connection switching for viewing the
    content of this database. I proceeded according to the syntax indicated in the Oracle online documentation:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_5005.htm#SQLRF01205
    Therefore I run the following in order to create a public database link
    CREATE PUBLIC DATABASE LINK SR001_dblink CONNECT TO user IDENTIFIED BY password USING 'DGPAPROD.WORLD';Apparently there is no error and the link is created successfully. However it cannot resolve the remote host and whenever I run the following query
    (myenterprise is the name of a table in that remote database)
    SELECT *
    FROM myenterprise@SR001_dblink
    ERROR at line 1:
    ORA-12154: TNS:could not resolve the connect identifier specifiedWhat causes this problem?
    Thanks in advance,
    Kind Regards,
    Dariyoosh

    spajdy wrote:
    You must have defined DGPAPROD.WORLD in tnsnames.oar on server where you DB is runnig.Hello there,
    Thanks a lot for this nice solution. In fact I had to add the connection parameters into the tnsnames.ora file of the server on which the link was created (not the tnsnames.ora of my oracle client stored on the localhost)
    After a bit googling I found another solution that allows to create the database link:
    CREATE PUBLIC DATABASE LINK SR001_dblink CONNECT TO user IDENTIFIED BY password USING '(DESCRIPTION =  (ADDRESS_LIST =  (ADDRESS = (COMMUNITY=tcp.world)
    (PROTOCOL=TCP)(HOST=ip_adresse)(PORT=1521)))(CONNECT_DATA = (SID = GPAPROD)))';Thanks a lot for your help!
    Kind Regards,
    Dariyoosh
    Edited by: dariyoosh on 18 nov. 2009 07:15

  • Ora-12154 after creation of second database

    DB 10g ver 10.1.0.2.0
    OS Windows server 2003 32bit +sp1
    Summary:
    Due to the addition of extra storage to the server I decided to rebuild from scratch, and all was working correctly until I came to create a second database on the server, once this is created I get ORA-12154 errors at logon for both databases.
    Full:
    Installation of Windows and Oracle are fine, creation of the first database also works correctly and connection is without problems e.g sqlplus user/pass@database1 allows me to logon.
    On creation of the second database the same command: sqlplus user/pass@database1 or sqlplus user/pass@database2 gives me an ORA-12154 error.
    If in the command prompt window I set ORACLE_SID=database1 then try sqlplus user/pass it connects without problems, the same for database2, although sqlplus user/pass@database1 still fails.
    I have checked tnsnames.ora, all looks fine, I used the net configuration assistant to generate the entries and used the connection test to verfiy all was ok, both connection tests worked fine.
    I can tnsping both database1 and database2 and lsnrctl status shows
    Service "database1" has 1 instance(s).
    Instance "database1", status READY, has 1 handler(s) for this service...
    Service "database1XDB" has 1 instance(s).
    Instance "database1", status READY, has 1 handler(s) for this service...
    Service "database2" has 1 instance(s).
    Instance "database2", status READY, has 1 handler(s) for this service...
    Service "database2XDB" has 1 instance(s).
    Instance "database2", status READY, has 1 handler(s) for this service...
    I have searched through back posts and the web and as yet have not been able to find how to resolve this. Any pointers or ideas as to why I cannot use the sqlplus user/pass@database to connect?
    TIA
    Will
    .

    Hi,
    Thanks for the quick reply, I created the listener using the net configuration assistant, I assumed this would add all necessary configuration entries?
    I have added an extra section as suggested to the listener.ora, it now reads
    # listener.ora Network Configuration File: c:\oracle\product\10.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
         (GLOBAL_DBNAME = dm)
         (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
         (SID_NAME = dm)
        (SID_DESC =
         (GLOBAL_DBNAME = medline)
         (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
         (SID_NAME = medline)
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = well-mccarthy02)(PORT = 1521))
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
      )Is this correct, I have bounced the listener and still get ora-12154 errors on connection.
    running lsnrctl services gives:
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 21-FEB-2006 13:28
    :10
    Copyright (c) 1991, 2004, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=well-mccarthy02)(PORT=15
    21)))
    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
    Service "dm" has 2 instance(s).
      Instance "dm", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:1 refused:0
             LOCAL SERVER
      Instance "dm", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "dmXDB" has 1 instance(s).
      Instance "dm", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: WELL-MCCARTHY02, pid: 1680>
             (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1505))
    Service "medline" has 2 instance(s).
      Instance "medline", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
      Instance "medline", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:1 refused:0 state:ready
             LOCAL SERVER
    Service "medlineXDB" has 1 instance(s).
      Instance "medline", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: WELL-MCCARTHY02, pid: 2804>
             (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1677))
    The command completed successfullywith the original listener.ora file lsnrctl services gave
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 21-FEB-2006 13:36
    :13
    Copyright (c) 1991, 2004, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=well-mccarthy02)(PORT=15
    21)))
    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
    Service "dm" has 1 instance(s).
      Instance "dm", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "dmXDB" has 1 instance(s).
      Instance "dm", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: WELL-MCCARTHY02, pid: 1680>
             (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1505))
    Service "medline" has 1 instance(s).
      Instance "medline", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "medlineXDB" has 1 instance(s).
      Instance "medline", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: WELL-MCCARTHY02, pid: 2804>
             (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1677))
    The command completed successfully

  • Php3 + oracle + apache - ORA-12154

    Hi,
    I build php3 with oracle support, installed oracle 8.1.5 on
    RedHat 6.0 and used dbassit and netasst to configure it.
    Oracle works fine. I can use sqlplus and read table from Acces.
    But, when I try to log on oracle with php3, it does not work :
    ORA-12154
    here what i try to run :
    <?php
    print "<HTML><PRE>";
    $db = "WWWITT";
    $c1 = ocilogon("scott","tiger",$db);
    ?>
    here my tnsnames.ora :
    WWWITT.ITTRALEE.IE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = apache)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = WWWITT)
    here my sqlnet.ora:
    TRACE_UNIQUE_CLIENT = on
    NAMES.DEFAULT_DOMAIN = ittralee.ie
    TRACE_LEVEL_CLIENT = USER
    TRACE_LEVEL_SERVER = USER
    SQLNET.EXPIRE_TIME = 0
    here my listener.ora :
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = apache)(PORT = 1521))
    (PROTOCOL_STACK =
    (PRESENTATION = TTC)
    (SESSION = NS)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = orapache)
    (ORACLE_HOME = /opt/oracle/oracle8.1.5)
    (SID_NAME = WWWITT)
    TRACE_LEVEL_LISTENER = USER
    so what did i did wrong ?
    thanks, ronan
    null

    Hi,
    You may require ODBC access to your Oracle database; this can be
    provided by Openlink Software at http://www.openlinksw.com. We
    have many clients using PHP scripts on Linux/Unix to connect
    with Oracle running on remote servers (or the same machine).
    Good luck!
    Guest (guest) wrote:
    : Ok..I think I know what's the problem is. Ok, here are 2
    : scripts, working and NOT working:
    : NOT WORKING:
    : <? $conn = ocilogon("username", "password","DB"); ?>
    : Error: Warning: oci8_open_server: Error while trying to
    retrieve
    : text for error ORA-12154
    in /usr/local/apache/htdocs/oracle.php3
    : on line 4
    : WORKING: <? putenv("ORACLE_HOME=/path/to/oracle");
    : $conn = ocilogon("username","password","DB"); ?>
    : Works for me...!
    : Hope this will help!
    null

  • ERR ORA-04030: out of process memory when trying to allocate 1425792 bytes

    Hi Guru's,
    There is an error for me when running some requests
    ERR ORA-04030: out of process memory when trying to allocate 1425792 bytes .
    For this problem I want to increase my SGA memory OR RAM Memory.
    Now server is running On 6GB RAM
    Regards
    ***SBJ***
    Edited by: user13098774 on Dec 12, 2010 12:56 AM

    Hi,
    Please see these docs.
    Getting Started with ORA-4030 Diagnostics [ID 863562.1]
    Diagnosing and Resolving ORA-4030 errors [ID 233869.1]
    Also, make sure you have the initialization parameters set as per these docs (depends on your Apps version).
    Database Initialization Parameters for Oracle Applications Release 12 [ID 396009.1]
    Database Initialization Parameters for Oracle Applications Release 11i [ID 216205.1]
    Thanks,
    Hussein

  • Windows 2003 R2 installation failing with ORA-12154

    Windows 2003 R2 Enterprise default installation, no Windows Updates at all
    Pentium 4, 2 gb ram, 127 gb hard drive
    In a workgroup using DHCP
    Installed Microsoft Loopback Adapter as per installation docs (which I read)
    Default installation of Oracle 10g R2 Enterprise, which installs a starter database.
    During the step Creating and starting Oracle instance with Clone database creation in progress at 46%, an error dialog appears:
    ORA-12154: TNS:could not resolve the connect identifier specified.
    The same problem occured when using a static IP address. About a year ago I followed the same steps with 2003 Enterprise (not the R2 version) and was successful. I also tried installing on XP Pro Service Pack 2 and failed at the same point.
    At this point I am completely unable to install Oracle 10g R2 on Windows using the default options. I even tried just installing Oracle without the starter database and then use DBCA to create a database. It failed to create a database.

    some more information
    I’ve just restarted the server with its full quota of 16GB of RAM and selected both boot.ini switches (/PAE and /3GB) at server startup. I then amended the dbblock_lru_latches parameter from 128 to 64. Before I even started the database I tried running ‘ipconfig /all’ at the command prompt with the following result:
    D:\Oracle>ipconfig /all
    Windows IP Configuration
    An internal error occurred: Insufficient system resources exist to complete the requested service.
    Please contact Microsoft Product Support Services for further help.
    is it windows causing these issues?
    rgds
    alan

Maybe you are looking for