MERGED PATCH적용시 ORA-00942 발생

제품 : AOL
작성날짜 : 2005-11-28
MERGED PATCH적용시 ORA-00942 발생
============================
PURPOSE
HR 이나 CRM patch적용시 Merge patch기능을 사용하는데 이대 ORA-00942 table or view does not exist 가 발생하는 경우가 있습니다. 이에 대한 Solution을 제공하고자 합니다.
Problem Description
HR.K patch적용시 10개에서 20개의 Merge patch 를 적용하면서 아래 error가 발생합니다.
/deve/product/deveappl/fnd/11.5.0/bin/FNDLIBR FND FNDCPBWV &ui_apps SYSADMIN
'System Admin
istrator' SYSADMIN
List of errors encountered:
_ 1 _
Routine AFPSSC encountered an ORACLE error. ORA-00942: table or view
does not exist
Review your error messages for the cause of the error. (=<POINTER>)
Cause
======
위 경우 CONCURRENT MANAGER VIEWS 가 제대로 생성되지 못해서 발생하는 것입니다.
Solution Description
아래와 같은 방법으로 Manager view를 재성성 해 줍니다.
$FND_TOP/bin 로 가서 아래 명령어를 실행합니다.
Usage: FNDLIBR FND FNDCPBWV <oracleid>/<password> SYSADMIN 'System
Administrator' SYSADMIN
For Example:
FNDLIBR FND FNDCPBWV APPLSYS/FND SYSADMIN 'System Administrator' SYSADMIN
ORACLE ID: Enter the username and password of the applsys ORACLE ID.
Enter the username and password without any spaces and separated by a slash
Reference Documents
1009731.6

Similar Messages

  • SQL Error: ORA-00942: table or view does not exist + CX_RS_SQL_ERROR

    HI ,
    we are facing below issue while activating info object xxxxxxxx
    " SQL Error: ORA-00942: table or view does not exist "  and   " CX_RS_SQL_ERROR  "
    can any one help us out to resolve this issue.
    Thanks,
    EDK......

    Hi,
    Check the corrections given in the note 990764:
    Reason and Prerequisites
    Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
    ORA-00942: table or view does not exist
    Fehler in CL_SQL_RESULT_SET  Include NEXT_PACKAGE
    RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
    Solution
    SAP NetWeaver 2004s BI
               Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
    In urgent cases you can implement the correction instructions.
    The correction instructions contain the tightened inspection for characteristics.
    Regards,
    Anil Kumar Sharma .P

  • Error handling function: ORA-20001: get_dbms_sql_cursor error:ORA-00942: table or view does not exist  is not trapped. Why?

    Why APEX 4.1 Error handling function does not trap  the error of missing table?
    Say, I create simple application with single IR report page and I also assign standard simple error handling function.
    Function works perfectly, except but this case:
    If I just drop a table used by report page and then refresh the page I am getting usual APEX error message:
    ORA-20001: get_dbms_sql_cursor error ORA-00942: table or view does not exist
    and error handling function is not invoked at all.
    Is this a feature or a bug?

    Hi,
    Check the corrections given in the note 990764:
    Reason and Prerequisites
    Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
    ORA-00942: table or view does not exist
    Fehler in CL_SQL_RESULT_SET  Include NEXT_PACKAGE
    RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
    Solution
    SAP NetWeaver 2004s BI
               Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
    In urgent cases you can implement the correction instructions.
    The correction instructions contain the tightened inspection for characteristics.
    Regards,
    Anil Kumar Sharma .P

  • TimesTen In-Memory Database -ORA-00942: table or view does not exist rc = -1

    Hi Chris,
    This is wrt the thread : Unable to create CacheGroup.
    I have configured Oracle_DB[11.2.0.3.0] for timesten, installed timesten[11.2.2.7.0], configured cache_DB.
    So the Oracle database has user TIMESTEN(cache user) and TTENADMIN(cache admin user). Similarly the Cache Database has same TTENADMIN(cache manager user) and FNETLUO1(cache table user)
    But while configuring the cache database following error occurred:
    connect "dsn=my_cachedb;uid=TTENADMIN;oraclepwd=ttenadmin";
    Enter password for 'TTENADMIN':
    Connection successful: DSN=my_cachedb;UID=TTENADMIN;DataStore=/opt/IBM/TimesTen/tten_database/my_cachedb;DatabaseCharacterSet=WE8ISO8859P15;ConnectionCharacterSet=US7ASCII;DRIVER=/opt/IBM/TimesTen/tt11204FTP/lib/libtten.so;LogDir=/opt/IBM/TimesTen/tten_database/logs;PermSize=40;TempSize=32;TypeMode=0;OracleNetServiceName=PSFTDEV2;
    (Default setting AutoCommit=1)
    con1: Command>call ttcacheuidpwdset ('TTENADMIN','ttenadmin');
    5221: Oracle syntax error in OCIStmtExecute(): ORA-00942: table or view does not exist rc = -1
    5130: Error executing the following statement on Oracle: MERGE INTO TTENADMIN.TT_06_databases USING DUAL ON (upper(TTENADMIN.TT_06_databases.host) = upper('DG1166') AND upper(TTENADMIN.TT_06_databases.datastore) = upper('/opt/IBM/TimesTen/tt11204FTP_database/my_cachedb')) WHEN NOT MATCHED THEN INSERT (hash,...
    5025: Commit failure in Oracle. Transaction must be rolled back in TimesTen.
    The command failed.
    Please advise how we can solve this?

    Hi
    Just for additional information:
    ttAdmin -cacheUidPwdSet -cacheUid TTENADMIN -cachePwd ttenadmin my_cachedb
    *** [TimesTen][TimesTen 11.2.2.7.0 ODBC Driver][TimesTen]TT5221: Oracle syntax error in OCIStmtExecute(): ORA-00942: table or view does not exist rc = -1 -- file "bdbConfig.c", lineno 2324, procedure "oraExecDirect()"
    *** ODBC Error = S1000, TimesTen Error = 5221
    *** [TimesTen][TimesTen 11.2.2.7.0 ODBC Driver][TimesTen]TT5130: Error executing the following statement on Oracle: MERGE INTO TTENADMIN.TT_06_databases USING DUAL ON (upper(TTENADMIN.TT_06_databases.host) = upper('DG1166') AND upper(TTENADMIN.TT_06_databases.datastore) = upper('/opt/IBM/TimesTen/tt11203FTP_database/my_cachedb')) WHEN NOT MATCHED THEN INSERT (hash,... -- file "bdbConfig.c", lineno 2353, procedure "oraExecDirect()"
    *** ODBC Error = S1000, TimesTen Error = 5130
    But i can see that at backend two new tables are created for TTENADMIN(cache admin):
      TTENADMIN.TT_06_DATABASES and TTENADMIN.TT_06_DB_PARAMS
    with columns, indexes but no records/data.

  • Pl/sql ORA-00942 err

    Hi,
    I have created procedure in that i m creating a table and merging it with some other table and after that i fetching the records in the ref cursor and at last i m droping the same table.I m working on Oracle 9i.Sometimes i m able to complie the procedure but sometime i m getting the err ORA-00942 Table or View doesnot exist.I dont understand the reason y it is coming.I have restarted the database server but still i m getting the err.Give me some solution for that

    Your procedure probably looks like this:
    SQL> CREATE OR REPLACE PROCEDURE p_test IS
      2  BEGIN
      3    EXECUTE IMMEDIATE 'create table tt ( a number )';
      4    INSERT INTO tt VALUES ( 4 );
      5    -- some other coding
      6    EXECUTE IMMEDIATE 'drop table tt';
      7  END;
      8  /
    Warning: Procedure created with compilation errors.And the error during compilation is:
    SQL> show err
    Errors for PROCEDURE P_TEST:
    LINE/COL ERROR
    4/3      PL/SQL: SQL Statement ignored
    4/15     PL/SQL: ORA-00942: table or view does not existThat's because table tt doesn't exist during compilation and PL/SQL compiler cannot validate INSERT statement. To avoid it you must make INSERT as dynamic SQL:
    SQL> ed
    Wrote file afiedt.buf
      1  CREATE OR REPLACE PROCEDURE p_test IS
      2  BEGIN
      3    EXECUTE IMMEDIATE 'create table tt ( a number )';
      4    EXECUTE IMMEDIATE 'INSERT INTO tt VALUES ( 4 )';
      5    -- some other coding
      6    EXECUTE IMMEDIATE 'drop table tt';
      7* END;
    SQL> /
    Procedure created.
    SQL> exec p_test;
    PL/SQL procedure successfully completed.
    SQL>
    But in general, it's very bad idea to create table, do some processing and drop the table at the end of it. You may face another run time error when two or more users running the same procedure at the same time - they may not be able to create 2 or more tables with the same name ( depends on what ID they use to connect to DB, generic or individual ). In your situation it's better to use temporary tables.

  • ORA-00942: table or view does not exist

    select
                        nvl(appr.APPROVER_NAME, org.APPROVER_NAME) as APPROVER_NAME,
                        nvl(appr.APPROVER, org.APPROVER) as APPROVER,
                        nvl(appr.APPROVER_TYPE, org.APPROVER_TYPE) as APPROVER_TYPE,
                        nvl(appr.ASSIGNED_DATE, org.ASSIGNED_DATE) as ASSIGNED_DATE,
                        nvl(appr.APPROVAL_DATE, '-') as APPROVAL_DATE,
                        nvl(appr.STATE, org.STATE) as STATE,
                                    org.SEQ as numberoftimesmodified,
                        nvl(appr.PROCESS, org.PROCESS) as PROCESS,
                        appr.seq2
                        from (
                             select a.seq,
                             b.usr_display_name as APPROVER_NAME,
                             b.usr_login as APPROVER,
                             'User' as APPROVER_TYPE,
                             '-' as ASSIGNED_DATE,
                             '-' as STATE,
                             a.seq as numberoftimesmodified,
                             '-' as PROCESS
                             from(
                                  SELECT 1 as seq, USR_UDF_MANAGER_LOGIN as GID, '' as approver_name, 'user' as approver_type FROM DEVT_OIM.USR WHERE USR_LOGIN =:BENEFICIARY_GID AND :APPLICATION = 'Oracle 11i On demand'
                                  UNION
                                  select rownum as seq, regexp_substr(:APPROVERPAYLOAD,'[^,]+', 1, level) as gid, '' as approver_name, 'user' as approver_type from dual
                                  where :APPLICATION != 'Oracle 11i On demand'
                                  connect by regexp_substr(:APPROVERPAYLOAD, '[^,]+', 1, level) is not null
                             ) a
                             inner join DEVT_OIM.usr b on a.gid = b.usr_login
                        ) org
                        left join(
                             select b.numberoftimesmodified as seq, rownum as seq2, a.*
                             from
                                  select
                                  LEAD(a.ASSIGNEES) OVER(ORDER BY a.numberoftimesmodified) as prev_gid,
                                  LEAD(a.pushbacksequence) OVER(ORDER BY a.numberoftimesmodified) as prev_pushbacksequence,
                                  a.ASSIGNEES as current_gid,
                                  nvl(retrieveGidName(a.ASSIGNEES), '-') as APPROVER_NAME, 
                                  (DEVT_OIM.TOKNEW(REPLACE(a.ASSIGNEES, ',', ':'))) as APPROVER,
                                  'User' as APPROVER_TYPE,
                                  a.pushbacksequence,
                                  TO_CHAR(a.assigneddate,'DD-Mon-YYYY HH:MI:SS AM') as ASSIGNED_DATE,
                                  case when a.state = 'WITHDRAWN' then TO_CHAR(a.updateddate,'DD-Mon-YYYY HH:MI:SS AM') else TO_CHAR(d.updateddate,'DD-Mon-YYYY HH:MI:SS AM') end as APPROVAL_DATE,
                                  a.numberoftimesmodified,
                                  case when a.state = 'EXPIRED' then 'Expired' when a.approvalduration is null then 'Pending' when  a.outcome = 'REJECT' then 'Rejected' else 'Approved' end as PROCESS,
                                  d.state as process2,
                                  case when d.substate = 'REASSIGNED' then 'Reassigned' when d.state = 'INFO_REQUESTED' then 'Request Info' when a.state = 'EXPIRED' then 'Expired'
                                       when  a.outcome = 'REJECT' then 'Rejected' when d.substate = 'INFO_SUBMITTED' then 'Submitted' when a.state = 'WITHDRAWN' then 'Withdrawn' when e.state is null then 'Pending' else 'Approved' end as state,
                                  e.ASSIGNEES, d.substate
                                  from WFTASKHISTORY a
                                  left join WFTASKHISTORY d on d.IDENTIFICATIONKEY = a.IDENTIFICATIONKEY and d.numberoftimesmodified = (a.numberoftimesmodified+1)
                                  left join WFTASKHISTORY e on e.IDENTIFICATIONKEY = a.IDENTIFICATIONKEY and e.numberoftimesmodified = (a.numberoftimesmodified-1) and e.ASSIGNEES = a.ASSIGNEES
                                  where a.IDENTIFICATIONKEY = :IDENTIFICATIONKEY and a.state is not null
                                  order by a.numberoftimesmodified
                             ) a
                             inner join (select rownum as numberoftimesmodified, pushbacksequence from (select distinct pushbacksequence from WFTASKHISTORY a where a.IDENTIFICATIONKEY = :IDENTIFICATIONKEY order by pushbacksequence)) b
                             on b.pushbacksequence = a.pushbacksequence
                             where a.prev_gid != a.current_gid or prev_gid is null
                             order by a.numberoftimesmodified
                        ) appr on org.seq = appr.seqORA-00942: table or view does not exist
    00942. 00000 - "table or view does not exist"
    *Cause:   
    *Action:
    Error at Line: 55 Column: 172

    Hi User,
    The ORA - 00942 indicates that the Underlying object is not present in the Database.
    Just Check whether the Table you are used in the Select statement exists in the user/Schema.
    To check this..
    SELECT *
      FROM USER_TABLES
    WHERE TABLE_NAME = 'YOUR_TABLE_NAME';Or
    Simply,
    SELECT *
      FROM TAB;If you are using the Table from other Schema, Just give the table name like this..
    SELECT *
      FROM SCHEMA_USER.table_name;Thanks,
    Shankar

  • Ides installation error during "perform post-load activities" ORA-00942:

    Dear Guru's
    I am having problem in ides ERP 2005 SR1 installation .with oracle 10g on windows 2003.
    Currently i am facing problem at "perform post-load activities"
    Below is the logs from sapinst_dev.log:-
    TRACE      [iaxohsqlx.hpp:1043]
               COraSQLScriptExec<LoggingStrategy>::executeScript()
    COraSQLScriptExec<LoggingStrategy>::executeScript: Script executed with error message.
    TRACE      [iaxxejsexp.cpp:188]
               EJS_Installer::writeTraceToLogBook()
    OraSqlScript3.execute: Result of SQL:
    ERROR      2011-02-14 10:50:28 [iaxxinscbk.cpp:271]
               abortInstallation
    CJS-00084  SQL statement or script failed.<br>DIAGNOSIS: Error message: ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL1'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL2'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'CLUST'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'DDIM'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3FACT' WHERE TABART = 'DFACT'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3ODS' WHERE TABART = 'DODS'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'POOL'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SDIC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SDOCU'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SLDEF'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SLEXC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SLOAD'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SPROT'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SSDEF'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SSEXC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SSRC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'TEMP'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3USR' WHERE TABART = 'USER'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3USR' WHERE TABART = 'USER1'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL0'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL1'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL2'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'CLUST'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'DDIM'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3FACT' WHERE TABART = 'DFACT'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3ODS' WHERE TABART = 'DODS'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'POOL'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SDIC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSP.<br>SOLUTION: See ora_sql_results.log and the Oracle documentation for details.
    TRACE      [iaxxejsbas.hpp:388]
               handleException<ESAPinstException>()
    Converting exception into JS Exception Exception.
    ERROR      2011-02-14 10:50:28
               CJSlibModule::writeError_impl()
    MUT-03025  Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.
    TRACE      [iaxxejsbas.hpp:460]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    ERROR      2011-02-14 10:50:28 [iaxxgenimp.cpp:736]
               showDialog()
    FCO-00011  The step runDdicoraSql with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_Postload|ind|ind|ind|ind|10|0|NW_Postload_ORA|ind|ind|ind|ind|0|0|runDdicoraSql was executed with status ERROR .
    TRACE      [iaxxgenimp.cpp:657]
               showDialog()
    <html><head></head><body><p>An error occurred while processing service <b>SAP ERP 2005 Support Release 1 > SAP Systems > Oracle > Central System > Central System Installation</b>. You may now</p><ul> <li>press <I>Retry</I> to repeat the current step.</li> <li>press the <I>View Log</I> button to get more information about the error.</li> <li>stop the task and continue with it later.</li></ul><p>Log files are written to <b>C:\Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS</b>
    TRACE      [iaxxgenimp.cpp:1093]
               showDialog()
    waiting for an answer from gui
    PLEASE HELP.
    Regards
    AKif

    Below is the ora_sql_results.log
    ==============================================================
    2011-02-14, 12:23:39 SAPINST ORACLE start logging for
    @@ddicora.sql
    exit;
    Output of SQL executing program:
    SQL*Plus: Release 10.2.0.4.0 - Production on Mon Feb 14 12:23:39 2011
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Connected.
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL0'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL1'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL2'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'CLUST'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'DDIM'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3FACT' WHERE TABART = 'DFACT'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3ODS' WHERE TABART = 'DODS'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'POOL'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SDIC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SDOCU'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SLDEF'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SLEXC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SLOAD'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SPROT'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SSDEF'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SSEXC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SSRC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'TEMP'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3USR' WHERE TABART = 'USER'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.taora SET TABSPACE = 'PSAPSR3USR' WHERE TABART = 'USER1'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL0'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL1'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'APPL2'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'CLUST'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'DDIM'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3FACT' WHERE TABART = 'DFACT'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3ODS' WHERE TABART = 'DODS'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'POOL'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SDIC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SDOCU'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SLDEF'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SLEXC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SLOAD'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SPROT'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SSDEF'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3700' WHERE TABART = 'SSEXC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'SSRC'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3' WHERE TABART = 'TEMP'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3USR' WHERE TABART = 'USER'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    UPDATE SAPSR3.iaora SET TABSPACE = 'PSAPSR3USR' WHERE TABART = 'USER1'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    DELETE FROM SAPSR3.tsora
    ERROR at line 1:
    ORA-00942: table or view does not exist
    INSERT INTO SAPSR3.tsora  (TABSPACE, INDSPACE) VALUES ('PSAPSR3', 'PSAPSR3')
    ERROR at line 1:
    ORA-00942: table or view does not exist
    INSERT INTO SAPSR3.tsora  (TABSPACE, INDSPACE) VALUES ('PSAPSR3FACT', 'PSAPSR3FACT')
    ERROR at line 1:
    ORA-00942: table or view does not exist
    INSERT INTO SAPSR3.tsora  (TABSPACE, INDSPACE) VALUES ('PSAPSR3ODS', 'PSAPSR3ODS')
    ERROR at line 1:
    ORA-00942: table or view does not exist
    INSERT INTO SAPSR3.tsora  (TABSPACE, INDSPACE) VALUES ('PSAPSR3700', 'PSAPSR3700')
    ERROR at line 1:
    ORA-00942: table or view does not exist
    INSERT INTO SAPSR3.tsora  (TABSPACE, INDSPACE) VALUES ('PSAPSR3USR', 'PSAPSR3USR')
    ERROR at line 1:
    ORA-00942: table or view does not exist
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SAPINST: End of output of SQL executing program F:\oracle\IIT\102/bin/sqlplus.
    SAPINST found errors.
    SAPINST The current process environment may be found in sapinst_ora_environment.log.
    2011-02-14, 12:23:42 SAPINST ORACLE stop logging

  • 11i to R12 upgrade : Unable to merge patch 9179588:R12.AD.B with 9477107:R12.AD.B and patch 7461070:R12.AD.B.1

    Hello Sir,
    As per readme for Patch 9179588, I am trying to merge patch (9179588:R12.AD.B) with 9477107:R12.AD.B and R12.AD.B.1
    (patch 7461070). When I run admrgpch without -admode option, admrgpch completes successfully.
    However, when I just add -admode option in same command, getting error that "invalid option -s". Please see below details and suggest since there is Note: This merge should be a full merge using -admode.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    drix10:/fmstop/patches/R1211AD/merge>ls -lrt
    total 13992
    -rw-r--r-- 1 appltest dba 7035668 Aug 03 10:59 p7461070_R12_AIX64-5L.zip
    -rw-r--r-- 1 appltest dba 79016 Aug 04 03:48 p9179588_R12.AD.B_R12_GENERIC.zip
    -rw-r--r-- 1 appltest dba 38579 Aug 04 05:22 p9477107_R12.AD.B_R12_GENERIC.zip
    -rw-r--r-- 1 appltest dba 94 Aug 04 13:27 manifest.txt
    drix10:/fmstop/patches/R1211AD/merge>cat manifest.txt
    p7461070_R12_AIX64-5L.zip
    p9179588_R12.AD.B_R12_GENERIC.zip
    p9477107_R12.AD.B_R12_GENERIC.zip
    drix10:/fmstop/patches/R1211AD/merge>
    drix10:/fmstop/patches/R1211AD/merge>admrgpch -admode -s /fmstop/patches/R1211AD/merge -d /fmstop/patches/R1211AD/merge -merge_name merged_R12AD11 -manifest manifest.txt
    Error: Invalid option: -s
    usage: admrgpch -help
    admrgpch <source_directory> <destination_directory>
    admrgpch -s <source_directory> -d <destination_directory>
    [-verbose <level>] [-merge_name <pattern>]
    [-manifest <filename>] [-logfile <filename>]
    where
    * -help Print help message.
    * -verbose <level> Can be one of: { 0(SILENT),
    1(QUIET), 2(VERBOSE) or 3(LOUD) }
    Default - 1(QUIET).
    * -merge_name <pattern> The name of the merged patch (max 24 characters).
    Default - "merged".
    * -s <source_directory> Path of source directory where all patches to be
    merged have been unzipped.
    * -d <destination_directory> Path of destination directory where the merged
    patch will be created.
    * -manifest <filename> Full pathname of a file containing the list of
    patch zip files to be merged.
    * -logfile <filename> Admrgpch log file name.
    Default:"<CWD>/admrgpch.log".
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Without option -admode :
    drix10:/fmstop/patches/R1211AD/merge>admrgpch -s /fmstop/patches/R1211AD/merge -d /fmstop/patches/R1211AD/merge -merge_name merged_R12AD11 -manifest manifest.txt
    unzipping p7461070_R12_AIX64-5L.zip..
    unzipping p9179588_R12.AD.B_R12_GENERIC.zip..
    unzipping p9477107_R12.AD.B_R12_GENERIC.zip..
    Executing the merge of the patch drivers
    -- Processing patch: /fmstop/patches/R1211AD/merge/7461070
    -- Done processing patch: /fmstop/patches/R1211AD/merge/7461070
    -- Processing patch: /fmstop/patches/R1211AD/merge/9179588
    -- Done processing patch: /fmstop/patches/R1211AD/merge/9179588
    -- Processing patch: /fmstop/patches/R1211AD/merge/9477107
    -- Done processing patch: /fmstop/patches/R1211AD/merge/9477107
    Copying files...
    5% complete. Copied 44 files of 876...
    10% complete. Copied 88 files of 876...
    15% complete. Copied 132 files of 876...
    20% complete. Copied 176 files of 876...
    25% complete. Copied 219 files of 876...
    30% complete. Copied 263 files of 876...
    35% complete. Copied 307 files of 876...
    40% complete. Copied 351 files of 876...
    45% complete. Copied 395 files of 876...
    50% complete. Copied 438 files of 876...
    55% complete. Copied 482 files of 876...
    60% complete. Copied 526 files of 876...
    65% complete. Copied 570 files of 876...
    70% complete. Copied 614 files of 876...
    75% complete. Copied 657 files of 876...
    80% complete. Copied 701 files of 876...
    85% complete. Copied 745 files of 876...
    90% complete. Copied 789 files of 876...
    95% complete. Copied 833 files of 876...
    100% complete. Copied 876 files of 876...
    Character-set converting files...
    3 unified drivers merged.
    Patch merge completed successfully
    Please check the log file at ./admrgpch.log.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    I am executing admrgpch after sourcing 11i environment and version for admrgpch is :
    drix10:/fmstop/fmstest/fmstestappl/ad/11.5.0/bin>adident Header admerge.pl
    admerge.pl:
    $Header admerge.pl 115.22 2008/09/18 12:12:08 nissubra noship $

    Hi Srini,
    Thanks a lot !
    Actually, I tried that one as well by running admrgpch from newly installed R12 code tree and I got below error.
    drix10:/fmstop/r12apps/apps/apps_st/appl/ad/12.0.0/bin>ls -rlt admrgpch
    -rwxr-xr-x    1 appltest dba        14293576 Mar 30 2009  admrgpch
    drix10:/fmstop/r12apps/apps/apps_st/appl/ad/12.0.0/bin>admrgpch -s /fmstop/patches/R1211AD/merge -d /fmstop/patches/R1211AD/merge -merge_name merged_R12AD11 -manifest manifest.txt -admode
    exec(): 0509-036 Cannot load program ./admrgpch because of the following errors:
            0509-150   Dependent module libnnz10.so could not be loaded.
            0509-022 Cannot load module libnnz10.so.
            0509-026 System error: A file or directory in the path name does not exist.
    Then I sourced R12 environment file and ran same command. Its completed successfully.
    drix10:/fmstop/patches/R1211AD/merge>admrgpch -s /fmstop/patches/R1211AD/merge -d /fmstop/patches/R1211AD/merge -merge_name merged_R12AD11 -manifest manifest.txt -admode
    unzipping p7461070_R12_AIX64-5L.zip..
    unzipping p9179588_R12.AD.B_R12_GENERIC.zip..
    unzipping p9477107_R12.AD.B_R12_GENERIC.zip..
    Executing the merge of the patch drivers
    -- Processing patch: /fmstop/patches/R1211AD/merge/7461070
    -- Processing file: /fmstop/patches/R1211AD/merge/7461070/u7461070.drv
    -- Done processing file: /fmstop/patches/R1211AD/merge/7461070/u7461070.drv
    -- Done processing patch: /fmstop/patches/R1211AD/merge/7461070
    -- Processing patch: /fmstop/patches/R1211AD/merge/9179588
    -- Processing file: /fmstop/patches/R1211AD/merge/9179588/u9179588.drv
    -- Done processing file: /fmstop/patches/R1211AD/merge/9179588/u9179588.drv
    -- Done processing patch: /fmstop/patches/R1211AD/merge/9179588
    -- Processing patch: /fmstop/patches/R1211AD/merge/9477107
    -- Processing file: /fmstop/patches/R1211AD/merge/9477107/u9477107.drv
    -- Done processing file: /fmstop/patches/R1211AD/merge/9477107/u9477107.drv
    -- Done processing patch: /fmstop/patches/R1211AD/merge/9477107
    Copying files...
    5% complete. Copied 45 files of 883...
    10% complete. Copied 89 files of 883...
    15% complete. Copied 133 files of 883...
    20% complete. Copied 177 files of 883...
    25% complete. Copied 221 files of 883...
    30% complete. Copied 265 files of 883...
    35% complete. Copied 310 files of 883...
    40% complete. Copied 354 files of 883...
    45% complete. Copied 398 files of 883...
    50% complete. Copied 442 files of 883...
    55% complete. Copied 486 files of 883...
    60% complete. Copied 530 files of 883...
    65% complete. Copied 574 files of 883...
    70% complete. Copied 619 files of 883...
    75% complete. Copied 663 files of 883...
    80% complete. Copied 707 files of 883...
    85% complete. Copied 751 files of 883...
    90% complete. Copied 795 files of 883...
    95% complete. Copied 839 files of 883...
    100% complete. Copied 883 files of 883...
    Character-set converting files...
      3 unified drivers merged.
    Patch merge completed successfully
    Please check the log file at ./admrgpch.log.

  • PL/SQL: ORA-00942: table or view does not exist

    Hi
    i have logged into my schema and trying to access the database "DAD" which has the table name "SCHOOL"
    i wrote a function which should give me new_sno when i give it the old_sno
    and i have this errors , pls help
    CREATE OR REPLACE FUNCTION ORIG_SN(OSNO in Number,OTN in Number)
    RETURN Number IS
    NEW_SNO Number:=0;
    BEGIN
    SELECT new_sno AS NEW_SNO
    FROM DAD.SCHOOL
    WHERE ORIG_SNO = OSNO AND ORIG_TN = OTN;
    RETURN NEW_SNO;
    END ORIG_SN;
    Warning: Function created with compilation errors.
    Errors for FUNCTION ORIG_SN:
    LINE/COL ERROR
    5/1 PL/SQL: SQL Statement ignored
    6/15 PL/SQL: ORA-00942: table or view does not exist
    Thanks in advance ..

    Try this,
    CREATE VIEW SCHOOL_VIEW AS SELECT * FROM DAD.SCHOOL;and then change your function like
    CREATE OR REPLACE FUNCTION ORIG_SN(OSNO in Number,OTN in Number)
    RETURN Number IS
    my_new_sno Number:=0;
    BEGIN
    SELECT new_sno INTO my_new_sno FROM SCHOOL_VIEW WHERE ORIG_SNO = OSNO AND ORIG_TN = OTN;
    RETURN my_new_sno;
    END ORIG_SN;and see if it is getting created without any errors.
    -Arun
    Edited by: Arunkumar Ramamoorthy on Aug 15, 2009 1:56 AM

  • PL/SQL Exception for ORA-00942 - Table or view not found?

    Hey there!
    I want to create an exception my code runs into whenever it tries to select from a table that is not existent (or because of insufficient privileges).
    How can I get these ORA-00942 errors and place them into a exception? Except for WHEN OTHERS, that's not concrete enough.
    Regards,
    Thomas

    SQL> DECLARE
      2   table_not_found EXCEPTION;
      3   PRAGMA EXCEPTION_INIT(table_not_found, -942);
      4  BEGIN
      5   EXECUTE IMMEDIATE 'SELECT COUNT(*) FROM DUALX';
      6  EXCEPTION
      7   WHEN table_not_found
      8   THEN
      9      dbms_output.put_line('Table NOT found');
    10  END;
    11  /
    Table NOT found

  • ORA-00942 on import application

    I created an application in one database (Oracle 10) with Apex 4.1.1.
    I exported this application, and tried to import it using the Apex 'Application Builder' page into another database (Oracle 10) with Apex 4.1.1.
    But I encounter an ORA-942 (complete error message as shown in my browser).
    Workflow:
    - Open page Home - Application Builder - Import (page nr 460)
    - Browse for import file
    File type 'Database Application, Page or Component Export'
    - Click next. For 2 sec's I see 'Importing file', then below error appears.
    Has anybody seen this?
    PS Sofar only the default 'Sample Database Application' existed in the destination database, and that app is working normally.
    Thu, 26 Apr 2012 09:51:38 GMT
    ORA-00942: table or view does not exist
    DAD name: ANTPETX
    PROCEDURE : wwv_flow.accept
    URL : http://by-spieu.abc-ag.com:4443/pls/ANTPETX/wwv_flow.accept
    PARAMETERS :
    ===========
    ENVIRONMENT:
    ============
    PLSQL_GATEWAY=WebDb
    GATEWAY_IVERSION=3
    SERVER_SOFTWARE=Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server
    GATEWAY_INTERFACE=CGI/1.1
    SERVER_PORT=4443
    SERVER_NAME=by-spieu.abc-ag.com
    REQUEST_METHOD=POST
    QUERY_STRING=
    PATH_INFO=/wwv_flow.accept
    SCRIPT_NAME=/pls/ANTPETX
    REMOTE_HOST=
    REMOTE_ADDR=10.23.68.37
    SERVER_PROTOCOL=HTTP/1.1
    REQUEST_PROTOCOL=HTTPS
    REMOTE_USER=BY_ANTPETX
    ORACLE_SSO_USER=
    OSSO_IDLE_TIMEOUT_EXCEEDED=
    OSSO_USER_GUID=
    HTTP_CONTENT_LENGTH=3201862
    HTTP_CONTENT_TYPE=multipart/form-data; boundary=---------------------------7dcc12320df6
    HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; Tablet PC 2.0)
    HTTP_HOST=by-spieu.abc-ag.com:4443
    HTTP_ACCEPT=image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
    HTTP_ACCEPT_ENCODING=gzip, deflate
    HTTP_ACCEPT_LANGUAGE=en-GB
    HTTP_ACCEPT_CHARSET=
    HTTP_COOKIE=ORA_WWV_REMEMBER_UN=ADMIN:BY_APEX_SHARED; ORA_WWV_USER_71422666970717=752E94EBCB3EB577992FF26CE5EFC2D7
    HTTP_IF_MODIFIED_SINCE=
    HTTP_REFERER=https://by-spieu.abc-ag.com:4443/pls/ANTPETX/f?p=4000:460:435134425064001::NO:460:F4000_P56_CREATE_OPTION,P460_FILE_TYPE:IMP,FLOW_EXPORT
    HTTP_SOAPACTION=
    HTTP_ORACLE_ECID=1335433895:10.190.175.119:22376:0:690,0
    HTTP_ORACLE_CACHE_VERSION=
    HTTP_AUTHORIZATION=
    WEB_AUTHENT_PREFIX=
    DAD_NAME=ANTPETX
    DOC_ACCESS_PATH=docs
    DOCUMENT_TABLE=wpg_document
    PATH_ALIAS=
    REQUEST_CHARSET=AL32UTF8
    REQUEST_IANA_CHARSET=UTF-8
    SCRIPT_PREFIX=/pls
    HTTP_IF_MATCH=
    HTTP_CACHE_CONTROL=
    SOAP_BODY=
    HTTP_X_ORACLE_DEVICE_CLASS=
    HTTP_X_ORACLE_DEVICE_ORIENTATION=
    HTTP_X_ORACLE_DEVICE_MAXDOCSIZE=
    HTTP_X_ORACLE_DEVICE=
    HTTP_X_ORACLE_ORIG_ACCEPT=
    HTTP_X_ORACLE_ORIG_USER_AGENT=
    HTTP_X_ORACLE_USER_LOCALE=
    HTTP_X_ORACLE_USER_NAME=
    HTTP_X_ORACLE_USER_DISPLAYNAME=
    HTTP_X_ORACLE_USER_USERKIND=
    HTTP_X_ORACLE_USER_AUTHKIND=
    HTTP_X_ORACLE_USER_DEVICEID=
    HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE1=
    HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE2=
    HTTP_X_ORACLE_USER_LOCATION_ADDRESSLASTLINE=
    HTTP_X_ORACLE_USER_LOCATION_BLOCK=
    HTTP_X_ORACLE_USER_LOCATION_CITY=
    HTTP_X_ORACLE_USER_LOCATION_COMPANYNAME=
    HTTP_X_ORACLE_USER_LOCATION_COUNTY=
    HTTP_X_ORACLE_USER_LOCATION_STATE=
    HTTP_X_ORACLE_USER_LOCATION_POSTALCODE=
    HTTP_X_ORACLE_USER_LOCATION_POSTALCODEEXT=
    HTTP_X_ORACLE_USER_LOCATION_COUNTRY=
    HTTP_X_ORACLE_USER_LOCATION_TYPE=
    HTTP_X_ORACLE_USER_LOCATION_X=
    HTTP_X_ORACLE_USER_LOCATION_Y=
    HTTP_X_ORACLE_SERVICE_HOME_URL=
    HTTP_X_ORACLE_SERVICE_PARENT_URL=
    HTTP_X_ORACLE_HOME_URL=
    HTTP_X_ORACLE_MODULE_CALLBACK_URL=
    HTTP_X_ORACLE_MODULE_CALLBACK_LABEL=
    HTTP_X_ORACLE_CACHE_USER=
    HTTP_X_ORACLE_CACHE_SUBID=
    HTTP_X_ORACLE_CACHE_AUTH=
    HTTP_X_ORACLE_CACHE_DEVICE=
    HTTP_X_ORACLE_CACHE_LANG=
    HTTP_X_ORACLE_CACHE_ENCRYPT=
    HTTP_X_ORACLE_ASSERT_USER=

    All objects were valid.
    Now I noted a big difference between my development setup on my laptop, and the production setup (by our dba).
    In my laptop, the http client connects to APEX_PUBLIC_USER.
    In production, the http client connects to the oracle user where we will setup our application tables.

  • ORA-01092: ORACLE instance terminated. Disconnection forced ORA-00942: table or view does not exist on 12C RAC

    Hi Geeks,
    I have encountered an issue while starting up my database on 12c RAC.
    Till mount it goes fine but when i attempt to open it throws me an error.
    Total System Global Area 1.5400E+10 bytes
    Fixed Size                  4737560 bytes
    Variable Size            2952791528 bytes
    Database Buffers         1.2415E+10 bytes
    Redo Buffers               26857472 bytes
    Database mounted.
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-00942: table or view does not exist
    Process ID: 11338068
    Session ID: 1429 Serial number: 3
    Here is the trace file output...
    ORACLE_HOME = /oracle_home/app/orahome
    System name:    AIX
    Node name:      INS1
    Release:        1
    Version:        7
    Machine:        00C8CCA74C00
    Instance name: INST1
    Redo thread mounted by this instance: 1
    Oracle process number: 7
    Unix process pid: 20381876, image: oracle@ins1 (TNS V1-V3)
    *** 2014-11-27 22:49:20.892
    *** SESSION ID:(197.5) 2014-11-27 22:49:20.892
    *** CLIENT ID:() 2014-11-27 22:49:20.892
    *** SERVICE NAME:() 2014-11-27 22:49:20.892
    *** MODULE NAME:(sqlplus@ins1 (TNS V1-V3)) 2014-11-27 22:49:20.892
    *** ACTION NAME:() 2014-11-27 22:49:20.892
    2014-11-27 22:49:20.889716 : Start recovery for domain=0, valid=0, flags=0x4
    *** 2014-11-27 22:49:24.580
    Successfully allocated 32 recovery slaves
    Using 3 overflow buffers per recovery slave
    *** 2014-11-27 22:49:24.740
    Thread 1 checkpoint: logseq 15, block 2, scn 3510749
      cache-low rba: logseq 15, block 3
        on-disk rba: logseq 15, block 72, scn 3510824
      start recovery at logseq 15, block 3, scn 0
    *** 2014-11-27 22:49:24.981
    Started resilvering redo thread 1 seq 15 blocks 72-73
    *** 2014-11-27 22:49:24.994
    Completed resilvering redo thread 1 seq 15
    *** 2014-11-27 22:49:24.994
    Started writing zeroblks thread 1 seq 15 blocks 74-81
    *** 2014-11-27 22:49:24.994
    Completed writing zeroblks thread 1 seq 15
    ==== Redo read statistics for thread 1 ====
    Total physical reads (from disk and memory): 4096Kb
    -- Redo read_disk statistics --
    Read rate (ASYNC): 35Kb in 0.25s => 0.14 Mb/sec
    Longest record: 0Kb, moves: 0/104 (0%)
    Longest LWN: 2Kb, moves: 0/33 (0%), moved: 0Mb
    Last redo scn: 0x0000.0035922b (3510827)
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 262144
    Longest hash chain = 1
    Average hash chain = 25/25 = 1.0
    Max compares per lookup = 1
    Avg compares per lookup = 151/176 = 0.9
    *** 2014-11-27 22:49:25.007
    KCRA: start recovery claims for 25 data blocks
    *** 2014-11-27 22:49:25.039
    KCRA: blocks processed = 25/25, claimed = 25, eliminated = 0
    *** 2014-11-27 22:49:25.054
    Recovery of Online Redo Log: Thread 1 Group 6 Seq 15 Reading mem 0
    *** 2014-11-27 22:49:25.060
    Completed redo application of 0.02MB
    *** 2014-11-27 22:49:25.235
    Completed recovery checkpoint
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 262144
    Longest hash chain = 1
    Average hash chain = 25/25 = 1.0
    Max compares per lookup = 1
    Avg compares per lookup = 176/176 = 1.0
    Recovery sets nab of thread 1 seq 15 to 74 with 8 zeroblks
    *** 2014-11-27 22:49:26.000
    2014-11-27 22:49:26.000433 : Validate domain 0
    2014-11-27 22:49:26.001348 : Validated domain 0, flags = 0x0
    *** 2014-11-27 22:49:28.315
    Count of ofsmtab$: 0 entries
    *** 2014-11-27 22:49:28.732
    ORA-00942: table or view does not exist
    ORA-00942: table or view does not exist
    *** 2014-11-27 22:49:28.738
    USER (ospid: 20381876): terminating the instance due to error 942

    In my case the issue has fixed by executing the following..
    grant SELECT on SYS.USER$ to XDB;
    grant SELECT on SYS.USER$ to CTXSYS;
    grant SELECT on SYS.USER$ to DVSYS;
    grant SELECT on SYS.USER$ to LBACSYS;
    grant SELECT on SYS.USER$ to APEX_040200;
    grant SELECT on SYS.USER$ to DV_SECANALYST; 
    Refer the above screen shot...

  • Database startup showing ORA-00942: table or view does not exist in trace

    Hi Friends,
    SunOS 5.10 Generic_137112-06 i86pc i386 i86pc , 64 Bit
    Oracle 10.2.0.1.0
    While I am doing a startup, getting following error.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area 3221225472 bytes
    Fixed Size 2122544 bytes
    Variable Size 410819792 bytes
    Database Buffers 2801795072 bytes
    Redo Buffers 6488064 bytes
    Database mounted.
    ORA-01092: ORACLE instance terminated. Disconnection forcedThe alert log shows the following
    Errors in file /applns/oracle/admin/CTSD1/udump/ctsd1_ora_11486.trc:
    ORA-00942: table or view does not exist
    Error 942 happened during db open, shutting down database
    USER: terminating instance due to error 942
    Instance terminated by USER, pid = 11486
    ORA-1092 signalled during: ALTER DATABASE OPEN...A look at the trace file shows this
    /applns/oracle/admin/CTSD1/udump/ctsd1_ora_11486.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /applns/oracle
    System name: SunOS
    Node name: N890
    Release: 5.10
    Version: Generic_137112-06
    Machine: i86pc
    Instance name: CTSD1
    Redo thread mounted by this instance: 1
    Oracle process number: 23
    Unix process pid: 11486, image: oracle@N890 (TNS V1-V3)
    *** SERVICE NAME:() 2011-02-16 19:24:50.188
    *** SESSION ID:(325.3) 2011-02-16 19:24:50.188
    Successfully allocated 3 recovery slaves
    Using 367 overflow buffers per recovery slave
    Thread 1 checkpoint: logseq 45929, block 2, scn 310788795>cache-low rba: logseq 45929, block 3
    >on-disk rba: logseq 45929, block 52, scn 310788832
    >start recovery at logseq 45929, block 3, scn 0
    ----- Redo read statistics for thread 1 -----
    Read rate (ASYNC): 24Kb in 0.31s => 0.08 Mb/sec
    Total physical reads: 4096Kb
    Longest record: 0Kb, moves: 0/61 (0%)
    Longest LWN: 16Kb, moves: 0/3 (0%), moved: 0Mb
    Last redo scn: 0x0000.128642df (310788831)
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 1
    Average hash chain = 4/4 = 1.0
    Max compares per lookup = 1
    Avg compares per lookup = 117/121 = 1.0
    *** 2011-02-16 19:24:50.515
    KCRA: start recovery claims for 4 data blocks
    *** 2011-02-16 19:24:50.515
    KCRA: blocks processed = 4/4, claimed = 4, eliminated = 0
    *** 2011-02-16 19:24:50.516
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 45929 Reading mem 0
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 1
    Average hash chain = 4/4 = 1.0
    Max compares per lookup = 1
    Avg compares per lookup = 121/121 = 1.0
    ORA-00942: table or view does not existI have searched MOS and Google, but didn;'t get any relevant results.
    Also flushed my shared_pool as mentioned in (http://www.tanelpoder.com/files/oracle_rowcache.pdf) after mount and started , still no luck
    Any help is appreciated
    Thanks
    SSN

    Hi,
    Thanks.
    Tried log mining, but still couldn't find the culprit. I think now, I have to drop and create this db.Still wondering what might have happened.
    select group#,status from v$log;
        GROUP# STATUS
             1 INACTIVE
             3 INACTIVE
             2 CURRENT
    SQL> select group#,MEMBER from v$logfile where group#=2;
        GROUP#
    MEMBER
             2
    /applns/oracle/oradata/CTSD1/redo02.log
    SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redo02.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
    PL/SQL procedure successfully completed.
    SQL> EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
    PL/SQL procedure successfully completed.
    SQL> SELECT COUNT (*) FROM   v$logmnr_contents WHERE  operation = 'DDL';
      COUNT(*)
             0
    SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
    PL/SQL procedure successfully completed.
    SQL> select group#,MEMBER from v$logfile where group#=1;
        GROUP#
    MEMBER
             1
    /applns/oracle/oradata/CTSD1/redo01.log
             1
    /applns/oracle/oradata/CTSD1/redolog001.log
    SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redo01.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
    PL/SQL procedure successfully completed.
    SQL> EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
    PL/SQL procedure successfully completed.
    SQL> SELECT COUNT (*) FROM   v$logmnr_contents WHERE  operation = 'DDL';
      COUNT(*)
             0
    SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
    PL/SQL procedure successfully completed.
    SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redolog001.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
    PL/SQL procedure successfully completed.
    SQL> EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
    PL/SQL procedure successfully completed.
    SQL> SELECT COUNT (*) FROM   v$logmnr_contents WHERE  operation = 'DDL';
      COUNT(*)
             0
    SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
    PL/SQL procedure successfully completed.
    SQL> select group#,MEMBER from v$logfile where group#=3
        GROUP#
    MEMBER
             3
    /applns/oracle/oradata/CTSD1/redo03.log
    SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redo03.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
    PL/SQL procedure successfully completed.
    SQL>  EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
    PL/SQL procedure successfully completed.
    SQL> SELECT COUNT (*) FROM   v$logmnr_contents WHERE  operation = 'DDL';
      COUNT(*)
             0
    SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
    PL/SQL procedure successfully completed.SSN

  • ORA-00942: table or view does not exist in database control

    Hi all,
    i am getting "ORA-00942: table or view does not exist" error while accessing tablespaces from database control. i am able to access control files, redo log files everything fine, but not tablespaces.
    database version ---> 10.2.0.1
    OS ----> RedHat Enterprise Linux 4 U 2
    but the database is working fine from SQL*Plus and other Editors. this error is only from database control. so what might be the cause.
    Any Ideas ...........
    Balaji

    hi,
    Have you tried to re register your database within OEM, CG

  • ERROR ORA-00942: table or view does not exist

    Hi:
    I created a .sql file and a loader file. Running the .sql file with sql * plus Worksheet:
    declare
    gr sdo_georaster;
    begin
    select image into gr from gis.RasterImages where geoid=1 for update;
    sdo_geor.generatePyramid(gr,'resampling=NN');
    update gis.RasterImages set image=gr where geoid=1;
    commit;
    end;
    I trying to create a pyramid,but the error appeared:
    ERROR at line 1:
    ORA-29400: DATA CONTROL ERROR ORA-00942: table or view does not exist
    ORA-06512: &#22312; "MDSYS.SDO_GEOR_INT", line 162
    ORA-06512: &#22312; "MDSYS.SDO_GEOR", line 826
    ORA-06512: &#22312; line 5
    I don't know why?
    Anyone can help me?
    Thanks.

    Hi,
    I think you are executing the select statement for schema X and the table is in the schema srnr.
    And schema X is not having select privilege on the table 'students' present in schema srnr.
    Goto schema srnr.
    Execute the following statement:
    grant select on students to X;
    This will give schema X the privilege to query the table students present in srnr.
    Regards,
    Anupama

Maybe you are looking for

  • ICal crashing after iOS4 update

    Since updating my iPhone 3G to iOS4 last week I have been unable to use iCal. It crashes about 10 seconds after opening. I have tried resetting the sync data and also have tried unselecting calendar syncing in .mac prefs but this has not worked. I ha

  • How do I stream to appletv?

    I  am considering subscribing to the Creative Cloud in order to use Lightroom 5 to edit and organize my photos (I used to use Aperture and the editing tools in the Apples Photos app are not sufficiently robust). However I must be able to stream my ph

  • Router speed for streaming from NAS to Windows to Hi-Fi

    I've been advised to post this here rather than the iTunes for Windows forum it's turned into an Airplay question. I have just purchased a Windows 8.1 tablet and one of the main things I want to use it for is to stream music from a NAS to my Airplay

  • Portal Admin console capabilities

    Hi, Why is that through portal admin console i cannot add new content search conditions (for example for a content selector) but only update the existing conditions? Isnt this a serious drawback if conditions need to be added directly in production,

  • Problem while reordering a managed collection

    Hello, I'm trying to implement a feature that allows users to freely re-arrange items into a managed collection, using Drag and Drop. I'm using a TileList object, which already has built-in support for Drag and Drop, provided by Flex. A FDS destinati