Error SP2-0310 while running @utlsampl.sql

After installing Oracle on Win 98 I
1.Login sql+ as system and manager
2.run @utlsampl.sql
3.the error got is SP2-0310 unable to open file utlsampl.sql
Is there a place to look up SP2 errors
Any thoughts.
Thanks in advance

The file is located in $ORACLE_HOME\rdbms\admin. If you do not
specify a fully qualified path then SQL*Plus will look in its
default directory. Try @%ORACLE_HOME%\rdbms\admin\utlsampl.sql

Similar Messages

  • 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

  • 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.

  • Am facing this error sqlcode :-6502 while running sql code in plsql block

    Am facing this error sqlcode :-6502 while running sql code in plsql block.
    am using query :
    SELECT SUBSTR('123456DE789KL|987654321|B',1,INSTR('123456DE789KL|987654321|B','|')-1) FROM DUAL;
    CAN any body tell me why.

    BD_Fayez wrote:
    I've tried the following, but don't get any error.As I mentioned, most likely variable is too short:
    SQL> declare
      2  strSub varchar2(2);
      3  begin
      4  SELECT SUBSTR('123456DE789KL|987654321|B',1,INSTR('123456DE789KL|987654321|B','|')-1) into strSub FROM DUAL;
      5  dbms_output.put_line(strSub);
      6  end;
      7  /
    declare
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at line 4
    SQL> SY.

  • Alert log internal error exeception caught in pfrrun() while running pl/sql

    Hi ,
    For the past two days these error messages appears in the alert log.
    ACTION NAME(PAGE 1)
    MODULE NAME:(APPLICATION xxx)
    *** got internal error exception caught in pfrrun() while running pl/sql***
    *** Got ora-3113 while running plsql***
    Function FLOWS_030000.V (or) PACKAGE BODY FLOWS_030000.WWV_FLOW:
    can anyone assist me on this.
    Thanks

    user589320,
    As Scott mentioned, have a look at
    http://www.inside-oracle-apex.com/2008/03/attention-are-you-using-drop-in.html
    That might solve your problem.
    Patrick
    *** New *** Oracle APEX Essentials *** http://essentials.oracleapex.info/
    My Blog, APEX Builder Plugin, ApexLib Framework: http://www.oracleapex.info/

  • Error: sp2-0310 unable to open file c:\desktop\oracle\table.sql

    I am not able to open any files that I have downloaded and put into a file path. I keep getting the error sp2-0310 unable to open file. I made sure to save my files in a path with no spaces. What can I do to resolve this error message.
    Thanks.

    As already said, you need to verify you've really got the correct path. After that, you can also check to see that the file name is really table.sql. If you created the file in a simple text editor, sometimes the editor will append .txt to the file name. But if you have "Hide Extensions" turned on in Windows Explorer, then you wouldn't see the .txt extension. Check the file name and make sure it really is as you think and doesn't have another extension on it.
    Finally, how are you trying to use the file in SQL*Plus? If the path and file name are correct, you should be able to do this:
    SQL> get c:\desktop\oracle\table
    and it should bring up the file into the SQL*Plus buffer. Or, you should be able to use:
    SQL> @c:\desktop\oracle\table
    to execute the contents of the file.
    If you are simply using:
    SQL> @table
    then you could add the SQLPATH environment variable to point to c:\desktop\oracle and that would allow you to skip entering the path.
    Hope this helps,
    Karen

  • An error occurred while running adsetmmd.sql

    I'm trying to disable the maintenance and getting this error
    An error occurred while running adsetmmd.sql.
    Continue as if it were successful [No] : No
    Could not disable Maintenance Mode.
    Can anybody let me know what could be wrong!!!
    Regards
    -Mahesh

    Hussein,
    Please apply 11i.ATG_PF.H.RUP5 without enabling maintenance mode (use adpatch options=hotpatch). I've started with this. I started the adpatch session with two workers. Initially it went on very well but after sometime, it got struct up at
    APPL_TOP is set to /d01/oracle/visappl
    FAILED: file jtfpfrepgrants.sql on worker 2 for product jtf username JTF.
    ATTENTION: All workers either have failed or are waiting;
    FAILED: file jtfpfrepgrants.sql on worker 2.
    ATTENTION: Please fix above failed worker(s) so the manager can continue.
    Worker status on the instance
    Control
    worker Code Context Filename Status
    1 Run AutoPatch 115 Wait
    2 Run AutoPatch 115 tfpfrepgrants.sql FAILED
    Then to fix this issue I tried
    - Kill the adworker process from the OS "use ps -ef | grep -i adworker"
    - Use adctrl to "Tell Manager that worker has failed its job"
    - Use adctrl to "Tell worker to restart failed job"
    But I don't know what next? whether I've to restart the adpatch? If so, how to do it?
    -Mahesh

  • Problem Running Utlsampl.sql

    I'm trying to run the utlsampl.sql script, but keep getting the following error: "SP2-0310: unable to open file utlsampl.sql".
    I changed the directory to where the script resides, but still getting error. Can anyone help me?
    Thanks,
    DW

    This issue has been resolved!

  • ORA-03113: end-of-file on communication channel while running utlrp.sql

    Hi All,
    I am getting ORA-03113: end-of-file on communication channel while running utlrp.sql.
    Actually I ran utlrp.sql before in my test database and terminated the session in middle after that when ever I am running utlrp.sql i am getting the above error.
    how to resolve the issue.
    Kiran

    Hi,
    Check as follows;
    select owner,object_name,object_type from dba_objects where object_name like
    'UTL%'The objects should only belong to SYS, if they do belong do some other user (example HR, etc). Drop objects belong to other users (not sys).
    Then connect as sys as sysdba and rerun the script utlrp.sql.
    You can also review Oracle Metalink Document: ORA-03113 Error When Executing Utlrp.sql: Doc ID: Note:413922.1
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:5496440446026841247::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,413922.1,1,1,1,helvetica
    Adith

  • ENCOUNTER ORA-29558 WHILE RUNNING INITJVM.SQL ORA-29558

    Hi,
    Anyone know, can the below error message be ignore? Can the javavm still function if the NCOMP is not install? Is there any way to do a manual installation rather then using the universal installer?
    Thank You.
    While running initjvm.sql script, i encountered the below error message.
    ERROR at line 1:
    ORA-29558: JAccelerator (NCOMP) not installed. Refer to Install Guide for
    instructions.
    ORA-06512: at "SYS.DBMS_JAVA", line 236

    loobs,
    To avoid error "ORA-29558: JAccelerator (NCOMP) not installed" you must install Oracle 10G Products from Companion CD to the same directory where you installed Oracle DB 10g.
    Nicolas.

  • Configure Synchronization Connections An error has occurred while accessing the SQL Server database

    Hi,
    i am getting following error message
    Central Administration --> Synchronization Connections
    An error has occurred while accessing the SQL Server database or the SharePoint Server Search service.
    If this is the first time you have seen this message, try again later. If this problem persists, contact your administrator.
    Central Administration -->  Manage Profile Service: User Profile Service Application --> Manage User Properties
    Error
    An unexpected error has occurred.
    Troubleshoot issues with Microsoft SharePoint Foundation.
    Correlation ID: 3bce5a11-f2dc-4788
    Please tell how to fix it.
    iffi

    Event ID 5555 -> i have change the Timer jobs recycling time AM to PM
    for  User profile page not display  number of count in the page first check services , connection , 
    IISRESET /NOFORCE   /  timer services restart 
    Deepesh Yevle MCTS

  • "A critical error has occurred while running the virtual machine and the machine execution has been stopped"

    I have the following error:
    "A critical error has occurred while running the virtual machine and the machine execution has been stopped"
    When I am installing grid clusterware and when is copying files from one node to other I received that virtualbox error and is stop working.
    Can somebody give me any hint how to solve it ?
    Thank you
    Eugen

    I think that is not a Clusterware issue, The clusterware installation may generating a high load on your machine and Virtual Box is not supporting.
    Check vbox.log file to identify root cause.

  • 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 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

  • 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 "text/html", must be: "text/xml". Response was:
    <HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>404 Not Found</H1>Resource /WebServiceOBE-PLSQLWebService-context-root/MyWebService1 not found on this server</BODY></HTML>
         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

Maybe you are looking for

  • Dunning Key and minimum amount per dunning level

    Dear Friends, Can any one please explain the dunnig key functions? While defining the minimum amout their is two terms one is open item and another one is total amount. The definintion of total amount is all the items in an account means the items wh

  • CFPRINT outputs empty page or garbled content

    Hi all, okay I have to explain our situation first: We have CF9 on a Windows Server 2003 machine. Fully patched with all latest stuff. On CF Admin I can see our printer attached to the server. The CF9 server runs under a specified user who has full a

  • Mac won't restart or open preferences on Safari

    Hello Apple Users, I have a problem with my Macbook Pro. My girlfriend installed a little while ago  a Browser Hijacker called "websearches". Suddenly, I used an antivirus which it found it and deleted it. My mac was safe apparently, the only thing t

  • Template for Collection(s)

    I was wondering if anyone knew of (knows of) a template for collections. (ie Coin Collecting). I really need a way to keep track of my coin collection and would appreciate a point in the right direction. Thx

  • Can't load QuickTime to  Samsung ultrabook with Windows 8

    Trying to play quick time movies in websites. Download 7.7.3 to ultra book and it doesn't get invoked to play. Anyone know why?