10.2 to 11.2 upgrade ORA-20011/ORA-12702

ORA-20011/ORA-12702 error received post upgrade (in 11g) when running full database stats,
   stats worked in 10g. upgrade appeared successful, no errors.
database:
freshly upgraded from 10.2.0.3.0 => 
Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE    11.2.0.1.0      Production
TNS for Solaris: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
server:
SunOS xxxxxx 5.10 Generic_Virtual sun4v sparc sun4v
64-bit sparcv9 kernel modules
SQL> exec dbms_stats.gather_database_stats;
BEGIN dbms_stats.gather_database_stats; END;
ERROR at line 1:
ORA-20011: Approximate NDV failed: ORA-12702: invalid NLS parameter string used in SQL function
ORA-06512: at "SYS.DBMS_STATS", line 20508
ORA-06512: at "SYS.DBMS_STATS", line 20993
ORA-06512: at "SYS.DBMS_STATS", line 21150
ORA-06512: at "SYS.DBMS_STATS", line 21109
ORA-06512: at line 1
SQL> exec dbms_stats.gather_database_stats_job_proc;
PL/SQL procedure successfully completed.
SQL> exec DBMS_STATS.GATHER_DATABASE_STATS (estimate_percent =>100, block_sample=>FALSE, method_opt=>'for all columns size auto', degree=>null, cascade=>true, no_invalidate=>false, options=>'GATHER STALE', gather_sys=>FALSE);
PL/SQL procedure successfully completed.
SQL> !env | grep NLS
NLS_LANG=american
NLS_DATE_FORMAT=YYYY/MM/DD HH24:MI:SS
SQL> select userenv('LANGUAGE') from dual;
USERENV('LANGUAGE')
AMERICAN_AMERICA.AL32UTF8
SQL> select * from v$nls_parameters where parameter like '%CHARACTERSET%';
PARAMETER
VALUE
NLS_CHARACTERSET
AL32UTF8
NLS_NCHAR_CHARACTERSET
AL16UTF16
any ideas, please? I haven't seen this elsewhere..

may be its due to version issue. you Source database is 10.2.0.3.0  and it should be 10.2.0.4.0
Prerequisite
1.  your source database must be atleast 10.2.0.4.0  or Patch set for 10.2.0.2.5 should be installed
2.  Time version must be >= 4
Regards
Sanchit Gupta

Similar Messages

  • Load xml - xls with OWB error "ORA-20011:....Start of root element expected

    Hi
    I need to load XML document into a table in Oracle warehouse builder.
    I've followed the steps as given in the user guide and I get the following error,
    ORA-20011: Error occurred while loading source XML document into the target database object PURCHASE_ORDERS.
    Base exception: Start of root element expected.
    ORA-06512: at "DC_DWH.WB_XML_LOAD_F", line 12
    ORA-06512: at "DC_DWH.WB_XML_LOAD", line 4
    ORA-06512: at line 7
    The steps are:
    DECLARE
    CONTROL_INFO VARCHAR2(200);
    BEGIN
    CONTROL_INFO := '<OWBXMLRuntime> <XMLSource> <file>c:\xml_test\y.xml</file> </XMLSource> <targets> <target XSLFile="c:\xml_test\y.xsl" dateFormat="yyyy.MM.dd">PURCHASE_ORDERS</target> </targets></OWBXMLRuntime>';
    DC_DWH.Wb_Xml_Load ( CONTROL_INFO );
    COMMIT;
    END;
    where:
    ------------- y.xml ----------------
    <purchaseOrder>
    <id>103123-4</id>
    <orderDate>2000-10-20</orderDate>
    <shipTo country="US">
    <name>Alice Smith</name>
    <street>123 Maple Street</street>
    <city>Mill Valley</city>
    <state>CA</state>
    <zip>90952</zip>
    </shipTo>
    <comment>Hurry, my lawn is going wild!</comment>
    <items>
    <item>
    <partNum>872-AA</partNum>
    <productName>Lawnmower</productName>
    <quantity>1</quantity>
    <USPrice>148.95</USPrice>
    <comment>Confirm this is electric</comment>
    </item>
    <item>
    <partNum>845-ED</partNum>
    <productName>Baby Monitor</productName>
    <quantity>1</quantity>
    <USPrice>39.98</USPrice>
    <shipDate>1999-05-21</shipDate>
    </item>
    </items>
    </purchaseOrder>
    -----------------y.xsl -------------------
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2004/07/xpath-functions" xmlns:xdt="http://www.w3.org/2004/07/xpath-datatypes">
    <SHIPTO_NAME>
    <xsl:value-of select="purchaseOrder/shipTo/name"/>
    </SHIPTO_NAME>
    <SHIPTO_STREET>
    <xsl:value-of select="purchaseOrder/shipTo/street"/>
    </SHIPTO_STREET>
    <SHIPTO_CITY>
    <xsl:value-of select="purchaseOrder/shipTo/city"/>
    </SHIPTO_CITY>
    </xsl:stylesheet>
    Any help is appreciated

    Hello,
    The error occurs as far as your XSL file has incorrect structure. Your have to transform incoming XML in so-called (by Oracle) canonical form i.e.:
    <ROWSET>
    <ROW>
    <FIELD_1>value-for-field-1</FIELD_1>
    <FIELD_N>value-for-field-N</FIELD_N>
    </ROW>
    </ROWSET>
    So, assuming your table has three fields : SHIPTO_NAME, SHIPT_STREET, SHIPTO_CITY, - your XSL file should look like following:
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
    <xsl:template match=”/”>
    <ROWSET>
    <xsl:apply-templates select=”purchaseOrder”/>
    </ROWSET>
    </xsl:template>
    <xsl:template match=”purchaseOrder”>
    <ROW>
    <SHIPTO_NAME><xsl:value-of select=”shipTo/name”/></SHIPTO_NAME>
    <SHIPTO_STREET><xsl:value-of select=”shipTo/street”/></SHIPTO_STREET>
    <SHIPTO_CITY><xsl:value-of select=”shipTo/city”/></SHIPTO_CITY>
    </ROW>
    </xsl:template>
    </xsl:stylesheet>
    Hope this will help.

  • ORA-20011: Approximate NDV failed: ORA-31000: Resource Error in Oracle 11g

    Hi Friends,
    I am using Oracle 11.2.0.1 on linux (x64) and i am getting the following messages in Alert Log / Trace Log.
    Please let me know the fix.
    Alert Log:
    GATHER_STATS_JOB encountered errors. Check the trace file.
    Errors in file /u01/app/oracle/diag/rdbms/oraht01/oraht01/trace/oraht01_j001_30852.trc:
    ORA-20011: Approximate NDV failed: ORA-31000: Resource '' is not an XDB schema document
    ORA-06512: at "XDB.XDB$ACL_PKG_INT", line 18
    Trace File entries:
    ----- Guard Frame Metadata Dump -----
    ----- Java Stack -----
    ORA-20011: Approximate NDV failed: ORA-31000: Resource '' is not an XDB schema document
    ORA-06512: at "XDB.XDB$ACL_PKG_INT", line 18
    *** 2013-01-21 22:00:36.397
    GATHER_STATS_JOB: GATHER_TABLE_STATS('"XDB"','"XDB$ACL"','""', ...)
    ORA-20011: Approximate NDV failed: ORA-31000: Resource '' is not an XDB schema document
    ORA-06512: at "XDB.XDB$ACL_PKG_INT", line 18
    Regards,
    DB

    Hi Friends,
    Thanks for the info but the referred Thread and the Metalink Notes : 1290722.1 or 1305127.1 doesn't help me.
    Trace File :
    *** 2013-01-21 22:00:29.760
    *** SESSION ID:(28.36753) 2013-01-21 22:00:29.760
    *** CLIENT ID:() 2013-01-21 22:00:29.760
    *** SERVICE NAME:(SYS$USERS) 2013-01-21 22:00:29.760
    *** MODULE NAME:(DBMS_SCHEDULER) 2013-01-21 22:00:29.760
    *** ACTION NAME:(ORA$AT_OS_OPT_SY_1144) 2013-01-21 22:00:29.760
    SQL> SELECT JOB_NAME,STATUS,ADDITIONAL_INFO FROM DBA_SCHEDULER_JOB_RUN_DETAILS WHERE JOB_NAME = 'ORA$AT_OS_OPT_SY_1144';
    JOB_NAME
    STATUS
    ADDITIONAL_INFO
    ORA$AT_OS_OPT_SY_1144
    SUCCEEDED
    The job show completed but i want to avoid this issue in the Alert.
    Regards,
    DB

  • ORA-20011: Approximate NDV failed:

    Following errors written to the Alert log file. can anybody tell u what is the reason & how we can resolve
    ORA-20011: Approximate NDV failed:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    Thanks in advance..

    Hi all,
    Finally we got the solution.
    we faced the issue only after DB migration from 10g to 11.2.
    after migration ..some oracle external files, ext tables and oracle directory entries belongs to old DB was also migrated to new DB.
    Whenever we are analyzing the schema it tried to access those false objects, which where not actually present in new DB..
    Due to this oracle written the error message to alert log file....
    Solution:
    Try to check all the db directories are valid, or any external table entries are there in db with out actual flat files. if yes remove the entries from db
    using
    drop directory dir_name
    drop table .. statements....
    or try to create the needed dir or files with the same name...
    Thanks
    @ble

  • ORA-20011: Approximate NDV failed: ORA-29913: error in executing ODCIEXTTAB

    Hello All,
    I am using Oracle 11.2.0.3
    in my alert logs I found the below errors:
    ORA-20011: Approximate NDV failed: ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    KUP-11024: This external table can only be accessed from within a Data Pump job.to resolve that i did the below steps:
    SELECT owner_name, job_name, operation, job_mode,
    state, attached_sessions
    FROM dba_datapump_jobs
    WHERE job_name NOT LIKE 'BIN$%'
    ORDER BY 1,2; the result was that there is two running jobs and the attached_session flag was equal to 1, something like the below:
    OWNER_NAME JOB_NAME            OPERATION JOB_MODE  STATE       ATTACHED
    SCOTT      SYS_IMPORT_TABLE_05      IMPORT TABLE RUNNING        1
    SCOTT      SYS_IMPORT_TABLE_01 IMPORT TABLE     RUNNING        1 so i stopped these 2 jobs using the below statements:
    SET serveroutput on
    SET lines 100
    DECLARE
       h1 NUMBER;
    BEGIN
       h1 := DBMS_DATAPUMP.ATTACH('SYS_IMPORT_TABLE_05','SCOTT');
       DBMS_DATAPUMP.STOP_JOB (h1);
    END;
    SET serveroutput on
    SET lines 100
    DECLARE
       h1 NUMBER;
    BEGIN
       h1 := DBMS_DATAPUMP.ATTACH('SYS_IMPORT_TABLE_01','SCOTT');
       DBMS_DATAPUMP.STOP_JOB (h1);
    END;
    /now the result become like below as stop pending in the state column:
    OWNER_NAME JOB_NAME            OPERATION JOB_MODE  STATE       ATTACHED
    SCOTT      SYS_IMPORT_TABLE_05      IMPORT TABLE STOP PENDING 1
    SCOTT      SYS_IMPORT_TABLE_01 IMPORT TABLE     STOP PENDING 1 for that I did more research and i dropped two temporary external tables after I got their names using the below query:
    select OWNER,OBJECT_NAME,OBJECT_TYPE, status,
    to_char(CREATED,'dd-mon-yyyy hh24:mi:ss') created
    ,to_char(LAST_DDL_TIME , 'dd-mon-yyyy hh24:mi:ss') last_ddl_time
    from dba_objects
    where object_name like 'ET$%'
    /but nothing changed in the output of the below query, the state stayed STOP PENDING
    SELECT owner_name, job_name, operation, job_mode,
    state, attached_sessions
    FROM dba_datapump_jobs
    WHERE job_name NOT LIKE 'BIN$%'
    ORDER BY 1,2; for that I used stop job but with the immediate flag as 1
    DBMS_DATAPUMP.STOP_JOB (h1,1); now the result of the query is NOT RUNNING in the state column:
    OWNER_NAME JOB_NAME            OPERATION JOB_MODE  STATE       ATTACHED
    SCOTT      SYS_IMPORT_TABLE_05      IMPORT TABLE     NOT RUNNING   0
    SCOTT      SYS_IMPORT_TABLE_01      IMPORT TABLE     NOT RUNNING   0 and I discovered that one of my import jobs that I did not realize that it was running, failed due to a fatal error, it is the one related to the import of one table.
    My question:
    Now the below query should return zero records no ?
    How i can clear the result ? and does it affect any future import jobs for the same table?
    SELECT owner_name, job_name, operation, job_mode,
    state, attached_sessions
    FROM dba_datapump_jobs
    WHERE job_name NOT LIKE 'BIN$%'
    ORDER BY 1,2;

    hi just drop all tables that return be the query below i face some issue after 1 months
    SQL> select owner, TABLE_NAME, DEFAULT_DIRECTORY_NAME, ACCESS_TYPE
    from dba_external_tables
    this error appear due to this table must be cleanup auto when the datadump complete the job ,but it's not dropped as well so when gather statistics this error appear,
    so this drop table .

  • When trying to create new DB ORA-01109 ORA-01092

    Hi all,
    When I try to create a new database on a two-node clustered machine using dbca and the "General Purpose" template, it returns ORA-01109 ORA-01092 errors.
    Following is what I did:
    1. Installed Oracle 10 Release 2 on the two Oracle Enterprise Linux 4.5 nodes
    2. Installed patch set 3 (upgrade from 10.2.0.1 to 10.2.0.4)
    3. Installed Oracle clusterware on both nodes
    4. Installed ASM instance
    5. when I used the dbca to create a new db, it returns DB ORA-01109 ORA-01092
    I guess, the reason is that the seed of the "General Purpose" template was not upgraded by the patch set. If this is the case, my questions are:
    *(1) Why the patchset didn't upgrade the template seeds? Is it a bug?*
    *(2) How to upgrade the template seeds?*
    Oracle 10g R2 (10.2.0.4) on Oracle EL 4.5
    Following is a copy of a few last lines in the log generated by the dbca:
    [Thread-158] [10:22:57:99] [CloneDBCreationStep.executeImpl:352]  createCtl=Create
    controlfile reuse set databa se "rac"
    MAXINSTANCES 32
    MAXLOGHISTORY 1
    MAXLOGFILES 192
    MAXLOGMEMBERS 3
    MAXDATAFILES 1024
    Datafile
    '+DG1/rac/datafile/system.277.705320457',
    '+DG1/rac/datafile/undotbs1.279.705320475',
    '+DG1/rac/datafile/sysaux.278.705320469',
    '+DG1/rac/datafile/users.280.705320477',
    [Thread-158] [10:22:57:100] [CloneDBCreationStep.executeImpl:359]  crtCtl=Create
    controlfile reuse set database  "rac"
    MAXINSTANCES 32
    MAXLOGHISTORY 1
    MAXLOGFILES 192
    MAXLOGMEMBERS 3
    MAXDATAFILES 1024
    Datafile
    '+DG1/rac/datafile/system.277.705320457',
    '+DG1/rac/datafile/undotbs1.279.705320475',
    '+DG1/rac/datafile/sysaux.278.705320469',
    '+DG1/rac/datafile/users.280.705320477'
    [Thread-158] [CloneDBCreationStep.executeImpl:374]  Length of OriginalRedoLogsGrNames=2
    [Thread-158][CloneDBCreationStep.executeImpl:382]  0th redoLogText = GROUP 1  SIZE 51200K
    [Thread-158][CloneDBCreationStep.executeImpl:382]  1th redoLogText = GROUP 2  SIZE 51200K
    [Thread-158][CloneDBCreationStep.executeImpl:403]  createCTLSql=Create controlfile reuse
    set da tabase "rac"
    MAXINSTANCES 32
    MAXLOGHISTORY 1
    MAXLOGFILES 192
    MAXLOGMEMBERS 3
    MAXDATAFILES 1024
    Datafile
    '+DG1/rac/datafile/system.277.705320457',
    '+DG1/rac/datafile/undotbs1.279.705320475',
    '+DG1/rac/datafile/sysaux.278.705320469',
    '+DG1/rac/datafile/users.280.705320477'
    LOGFILE GROUP 1  SIZE 51200K,
    GROUP 2  SIZE 51200K RESETLOGS;
    [Thread-158] [10:23:22:541] [CloneDBCreationStep.executeImpl:415]  calling zerodbid
    [Thread-158] [10:23:41:517] [CloneDBCreationStep.executeImpl:425]  Shutdown database
    [Thread-158] [10:23:41:717] [CloneDBCreationStep.executeImpl:447]  Startup ......nomount......
    [Thread-158] [10:23:57:523] [CloneDBCreationStep.executeImpl:455]  deleting dummy control file from v$controlfi le: +DG1/rac/controlfile/current.281.705320591
    [Thread-158] [10:24:1:293] [CloneDBCreationStep.executeImpl:455]  deleting dummy control file from v$controlfil e: +DG2/rac/controlfile/current.265.705320595
    [Thread-158] [10:24:24:628] [CloneDBCreationStep.executeImpl:466]  Enabling restricted session.
    [Thread-158] [10:24:29:60] [CloneDBCreationStep.executeImpl:468]  alter database "rac" open resetlogs;
    [Thread-156] [10:24:58:683] [BasicStep.handleNonIgnorableError:430]  oracle.sysman.assistants.util.UIMessageHan dler@1b8099a:messageHandler
    [Thread-156] [10:24:58:703] [BasicStep.handleNonIgnorableError:431]  ORA-01092: ORACLE instance terminated. Dis connection forced

    alertlog tail contents:
    SMON: enabling cache recovery
    Fri Dec 11 10:24:57 2009
    Errors in file /u01/app/oracle/admin/rac/udump/rac1_ora_5482.trc:
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Fri Dec 11 10:24:57 2009
    Error 704 happened during db open, shutting down database
    USER: terminating instance due to error 704
    Instance terminated by USER, pid = 5482
    ORA-1092 signalled during: alter database "rac" open resetlogs...

  • SQL   Loader and Error ORA-01847/ORA-01839

    Hi,
    While using the direct loading in SQL-LOADER when we get the ORA-01847/ORA-01839 all the other records are getting errorred out. It goes fine with the conventional loading.
    Should I use some parameters or anything to make sure that all the other records are not rejected when we get the ORA-01847/ORA-01839 error while going with the DIRECT loading.
    Thanks
    Jibin

    In internet I found this short message:
    “AL32UTF8 is a multi-byte characterset,that means some characters are stored in more than 1 character, that's true for these special characters.
    If you have same table definitions in both databases you likely face error ORA-12899.
    This metalink note discusses this problem, it's also applicable to sqlloader:
    Import reports "ORA-12899: Value too large for column" when using BYTE semantic
    Doc ID: Note:563893.1”
    By metalink, I can see the Note linked to a one Oracle Internal Bug for Oracle 11g.....
    I'm waiting you suggestion... thanks very much in advance.
    Regards.
    Giovanni

  • ORA-20006: ORA-01722: invalid number ORA-06512: at "APPS.WF_NOTIFICATION"

    Hi,
    I am having a wft program, which checks a function activity and depending on the value returned sends difference notifications.
    The package body completed successfully from backend and while running the workflow program it sends a notification also. But while opening the notification it gives the following error,
    ORA-20006: ORA-01722: invalid number ORA-06512: at "APPS.WF_NOTIFICATION", line 5328 ORA-06512: at line 5
    I have 3 procedures in my package body and all the 3 procedures have exceptions defined as follows, if they are using any workflow activities.
    ==========================================================
    EXCEPTION
         WHEN OTHERS THEN
              WF_CORE.context (
              'WFCustCheck',
              'MisCustDataFromTableDoc',
              document_id,
              display_type,
              document,
              document_type,
              SQLERRM
    RAISE_APPLICATION_ERROR (-20006, SQLERRM);
    ==========================================================
    But I am not able to figure out what is causing this error. What does this "line 5328 ORA-06512: at line 5" in the error message indicate?. My package body has only 600 lines. And why is the error message not displaying the procedure name? though I have defined the procedure name in the exception.
    What is the best way to get the procedure name in the error message? So that it becomes easier for identifying which procedure is causing the erro?
    Please let me know.
    Thanks

    Hi,
    Instead of the RAISE_APPLICATION_ERROR command, just replace that with RAISE;
    The error is coming out of the package that is sending the notification (WF_NOTIFICATION), which is invoked when you open the notification. I'm guessing that line 5 is the line in your code though.
    Are you using documents to send the notification, or are they purely defined in the .wft file?
    Matt
    Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
    http://www.workflowfaq.com
    http://forum.workflowfaq.com
    NEW! - WorkflowFAQ Blog at http://thoughts.workflowfaq.com

  • Difference between ORA-00018 & ORA-00020

    Hi experts,
    I am confused about ORA-00018 & ORA-00020, it easier to understand how number of session increased [ora-18],
    but what are the special causes that increase number of oracle processes [ora-20] ?
    Thanks in advance.

    There is a relationship between sessions on a database and the
    number of
    processes. What happens if we increase the number of sessions without
    increasing the number of processes???
    The parameters SESSIONS and PROCESSES determine the
    size of two arrays in the SGA.
    If you try to create more sessions on an instance than specified
    by the SESSIONS parameter, you will get an ORA-00018: maximum
    number of sessions exceeded.
    If you try to create more processes on an instances than specified
    by the PROCESSES prameter, you wil get an ORA-00020: maximum
    number of processes exceeded.
    The number of sessions and processes on your instance can been
    seen using a COUNT(*) against V$PROCESS and V$SESSION.
    Your job is to determine resonable values, so your users can continue
    to work without getting neither ORA-18 nor ORA-20 during normal
    conditions. (A run away job, that keeps starting new sessions is not
    a normal condition, and it should be stopped by ORA-18 or ORA-20
    whichever happens first).
    You can join the two V$-views using the columns V$SESSION.PADDR
    and V$PROCESS.ADDR.
    It is quite normal to see a 1:1 relationship between processes
    and sessions. However one OCI-program can create multiple
    sessions belonging to one process. Users of Oracle Portal
    will experience this behaviour.
    The default value for SESSIONS is 1.1*PROCESSES + 5.
    It is appropriate for some databases and inappropriate for
    others (e.g. Oracle Portal).
    Also, I remember a limit on the OS regarding the number of processes
    allowed per Oracle user - also I know there is a semaphore
    relationship.
    On HP-UX there is a kernel parameter called NPROC. Like
    PROCESSES and SESSIONS it should have a reasonable
    value.
    answered by
    Jesper Haure Norrevangsource:-http://ora-00020.ora-code.com/msg/40800.html

  • Errors - ORA-01034, ORA-27101 & Linux-x86_64 Error: 2: No such file or dir

    I have installed Oracle 10g database and AS 10g on SUSE linux EE 10 (SP2)
    When I try to log in as system/system using sqlplus locally on the server, it works fine. However, when I try the following I get error messages:
    SQL> conn system/system@botsdb
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    I tried the same from my laptop through sqlplus and the error message is the same.
    I checked if the database was up and to check this I executed follwing commands whicle still being logged as system/system:
    SQL>Select * from v$database;
    SQL>Select * from v$instance;
    SQL>Select * from tab;
    These do bring results. Also if I try to start up the database again, it gives error message that the database is already up. I have restarted the db number of times, checked if my listener was listening on the service BOTSDB and these all seem fine.
    It is very intriguing that when @BOTSDB is attached while connecting, the connection fails.
    Can someone please guide me to sort this error?
    Thanks and kind regards,
    Aparna

    Hi
    I am answering all the three questions here.
    1) No of instances on the machine, I understand it is 1.
    2) Results of lsnrctl status
    oracle@linuxserver:~> lsnrctl status
    LSNRCTL for Linux: Version 10.1.0.4.2 - Production on 28-JUL-2010 09:19:33
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=linuxserv.dcdm.mu)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.1.0.4.2 - Production
    Start Date 27-JUL-2010 11:24:12
    Uptime 0 days 21 hr. 55 min. 20 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/app/ora10ginfra/network/admin/listener.ora
    Listener Log File /oracle/app/ora10ginfra/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linuxserver.dcdm.mu)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "metarep.dcdm.mu" has 1 instance(s).
    Instance "metarep", status READY, has 3 handler(s) for this service...
    The command completed successfully
    --Note that lsnrctl status command was issued after loading 10ginfra.env file.
    Please note that the listener for the database is set as DBLISTENER and lsnrctl status DBLISTENER was executed after loading 10gdb.env file. The results of lsnrctl status DBLISTENER are as follows:
    oracle@linuxserver:~> . ./10gdb.env
    oracle@linuxserver:~> lsnrctl status DBLISTENER
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 28-JUL-2010 09:24:44
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.107.123)(PORT=1650)))
    STATUS of the LISTENER
    Alias DBLISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 27-JUL-2010 15:11:28
    Uptime 0 days 18 hr. 13 min. 15 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/app/ora10gdb/network/admin/listener.ora
    Listener Log File /oracle/app/ora10gdb/network/log/dblistener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.107.123)(PORT=1650)))
    Services Summary...
    Service "BOTSDB" has 1 instance(s).
    Instance "BOTSDB", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    3) The output of ps -ef |grep pmon is
    oracle@linuxserver:~> ps -ef |grep pmon
    oracle 12524 12091 0 09:16 pts/1 00:00:00 grep pmon
    oracle 12525 1 0 Jul27 ? 00:00:00 ora_pmon_metarep
    oracle 25776 1 0 Jul27 ? 00:00:00 ora_pmon_BOTSDB
    The contents of listener.ora in two different Oracle Homes (one for AS infrastrcuture and another one for database) are as follows:
    oracle@linuxserver:/oracle/app/ora10ginfra/network/admin> vi listener.ora
    # listener.ora Network Configuration File: /oracle/app/ora10ginfra/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /oracle/app/ora10ginfra)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = linuxserv.dcdm.mu)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    oracle@linuxserver:/oracle/app/ora10gdb/network/admin> vi listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_DBLISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /oracle/app/ora10gdb/)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = BOTSDB)
    (ORACLE_HOME = /oracle/app/ora10gdb/)
    DBLISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.107.123)(PORT = 1650))
    Kind regards,
    Aparna

  • Errors-Ora-01157,ORA-01110,ORA-01033

    HI all,
    i am unable to login into database,i will explain clearly what has happened,please help me out...my /home directory was 100%,so i was unable to login,what i have did is i have not deleted
    archive files but i have moved to other directory /ora_bkp,then i was able to login,today i have rebboted the system and later i have started database,started listener,but when i try to login
    through sql*plus or toad i am getting this error.....ORA-01033 (ORACLE INITIALIZATION OR SHUTDOWN IN PROGRESS),and when i have tried to check from sql promt ....i am getting this
    error....ORA-01157(CANNOT IDENTIFY/LOCK DATAFILE 6 -SEE DBWR TRACE FILE),& ORA-01110(DATA FILE 6: '/SAPDATA/SPO'...
    HOW SHOULD I RECTIFY MY PROBLEM...AS I AM VERY NEW IAM TRYING TO EXPLAIN CLEARLY ...PLEASE HELP ME IN SOLVING THIS ISSUE....I HAVE EVEN TRIED ALTER DATABASE OPEN...I AM GETTING ERRORS OF ORA-01157,ORA-01110....WHAT IS MY PROBLEM HOW SHOULD I RECTIFY IT..PLEASE SORT THIS....
    THANKS,
    MIKE

    Well, did you check f.i. your alert.log and other dumps?
    They will be on your server in the bdump, udump, cdump directories:
    Where to Find Files for Analyzing Errors
    Oracle records information about important events that occur in your Oracle RAC environment in trace files. The trace files for Oracle RAC are the same as those in single-instance Oracle databases. As a best practice, monitor and back up trace files regularly for all instances to preserve their content for future troubleshooting.
    Information about ORA-600 errors appear in the alert_SID.log file for each instance where SID is the instance identifier. For troubleshooting, you may need to also provide files from the following bdump locations:
    * $ORACLE_HOME/admin/db_name/bdump on UNIX-based systems
    * %ORACLE_HOME%\admin\db_name\bdump on Windows-based systems
    Some files may also be in the udump directory.
    In addition, the directory cdmp_timestamp contains in-memory traces of Oracle RAC instance failure information. This directory is located in ORACLE_HOME/admin/db_name/bdump/cdmp_timestamp, where timestamp is the time at which the error occurred.
    Trace dump files are stored under the cdmp directory. Oracle creates these files for each process that is connected to the instance. The naming convention for the trace dump files is same as for trace files, but with .trw as the file extension.
    (http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/appsupport.htm#RACAD512)

  • Errors ORA-01034, ORA-27101 and ORA-01033

    Hi!
    I have Oracle 9i DB and DevSuite 10g installed on my laptop. There are three databases on my machine.
    Recently, I tried to install Oracle Discoverer 10g and that's where the problem started. I could no longer connect to the databse using either SQL*Plus, TOAD or even from the front end application.
    I realised that some of the regisrty entries were no longer in place after the Discoverer installation. After doing these entries, I am still getting the following errors while connecting:
    ORA-01034 : Oracle not available
    ORA-27101 : Shared memory realm does not exist
    After doing the following entries in the registry, for the default database, I'm getting the 'ORA-01033 : Oracle Initialization or shutdown in progress' error while connecting for that particular db:
    ORACLE_SID=DTA
    ORA_DTA_AUTOSTART=TRUE
    ORA_DTA_SHUTDOWN=TRUE
    ORA_DTA_SHUTDOWN_TIMEOUT=30
    ORA_DTA_SHUTDOWNTYPE=i
    And for the other two DBs, the errors ORA-01034, ORA-27101 remain the same.
    Can anyone please help?
    Best regards,
    Aparna

    Have you checked your Windows services for the Oracle instances? Started and set to auto-start on boot.
    Also check your $path variable to make sure the Oracle home(s) appear in the path
    HTH -- Mark D Powell --

  • ORA-02068 + ORA-03135

    Hi,
    we are getting this two ORA-02068 + ORA-03135 errors on application side using dblink .... can any one pls help....
    for 03135 we did some changes on db side .. what about ORA-02068 , is there is any action we have to made for this 2068 error
    Thanks,

    Hi,
    I have a similar problem... but more strange...
    The customer have an aplication on JBOSS with a Oracle database 10.2.0.4.
    When the user is logged in the application, he makes a query through the application, this query run a procedure that makes a select on the DB local an conects a remote DB with a db_link connection, with a synonym on the table remote and the procedure that fails
    This procedure have a EXCEPTION clause at the end, that insert in a "error table" that shows the following information:
    PET_ID ERROR DESCRIPTION F_CREATION USER_CREATION
    4565 -2068 ORA-02068: error grave de DB_COSTES 25/05/2011 09:41;11 [jboss]-xxxxxxxxx
    ORA-03135: la conexión ha perdido contacto
    4566 -1001 ORA-01001: cursor no válido 25/05/2011 09:41;47 [jboss]-xxxxxxxxx
    4567 -1001 ORA-01001: cursor no válido 25/05/2011 09:41;48 [jboss]-xxxxxxxxx
    4568 -1001 ORA-01001: cursor no válido 25/05/2011 09:41;49 [jboss]-xxxxxxxxx
    The error "ORA-01001: cursor no válido" appears on the "error table" when the user tries to re-run another searh in the application
    The DBA (in client side) must drop/create the synonym on the table and recompile the procedure to be able to work again... so, this error INVALID the procedure.
    It's not for iddle time of application, because I asked for the user and he said me that when he logged at the first time in the morning, and make the search, he got the error too.
    Can anybody help me?
    Thank you
    Bond2

  • ORA-20500+ ORA-02055+ORA-02068+ORA-03113

    i got this error in my front end .....any idea what might be the reason?
    Failed: ORA-20500: ORA-20500: ORA-20500: ORA-20500:
    ORA-02055: distributed update operation failed;
    rollback required
    ORA-02068: following severe error from MUDR2SEBL(db_link name)
    ORA-03113: end-of-file on communication channel
    Thanks all
    Gagan

    The remote site (server process) crashed. There should be something in the alert.log, and trace file on the remote site.
    It may also be the local site, so also look for local trace files.

  • ORA-02068+ORA-03113 on database link

    Hi all
    I have the following scenario:
    The application is connecting to DB (Oracle 10.2.0.5) using jdbc connection pool.
    The database is a 3-node RAC.
    Using DB Link we access a PLSQL package on a remote database (10.2.0.4).The remote database is a single instance.
    The remote database is not located behind FW.
    Sometimes the remote DB is restarted, but we seem to hit these errors about 30 mins afterwards.
    From time to time we get these errors and we cant find the root cause.
    Any ideas how to address this?
    Thanks,
    Rudi

    Rudi wrote:
    Hi all
    I have the following scenario:
    The application is connecting to DB (Oracle 10.2.0.5) using jdbc connection pool.
    The database is a 3-node RAC.
    Using DB Link we access a PLSQL package on a remote database (10.2.0.4).The remote database is a single instance.
    The remote database is not located behind FW.
    Sometimes the remote DB is restarted, but we seem to hit these errors about 30 mins afterwards.
    From time to time we get these errors and we cant find the root cause.
    Any ideas how to address this?
    Thanks,
    RudiORA-00600/ORA-07445/ORA-03113 = Oracle bug => search on Metalink and/or call Oracle support

Maybe you are looking for