Error while running catproc.sql during database upgradation Oracle 8.1.7.4

Hi,
We are in the process of upgrading the database from Oracle version 8.1.7.0 to 8.1.7.4
For that we are applying the patch no. 2376472
As per the patch we have run catproc.sql script.
On running the script we are getting below mentioned errors,
BEGIN
ERROR at line 1:
ORA-24001: cannot create QUEUE_TABLE, SYSTEM.DEF$_AQERROR already exists
ORA-06512: at "SYS.DBMS_AQADM_SYS", line 2049
ORA-06512: at "SYS.DBMS_AQADM", line 55
ORA-06512: at line 2
BEGIN
ERROR at line 1:
ORA-24006: cannot create QUEUE, SYSTEM.DEF$_AQERROR already exists
ORA-06512: at "SYS.DBMS_AQADM_SYS", line 2346
ORA-06512: at "SYS.DBMS_AQADM", line 114
ORA-06512: at line 2
PL/SQL procedure successfully completed.
The above error has been generated while creating the Queue and Queue_Table.
Where i have done mistake ?
Kindly provide guidance.
With Regards

Ignore these errors
http://www.cs.uvm.edu/oracle9doc/server.901/a90191/migmumsg.htm#72864

Similar Messages

  • Error while running cr9idata.pl during database upgrade to 11.2.0.2

    I am updating the R12 database (11.1.0.7) to 11.2.0.2 following document, <Interoperability Notes EBS R12 with Database 11gR2, 1058763.1>.
    In the step 7, to create nls/data/9idata directory...
    When I ran the perl script, I get the error as below.
    $ perl cr9idata.pl
    perl: symbol lookup error: /d01/oracle/SID/db/tech_st/11.2.0/perl/lib/5.10.0/x86_64-linux-thread-multi/auto/Cwd/Cwd.so: undefined symbol: Perl_Istack_sp_ptr
    Then, when I tried to check with sqlplus, I now have the error as below.
    SQL> connect user/password AS SYSDBA
    ERROR:
    ORA-12162: TNS:net service name is incorrectly specified
    SQL> exit
    Then, when I checked some relevant environment, I noticed TNS_ADMIN is empty.
    $ echo $ORA_NLS10
    /d01/oracle/SID/db/tech_st/11.2.0/nls/data/9idata
    $ echo $TNS_ADMIN
    $ echo $LD_LIBRARY_PATH
    /d01/oracle/SID/db/tech_st/11.2.0/lib
    However, if I run the old environment file in old ORACLE_HOME, then the TNS_ADMIN points to the old one (/d01/oracle/SID/db/tech_st/11.1.0/network/admin/SID_host).
    And I believe this is not valid...
    At the same time, when I check the tnsnames.ora, there are only example/default files under <samples> directory.
    $ cd /d01/oracle/SID/db/tech_st/11.2.0/network/admin/
    $ ls
    samples shrept.lst
    How should this be handled to proceed to the next step?
    Should I define TNS_ADMIN with the old path...???

    Hi;
    Please DO NOT use your old oracle_home, as note mention The ORACLE_HOME environment variable points to the new 11.2.0 Oracle home.
    Please set below wiht new ORACLE_HOME than try steo 7
    - The ORACLE_HOME environment variable points to the new 11.2.0 Oracle home.
    - The PATH environment variable includes $ORACLE_HOME/bin and the directory where the new perl executable is located (usually $ORACLE_HOME/perl/bin).
    - The LD_LIBRARY_PATH environment variable includes $ORACLE_HOME/lib.
    - The PERL5LIB environment variable points to the directories where the new perl libraries are located (usually $ORACLE_HOME/perl/lib/[perl version] and $ORACLE_HOME/perl/lib/site_perl/[perl version])
    Regard
    Helios

  • Error while running catmetx.sql

    Have anybody received an error while running CATMETX.SQL in attempt to fix a known problem in 10gR2 - inconsistent datatype: expected BLOB, CLOB got CHAR?
    Any and all ideas appreciated.
    Greg
    Here is what I've got:
    SQL> @catmetx
    Package altered.
    Index altered.
    create or replace force view sys.ku$_xmlschema_view of sys.ku$_xmlschema_t
    ERROR at line 1:
    ORA-22973: size of object identifier exceeds maximum size allowed
    Grant succeeded.
    View created.
    etc.

    Before I'm willing to hazard a guess as to what is wrong some more information is required.
    1. What version are you on exactly (to 3 or 4 decimal places)
    2. What problem led you to decide to run catmex.sql?
    3. What metalink doc did you read that indicated you should?
    4. What are the results of the following queries?
    SELECT comp_name, version, status
    FROM dba_registry;
    SELECT owner, object_name, object_type
    FROM dba_objects
    WHERE status = 'INVALID';The alternative is an SR at metalink.

  • Error while running code template mapping between two oracle tables

    Hello All
    Iam getting the following error while running code template mapping between two oracle tables. Using OWB 11gR2 and oracle 11gR2 DB.
    java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
    c: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
    ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
    ORA-06512: at line 4                                        
    Job 51 error: java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
    ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
    ORA-06512: at line 4
    Quick help is highly appreciated.

    Dera Dallan
    its only a target user for the workspace where you are deploying the mapping from.
    I have two repositories for two different projects. each repositary has its own workspace.
    ex:-
    Project 1
    Work space bpms_rep_owner
    Repositary owner bpms_rep_owner
    Repositary user bpms_rep_user
    Project 2
    Work space dem_rep_owner
    Repositary owner dem_rep_owner
    Repositary user dem_rep_user
    Reg
    S.Gyazuddin

  • ORA-600 [17069] error while running catrelod.sql to downgrade 11g database

    Hi,
    We are downgrading our 11.2.0.2 database to 10.2.0.4. We have successfullly run catdwgrd.sql without any errors in 11g env. While running catrelod.sql in 10g env we are facing the following error:
    SQL> @?/rdbms/admin/catrelod.sql
    TIMESTAMP
    COMP_TIMESTAMP RELOD__BGN 2013-04-24 20:15:39 2456407 72939
    DOC>#######################################################################
    DOC>#######################################################################
    DOC>  The following statement will cause an "ORA-01722: invalid number"
    DOC>  error if the database server version is not 10.0.0.
    DOC>  Shutdown ABORT and use a different script or a different server.
    DOC>#######################################################################
    DOC>#######################################################################
    DOC>#
    no rows selected
    DOC>#######################################################################
    DOC>#######################################################################
    DOC>  The following statement will cause an "ORA-01722: invalid number"
    DOC>  error if the database has not been opened for MIGRATE.
    DOC>
    DOC>  Perform a "SHUTDOWN ABORT"  and
    DOC>  restart using MIGRATE.
    DOC>#######################################################################
    DOC>#######################################################################
    DOC>#
    no rows selected
    Session altered.
    Session altered.
    no rows selected
    DECLARE
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [17069], [0x170FB8CA8], [], [], [],
    [], [], []I have checked the trace file in udump but it dint give any readable information.
    Please find below environment details.
    OS : RHEL 5 64 bit
    11g Database : 11.2.0.2
    10g Database : 10.2.0.4
    Kindly assist.

    KR10822864 wrote:
    Whenever an ORA-600 error is raised a trace file is generated and an entry written to the alert.log with details of the trace file location. Starting with Oracle Database 11g Release 1, the diagnosability infrastructure was introduced which places the trace and core files into a location controlled by the DIAGNOSTIC_DEST initialization parameter when an incident, such as an ORA-600 is created. For earlier versions, the trace file will be written to either USER_DUMP_DEST (if the error was caught in a user process) or BACKGROUND_DUMP_DEST (if the error was caught in a background process like PMON or SMON). The trace file contains vital information about what led to the error condition
    please post 40 lines of alert log info .
    MOS Note:ORA-600 [17069] "Failed to pin a library cache object after 50 attempts" [ID 39616.1]
    "Look in the trace file for the text 'LIBRARY OBJECT HANDLE: handle=170fb8ca8'"
    if not found any massages like above please raise [email protected].
    Hi KR,
    Thanks for your help. As suggested I have checked the trace file to search and found the below info. I suppose it is some kind of lock but not sure about it. Please let me know if the following makes sense:
        SO: 0x21158a6e0, type: 3, owner: 0x211006f28, flag: INIT/-/-/0x00
        (call) sess: cur 211572570, rec 211572570, usr 211572570; depth: 0
          SO: 0x21158a9b8, type: 3, owner: 0x21158a6e0, flag: INIT/-/-/0x00
          (call) sess: cur 211572570, rec 0, usr 211572570; depth: 1
            SO: 0x1727a2618, type: 54, owner: 0x21158a9b8, flag: INIT/-/-/0x00
            LIBRARY OBJECT PIN: pin=1727a2618 handle=170fb8ca8 mode=S lock=171243e98
            user=211572570 session=211572570 count=1 mask=001d savepoint=0x43 flags=[00]
            SO: 0x171243e98, type: 53, owner: 0x21158a9b8, flag: INIT/-/-/0x00
            LIBRARY OBJECT LOCK: lock=171243e98 handle=170fb8ca8 mode=S
            call pin=0x1727a2618 session pin=(nil) hpc=0000 hlc=0000
            htl=0x171243f18[0x17278a310,0x17278a310] htb=0x17278a310 ssga=0x172789928
            user=211572570 session=211572570 count=1 flags=PNC/[0400] savepoint=0x43
            LIBRARY OBJECT HANDLE: handle=170fb8ca8 mtx=0x170fb8dd8(0) cdp=0
            name=SYS.STANDARD
            hash=51570e225ed8a9a803b7318f191e0a8d timestamp=04-18-2006 00:00:00
            namespace=TABL flags=KGHP/TIM/SML/[02000000]
            kkkk-dddd-llll=0000-001d-001d lock=S pin=S latch#=3 hpc=0004 hlc=0004
            lwt=0x170fb8d50[0x170fb8d50,0x170fb8d50] ltm=0x170fb8d60[0x170fb8d60,0x170fb8d60]
            pwt=0x170fb8d18[0x170fb8d18,0x170fb8d18] ptm=0x170fb8d28[0x170fb8d28,0x170fb8d28]
            ref=0x170fb8d80[0x170fb8d80,0x170fb8d80] lnd=0x170fb8d98[0x170f05b50,0x170fa6858]
              LIBRARY OBJECT: object=170e82de8
              type=PCKG flags=EXS/LOC[0005] pflags=NST/IVR[0201] status=VALD load=0
              DATA BLOCKS:
              data#     heap  pointer    status pins change whr
                  0 170e831f8 170e82fc0 I/P/A/-/-    0 NONE   00
          SO: 0x21158e470, type: 5, owner: 0x21158a6e0, flag: INIT/-/-/0x00
          (enqueue) CU-70E88BC0-00000001    DID: 0001-001F-00000004
          lv: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  res_flag: 0x2
          res: 0x17677adc8, mode: X, lock_flag: 0x0
          own: 0x211572570, sess: 0x211572570, proc: 0x211006f28, prv: 0x17677add8
          SO: 0x177f82c28, type: 59, owner: 0x21158a6e0, flag: INIT/-/-/0x00
          cursor enqueue
          child: 170e89348, flag: 53, number: 0
          parent: 170e89738

  • Help me to fix the error while running DBMaintain Against the Database Schema in ASE.

    Hi All,
    I am trying to install sybase mobiliser platform 5.1 SP 03.I am  referring the following guide
    http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01871.0513/pdf/Mobiliser_Platform_Installation_Guide_5.1…
    Now I have configured the ASE database server with default settings and now it is running fine.
    Now my concerns are as follows:
    1) I have executed the database schema (mobr5): 001_MONEY_drop_and_create_user.DDL with the help of linux command
    isql -Usa -SASE1 -Phello@123 -i/opt/sybase/db/sql/001_MONEY_drop_and_create_user.DDL -o/opt/sybase/ASE-15_0/install/ASE1.log
    How do I check the created database schema and user with default name 'mobr5'?
    2) While running DBMaintain Against the Database Schema, I have followed the steps mentioned in the guide and made the following changes in the file dbmaintain.properties.ase
    database.driverClassName=com.sybase.jdbc4.jdbc.SybDriver
    database.url=jdbc:sybase:Tds:ASE1:5000/mobr5
    database.userName=mobr5
    database.schemaNames=mobr5
    database.password=paybox
    #Must be set if the driver is not packaged inside the scriptarchive or is present on the classpath
    #e.g. /path/to/driver.jar
    #database.driverLocation=/path/to/jconnect.jar
    database.driverLocation=/opt/sybase/db/sql/com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase.jar
    database.driverLocation=/opt/sybase/db/sql/com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase-vanilla.jar
    When I execute the script archives ,
    java –jar /opt/sybase/db/sql/com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase-driverless.jar -c /opt/sybase/db/sql/dbmaintain.properties.ase
    java –jar com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase-vanilla-driverless.jar -c dbmaintain.properties.ase
    I get the following error:
    So please help me to resolve the issues.

    Hi All,
    Issue is resolved and database has been updated successfully..
    Error was in database .url field of dbmaintain.properties.ase file.
    I have changed the database.url field  from database.url=jdbc:sybase:Tds:ASE1:5000/mobr5
    to  database.url=jdbc:sybase:Tds:<Private IP of Linux instance>:5000/mobr5
    Note:- I am installing mobiliser platform on AWS cloud.So I have made use of Private IP address of AWS Linux instance.

  • Error while running awrrpt.sql for Automatic Workload Repository Report

    Hi
    I am trying to run awrrpt.sql.While running the query in sql*plus it ask me for file format then no of days
    & then begin & end snapshot Id & then eventually the sql*plus session get closed . I am unable find
    why sql*plus session getting closed automatically.Please tell me How to run awrrpt.sql to generate AWR reports. Please guide.

    1008032 wrote:
    Dear
    This is happen due to you are given the begin snap id and end snap id not between the shut down time .EX begin snap it at 12 am 1521 and you shut down at 12:30 am and you you give the 1:00 am snap id 1522 .That time system can not collect the statistics betwwn 1521 and 1522.
    Or you should enable statistics_level parameter if it 11gr2 you should enable controlfile_management_pack _access='DIAGNOSTIC+TUNING'
    issue not resolved please post your error..........
    Thanks&regards
    SS.vijaibabuI checked my statistics_level it shows value TYPICAL which I think is right.
    SQL> sho parameter statistics_level
    NAME TYPE VALUE
    statistics_level string TYPICALAlso I given snap id which between single startup & shutdown still the problem is same sqlplus session get closed after asking for snal ids.
    If error gets generated where it gets generated?

  • Error while running pos_upg_usr.sql for i-Supplier after cloning

    Hi All,
    We are having iSupplier setup in our instance, and every time we perfrom the cloning from production and non production we will be performing the below steps.
    1. Change Application Framework Agent ( Level : Responsibility/POS Supplier Guest User ) , POS: External URL (Level : Site ) and PON: External Application Framework Agent (Level : Site )
    2. Will be executing the sql $POS_TOP/patch/115/sql/pos_upg_usr.sql
    3. Bounce the apache
    Untill the last clone the sql was running fine without any errors, buut during the current clone the sql is giving the below error mesage
    SQL> @pos_upg_usr.sql
    DECLARE
    ERROR at line 1:
    ORA-20005: Failed to set application framework agent profile for user
    :[email protected]
    ORA-06512: at line 95
    ORA-01001: invalid cursor
    Can you please advice on this.
    Thanks & Regards,
    Rakesh

    Hussein,
    I tried to run the script manually, its gving the same error message. Error is coming for the below area in the sql at line 95
    IF ( not fnd_profile.save( x_name => 'APPS_FRAMEWORK_AGENT',
    x_value => lv_ext_framework_agent,
    x_level_name => 'USER', < Line 95 >
    x_level_value => x_user_id ) ) THEN
    raise_application_error(-20005, ' Failed to save framework profile option value'
    ||x_user_id || ' with value :'|| lv_ext_framework_agent , true);
    END IF;
    This is the place where the sql is erroring out for that particulat user.
    No, i not tried bouncing the database. Can not do that right away, i can try that option in Monday. Can you please let me know if there is any other option is there to determine this error.
    Thanks & Regards,
    Rakesh

  • Error while running the sql queries in unix as cron job..

    Hi,
    I've configured some sql queries to run as cronjob from unix,i'm able to excute all the sql queries with out any error,after all the queries are executed,I'm getting the following error message.
    ORA-00600: internal error code, arguments: [4080], [1], [131], [], [], [], [],
    Could any one advise me why this error is being thrown?
    How to avoid this error?
    Thanks,
    Anil

    Are you running these queries through TopLink?
    If so, the error seems to be occurring on the database, when the query is being executed.
    I have never seen that error before. Performing some websearches it seems to be a general database error, potentially something to do with synchronization. Sorry I can't be of more help, perhaps the database forum can provide more insight...

  • Error while running PL/SQL XML Parser Samples

    every time try to run the PL/SQL XML Parser Sample program i get this error no file or directory, though the file and dir exists, i have the permissions setup as in readme.txt do i need to do any chnages to init.ora,
    pls advice
    Thanks,
    SQL> exec test
    begin test; end;
    ERROR at line 1:
    ORA-20100: Error occurred while parsing: No such file or directory
    ORA-06512: at "SCOTT.XMLPARSER", line 22
    ORA-06512: at "SCOTT.XMLPARSER", line 69
    ORA-06512: at "SCOTT.TEST", line 13
    ORA-06512: at line 1

    Which examples in particular? Thanks.

  • Error while running PL/SQL Web Service in JDeveloper

    Hi,
    I am trying to run a PL/SQL Webservice example available on OTN site. Below mentioned error is occurring when running the program:
    *************** Error Stack Begin **********************
    D:\DevSuiteHome_1\jdk\bin\javaw.exe -ojvm -classpath D:\DevSuiteHome_1\jdev\mywork\WebServiceOBE\PLSQLWebService\classes;D:\DevSuiteHome_1\sqlj\lib\runtime12ee.jar;D:\DevSuiteHome_1\jdbc\lib\classes12.jar;D:\DevSuiteHome_1\jdbc\lib\nls_charset12.jar;D:\DevSuiteHome_1\jdev\lib\jdev-rt.jar;D:\DevSuiteHome_1\soap\lib\soap.jar;D:\DevSuiteHome_1\lib\xmlparserv2.jar;D:\DevSuiteHome_1\jlib\javax-ssl-1_2.jar;D:\DevSuiteHome_1\jlib\jssl-1_2.jar;D:\DevSuiteHome_1\j2ee\home\lib\activation.jar;D:\DevSuiteHome_1\j2ee\home\lib\mail.jar;D:\DevSuiteHome_1\j2ee\home\lib\http_client.jar -Dhttp.proxyHost=instpisa -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=*.sierraopt.com|nshore|localhost|127.0.0.1 mypackage2.MyWebService1Stub
    [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type &quot;text/html&quot;, must be: &quot;text/xml&quot;. Response was:
    &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;404 Not Found&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;404 Not Found&lt;/H1&gt;Resource /WebServiceOBE-PLSQLWebService-context-root/MyWebService1 not found on this server&lt;/BODY&gt;&lt;/HTML&gt;
         at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:209)
         at org.apache.soap.rpc.Call.invoke(Call.java:268)
         at mypackage2.MyWebService1Stub.getEmp(MyWebService1Stub.java:86)
         at mypackage2.MyWebService1Stub.main(MyWebService1Stub.java:40)
    Process exited with exit code 0.
    *************** Error Stack End **********************
    Please would anyone help me by providing clues to resolve this issue.
    Thank you.
    Regards,
    Balu

    Thanks Frank.
    In my function package i create xml use dbms_xmldom. I save created xml into clob and return this clob in function.
    Now I want create web service that return my clob(xml).
    I try use JDevelper with PL/SQL Web Service Wizard.
    But I get wrong result (see in my first post).
    My Example xml in clob
    <test>"testvalue"</test>
    I want get responce
    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    X-Powered-By: Servlet/2.5 JSP/2.1
    SOAPAction: "http://localhost/MyWebService1.wsdl/udoFDicnomnsXmlWs"
    Date: Thu, 28 Oct 2010 08:23:31 GMT
    X-ORACLE-DMS-ECID: 0000IjlvoFZB_6yb05nZ6F1CmJAZ000006
    Content-Length: 279812
    X-HTTPAnalyzer-RuleName: Pass through :
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <env:Header/>
    <env:Body>
    <m:udoFDicnomnsXmlWsResponse xmlns:m="http://localhost/MyWebService1.wsdl">
    <result><test>"testvalue"</test>
    </result>
    </m:udoFDicnomnsXmlWsResponse>
    </env:Body>
    </env:Envelope>
    But I get
    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    X-Powered-By: Servlet/2.5 JSP/2.1
    SOAPAction: "http://localhost/MyWebService1.wsdl/udoFDicnomnsXmlWs"
    Date: Thu, 28 Oct 2010 08:23:31 GMT
    X-ORACLE-DMS-ECID: 0000IjlvoFZB_6yb05nZ6F1CmJAZ000006
    Content-Length: 279812
    X-HTTPAnalyzer-RuleName: Pass through :
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <env:Header/>
    <env:Body>
    <m:udoFDicnomnsXmlWsResponse xmlns:m="http://localhost/MyWebService1.wsdl">
    <result>& lt;test>&amp;quot;testvalue&amp;quot;& lt;/test>
    </result>
    </m:udoFDicnomnsXmlWsResponse>
    </env:Body>
    </env:Envelope>
    Can you advice something?
    Edited by: user10707438 on 28.10.2010 1:14
    Edited by: user10707438 on 28.10.2010 1:27

  • Extension error while running but not during debug

    Hi all, I'm using JDev 10.1.2 and I developed an extension for it. This extension guides the user to the creation of a sql file through a sequence of frames. While in debug mode, this extension works without the smallest problem, but when i restart jdev and I try using the extension, a problem arises. I made some experiments, it seems to be a problem related to the rendering of a table.
    My question is: how can it happen that the debugger doesn't report such problem? And how can I discover precisely where the problem is?
    I tried with some dialogs that give me information, but as the bug is in the rendering, this generates a loop.
    I really don't know how to behave!!!Help!

    Hi;
    Please DO NOT use your old oracle_home, as note mention The ORACLE_HOME environment variable points to the new 11.2.0 Oracle home.
    Please set below wiht new ORACLE_HOME than try steo 7
    - The ORACLE_HOME environment variable points to the new 11.2.0 Oracle home.
    - The PATH environment variable includes $ORACLE_HOME/bin and the directory where the new perl executable is located (usually $ORACLE_HOME/perl/bin).
    - The LD_LIBRARY_PATH environment variable includes $ORACLE_HOME/lib.
    - The PERL5LIB environment variable points to the directories where the new perl libraries are located (usually $ORACLE_HOME/perl/lib/[perl version] and $ORACLE_HOME/perl/lib/site_perl/[perl version])
    Regard
    Helios

  • Error while trying to connect to Database using Oracle instantclient

    I have a linux box where i have downloaded"instantclient-basic-linux.x64-11.2.0.3.0.zip". I have unzipped in /opt/instantclient_11_2.
    I am using this as a client in my code for connecting to the oracle 11g database which is in a different server. I have set the below env variables.
    LD_LIBRARY_PATH=/opt/instantclient_11_2
    CLASSPATH=/opt/instantclient_11_2:...
    PATH=/opt/instantclient_11_2:...
    When i run my program i am getting the below error.
    java.sql.SQLException: ORA-12154: TNS:could not resolve the connect identifier specified
    at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:765)
    at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:414)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:546)
    at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:162)
    I am trying to connect through a thick client as below.
    Class.forName ("oracle.jdbc.OracleDriver");
                   Connection conn = DriverManager.getConnection("jdbc:oracle:oci8:@hostname_orcl", userid, pwd);
    I have seen in some forums that we need to set $ORACLE_HOME and $TNS_ADMIN env variables as well. But, here i am trying to connect to a remote database. what should i set these variables to as i don't have oracle in my machine??
    Thanks

    looks like you didnt complete the install of the instant client. the ORACLE_HOME and TNS_ADMIN points to the location of the tnsnames if you dont have the full tns string in your jdbc connection string
    https://kb.berkeley.edu/jivekb/entry.jspa?externalID=1826

  • Getting error while runing utlu102i.sql:

    Dear Experts,
    I am getting following error while running utlu102i.sql script (Oracle 9.2.0.6,HP-UX 11.11)
    DECLARE
    ERROR at line 1:
    ORA-00980: synonym translation is no longer valid
    ORA-06512: at line 2925
    I nned to upgrade this database, how to resolve this problem, furthermore can we goahead on upgrading without solve this ? (pre. may be obtain from another database with almost same configuraton)
    Thanks & Regards
    Sunil Kumar

    Pl open an SR for your issue. You will need to run this script and execute its recommendations before you can upgrade. Are there any errors in the alert.log ? Are any other trace files created ?
    MOS Doc 400200.1 (ORA-0600 [17069] During Upgrade of Pre-10g Database to 10g+) may also help.
    HTH
    Srini

  • ORA-01503 and ORA-01110 Errors while running adcfgclone.pl dbTier

    Hi,
    I am working on R12 on IBM AIX as I am cloning from one system to another I am facing some errors while running adcfgclone.pl for database tier.
    Following is the log from the adcfgclone.pl as it fails;
    Creating the control file for CLONE_test database ...
    SQL*Plus: Release 11.1.0.7.0 - Production on Mon Sep 6 10:32:43 2010
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated
    ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated
    ORACLE instance started.
    Total System Global Area 1068937216 bytes
    Fixed Size                  2160600 bytes
    Variable Size             427821096 bytes
    Database Buffers          624951296 bytes
    Redo Buffers               14004224 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "CLONE"
    *+
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01159: file is not from same database as previous files - wrong database id
    ORA-01110: data file 22: '/u04/oracle/proddata/applsysx01.dbf'
    alter database open resetlogs
    *+
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP add tempfile '/u03/oracle/proddata/temp01.dbf' REUSE
    *+
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "CLONE.testcom.com"
    *+
    ERROR at line 1:
    ORA-01109: database not open
    ORA-01507: database not mounted
    ORACLE instance shut down.
    Connected to an idle instance.
    ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated
    ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated
    ORACLE instance started.
    Total System Global Area 1068937216 bytes
    Fixed Size                  2160600 bytes
    Variable Size             427821096 bytes
    Database Buffers          624951296 bytes
    Redo Buffers               14004224 bytes
    ORA-03113: end-of-file on communication channel
    Process ID: 1278120
    Session ID: 1105 Serial number: 3
    ERROR:
    ORA-03114: not connected to ORACLE
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    Connected.
    ORA-01031: insufficient privileges
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    Disconnected
    exit_code=1
    Checking for errors ...
    The database has not been successfully created. Shutting down the instance ...
    SQL*Plus: Release 11.1.0.7.0 - Production on Mon Sep 6 10:33:12 2010
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Disconnected
    +.end std out.+
    +.end err out.+
    I have checked the log for preclone from the source machine but there are no errors. Below are the last lines of preclone log file
    Zip2 - Completed native zipping sh -c "cd /u02/oracle/proddb/10.2.0/appsutil/out/PROD_testcom/; zip  -q  -y /u02/oracle/proddb/10.2.0/appsutil/clone/data/stage/adcrdb.zip -@ ; echo ERRORCODE = $? ERRORCODE_END"
    Done...
    +#############################################################+
    StageDBTier Finished at Tue Aug 31 16:50:19 GMT03:00 2010+
    Status: Completed Successfully
    +#############################################################+
    Please advice.
    Regards

    Hi user:
    1. Yes the database and lsnr were closed as the tar files were created. So, i assume thate there are no any oracle session avalibale when you copy files from source to target
    2. Yes I would also like to mention that it already had an old instance. So this is just a new clone. So, i mention you have valid entery on /etc/hosts file
    3. Please can you describe what permissions as from root user it was done as
    chown -R oratest:dba <db tier folders> If your target user is oratest than syntax seems correct, did you copy oracle_home too from source to target and this home owner is oratest again right?
    Regard
    Helios

Maybe you are looking for

  • Urgent: Calling ABAP Program using JMS

    Hi, I have a scenario where legacy system pass some messages to ABAP Program and this program can handle one message at a time (written in that way). Now the receiver communication channel is configured to access J2SE adapter. This J2SE adapter store

  • Attachements on Mail not appearing correctly!

    Attachjments in mail appear as winmail.dat files yet on yahoo mail via Safari they appear correctly as els files etc - any ideas?

  • Problem with Grab

    When I've used Grab a number of times, I'll click on the Grab desktop icon and then find that the Grab feature turns off before I have a chance to actually choose the function I want to do with Grab. When this problem occurs, I've also noticed that t

  • Front Row vs third party apps (i.e. Boxee, etc.)

    My next project is to create a home theater computer (HTMAC) and a separate networked media server. I'd like to use a mac mini as the HTMAC, especially if they start putting blu-ray players in them. I would also attach an external PVR to record TV. M

  • How do I known Which JDBC Driver Type in ConnectionPool?

    Usually, we have to specify the JDBC driver type 1, 2, 3, 4 in our programs as "COM.ibm.db2.jdbc.app.DB2Driver" or "COM.ibm.db2.jdbc.net.DB2Driver" However, when we use connection pool, we just use the Data Source class file instead e.g. "COM.ibm.db2