11g database - advisor licensing

I have a 11.1.0.6 database and we have the standard licensing package in place - basically just the database with no add-ons. I wish to make use of some of the advisors that come with 11g - my question is which of these can I safely use with infringing on the standard licensing agreement.
Or does 11g give a warning before you attempt to use such advisors to indicate that you may be about to use a facility for which you are not licensed to use?

Hi Arijit,
Thanks for your reply. When I configured the streams dispatcher in 11i with the edge server, I get the following error saying "Invalid Oracle URL specified". Is it something related with the https://hostname:portnumber/ that is included for 11i. Did you face anything like that.
Does this needs any patchset?
Any help in this regard would be highly appreciated.
Thanks
Lakshmi
The error is as follows:
There was a sqlexception preparing the insert statement in the StreamsDispatcher>>
java.sql.SQLException: Invalid Oracle URL specified
     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:240)
     at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:221)
     at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:159)
     at oracle.edge.impl.dispatcher.StreamsConnectorPool.getConnection(Unknown Source)
     at oracle.edge.impl.dispatcher.StreamsConnectorV2.getConnection(Unknown Source)
     at oracle.edge.impl.dispatcher.StreamsConnectorV2.run(Unknown Source)
     at java.lang.Thread.run(Thread.java:595)

Similar Messages

  • Oracle Enterprise Manager 11g Database Control log file location

    Any one knows where the log file is for Oracle Enterprise Manager 11g Database Control. I am trying to set up EUS proxy authentication and running into issues when trying to search proxy user in my DB. The search returns no results and I am not sure where to look for. Please not my setup does work for EUS with shared or exclusive schema. I need to use Oracle DB proxy authentication for my application and that would need a setup of EUS with proxy permissions so please advice if you know where the log file is for Oracle Enterprise Manager 11g Database Control or if there is any logging I can turn on to see what search parameters are passed from Oracle Enterprise Manager 11g Database Control to my DB by using DB audit etc.
    Thanks,

    Be patient...wait for report.
    If after some time report does not appear, go to Advisor Central and find it there.
    :p

  • How to mask data in oracle 11g database release 1

    how to mask data in oracle 11g database release 1
    my environment is
    Database: 11g release 1
    os: AIX 6 (64 bit)
    GC:10g release 1

    DBA-009 wrote:
    thx but how i can mask data with above give environment?What does "mask data" mean to you and what is the environment you are referring to?
    Telling us that you are using 11.1 helps. But it is far from a complete description of the environment. What edition of the database are you using? What options are installed? What Enterprise Manager packs are licensed? Is any of this changable? Could you license another option for the database or another pack for Enterprise Manager if that was necessary?
    What does it mean to you to "mask data"? Do you want to store the data on disk and then mask the data in the presentation layer when certain people query it (i.e. store the patient's social security number in the database but only present ***-**- and the last 4 digits to certain sets of employees)? Do you want to hide entire fields from certain people? Do you want to change the data stored in the database when you are refreshing a lower environment with production data? If so, do you need and/or want this process to be either determinisitic or reversable or both?
    Justin

  • Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?

    Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?
    We are not licensed for the Oracle Advanced Security Option and I have been tasked to use Oracle Network Data Encryption in order to encryption network traffic between Oracle instances that reside on remote servers. From what I have read and my prior understanding this is not possible without ASO. Can someone confirm or disprove my research, thanks.

    Hi, Srini Chavali-Oracle
    As for http://www.oracle.com/technetwork/database/options/advanced-security/advanced-security-ds-12c-1898873.pdf?ssSourceSiteId… ASO is mentioned as TDE and Redacting Sensitive Data to Display. Network encryption is excluded.
    As for Network Encryption - Oracle FAQ (of course this is not Oracle official) "Since June 2013, Net Encryption is now licensed with Oracle Enterprise Edition and doesn't require Oracle Advanced Security Option." Could you clarify this? Thanks.

  • How to install Oracle Change Management Pack for 11g database.

    Hi,
    I need to setup "Oracle Change Management Pack" for my oracle11g database. Can any body help to do the same. i am able to configure following.
    Oracle Configuration Management Pack
    Oracle Data Masking Pack
    Oracle Diagnostic Pack
    Oracle Tuning Pack
    using following URL
    http://docs.oracle.com/cd/B28359_01/license.111/b28287/options.htm#CIHBGJCC but not able to install "Oracle Change Management Pack for 11g database". Can any body share any pointers if any...
    Regards
    DBA.

    As far as I could understand, this is a part of Oracle EM/Grid installation:
    The sections that follow describe the Oracle management packs. The management packs can be purchased only with Enterprise Edition. The features in these packs are accessible through Oracle Enterprise Manager Database Control, Oracle Enterprise Manager Grid Control, and APIs provided with Oracle Database software.

  • Oracle Database Express Edition 11g Database; Tables bigger than 11 GB

    Dear all,
    is it possible to make a part of big Tables (14 GB) visible in Oracle Database Express Edition 11g Database?
    If yes, it would be nice to get the correct development.
    Thanks in advance.
    Regards
    Peter

    972703 wrote:
    Does impdp application have any parameters for it See documentation library for regular editions, the Database Utilities manual covers Data Pump import and export tools
    or maybe there is another software which can import only specified number of rows/bytes? Then you would need to export according to "another software" rules/format as well.
    As the table is not that big, one could copy the table, delete selected rows large enough, and export from that table copy instead.
    If it's not possible, could you please be so kind and provide the full test-version of Oracle database without 11GB limitation?Oracle provides, under the OTN downloads license, SE and EE editions. See http://www.oracle.com/technetwork/indexes/downloads/index.html

  • Is XML database separately licensable

    Is oracle xml database separately licensable or can we just install it in an existing Enterprise Edition licensed database?

    It is just like, for example, APEX a "*no cost option*".
    That means that if you pay for the database software (whatever flavor), you are allowed to use it (so for no extra costs=you have paid you fee via buying the database software). From Oracle 11g and onwards its core functionality of the database anyway and (can/) should be installed default.
    Edited by: Marco Gralike on May 27, 2011 2:02 PM

  • Setting Resource Manager  - 11g database

    Could you help please, I'm getting the following in my 11g database alert log but can't find anything helpful in google.
    Setting Resource Manager plan SCHEDULER[0x2C0A]:DEFAULT_MAINTENANCE_PLAN via sch
    eduler window
    Setting Resource Manager plan DEFAULT_MAINTENANCE_PLAN via parameter
    Tue Dec 08 22:00:04 2009
    Begin automatic SQL Tuning Advisor run for special tuning task "SYS_AUTO_SQL_TU
    NING_TASK"
    Tue Dec 08 22:02:09 2009
    End automatic SQL Tuning Advisor run for special tuning task "SYS_AUTO_SQL_TUNI
    NG_TASK"
    Tue Dec 08 22:02:12 2009
    Logminer Bld: Lockdown Complete. DB_TXN_SCN is UnwindToSCN (LockdownSCN) is 9
    755590147971
    thank you
    BB

    Hi,
    Please check this out.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10595/dbrm.htm#i1010776
    Regards

  • 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 the root.sh script during Grid installation on a pre-installed 11g database .

    Hi Oracle Experts,
    I am trying to setup a new GRID Standalone Infrastructure on a previously installed Oracle 11g database.
    It runs all fine but when prompts to run the root.sh script it does not allow to proceed as it prompts to overwrite the existing path for /usr/bin/local
    well, I google'd and tried with overwrite : Y . It prompted to run the script but it failed ...
    Could you please help me on this ..
    [root@asm ~]# /u01/app/11.2.0/grid/root.sh
    Running Oracle 11g root.sh script...
    The following environment variables are set as:
        ORACLE_OWNER= oracle
        ORACLE_HOME=  /u01/app/11.2.0/grid
    Enter the full pathname of the local bin directory: [/usr/local/bin]:
    The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n)
    [n]: y
       Copying dbhome to /usr/local/bin ...
    The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
    [n]: y
       Copying oraenv to /usr/local/bin ...
    The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
    [n]: y
       Copying coraenv to /usr/local/bin ...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    To configure Grid Infrastructure for a Stand-Alone Server run the following command as the root user:
    /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/roothas.pl
    [root@asm ~]# /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/                              crs/install/roothas.pl
    2015-03-18 01:42:25: Checking for super user privileges
    2015-03-18 01:42:25: User has super user privileges
    2015-03-18 01:42:25: Parsing the host name
    Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
    Creating trace directory
    LOCAL ADD MODE
    Creating OCR keys for user 'oracle', privgrp 'oinstall'..
    Operation successful.
    CRS-4664: Node asm successfully pinned.
    Adding daemon to inittab
    CRS-4123: Oracle High Availability Services has been started.
    ohasd is starting
    acfsroot: ACFS-9320: Missing advmutil.
    acfsroot: ACFS-9320: Missing advmutil.bin.
    acfsroot: ACFS-9320: Missing fsck.acfs.
    acfsroot: ACFS-9320: Missing fsck.acfs.bin.
    acfsroot: ACFS-9320: Missing mkfs.acfs.
    acfsroot: ACFS-9320: Missing mkfs.acfs.bin.
    acfsroot: ACFS-9320: Missing mount.acfs.
    acfsroot: ACFS-9320: Missing mount.acfs.bin.
    acfsroot: ACFS-9320: Missing acfsdbg.
    acfsroot: ACFS-9320: Missing acfsdbg.bin.
    acfsroot: ACFS-9320: Missing acfsutil.
    acfsroot: ACFS-9320: Missing acfsutil.bin.
    acfsroot: ACFS-9301: ADVM/ACFS installation can not proceed:
    acfsroot: ACFS-9302: No installation files found at /u01/app/11.2.0/grid/install/usm/EL5/x86_64/2.6.18-8/2.6.18-8.el5xen-x86_64/bin.
    asm     2015/03/18 01:43:06     /u01/app/11.2.0/grid/cdata/asm/backup_20150318_014306.olr
    Successfully configured Oracle Grid Infrastructure for a Standalone Server
    when I checked for ASM instance its not running ... but just ohasd service and nothing else ..
    [root@asm grid]# ps -ef | grep pmon
    oracle    5831     1  0 01:15 ?        00:00:01 ora_pmon_db11g1
    root     12625  8794  0 02:30 pts/2    00:00:00 grep pmon
    [root@asm grid]#
    [root@asm grid]#
    [root@asm grid]# ps -ef | grep d.bin
    oracle   12643     1  5 02:30 ?        00:00:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot
    root     12715  8794  0 02:30 pts/2    00:00:00 grep d.bin
    [root@asm grid]#
    Could you please help .

    hi,
    The issue not with /usr/bin/local.  When you excute root.sh, it will try configure the ASM with New GRID HOME. Issue started, whent tried to start
    CRS-4123: Oracle High Availability Services has been started.
    ohasd is starting <<=================================================================
    acfsroot: ACFS-9320: Missing advmutil.
    Please let us know the below details
    ==> Acfs is configured the servers??
         ==>acfsutil registry
                   acfsutil info fs output.
    ==> With out ASM instance , How the database, CRS STarted ???
    ==> Please try stop and start the crs.
    ==> crsctl query crs activeversion output
    Regards
    Krishnan

  • What should i do with an Oracle 11g Database, MySQL database and a dump file.

    I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
    My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
    So the quest is converting Oracle Database to MySQL database.
    Of course i cant try to convert it in the main Database, so i create one Oracle 11g Database on my LocalHost, and it already actived in " Localhost:1158 " etc.
    I have another Sever test that already set up MySQL database, and a dump file from the system.
    So I want to ask these 2 questions :
    1. How to create an new Oracle Database from that dump file ?
    2. Is it alright if i use tool to convert Oracle Database into MySql, or i should do it manually ?
    Thanks alot.

    I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
    My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
    So the quest is converting Oracle Database to MySQL database.
    I predict that converting to MySQL will cost your company more as it expands. As you expand managing contention becomes more important - Oracle does this for you. I do not think MySQL does, so you'll have to write more code to deal with this, costing the company money. A big part of making application scalable and reliable is to use stored procedures, how good are MySQL's compared to PL/SQL's. What other features are there that MySQL has that will benefit your company that Oracle doesn't. What do you need to think about as your company expands that need to be taken care of in the database. I would have thought a migration from MySQL to Oracle would be more common to deal with expansion.
    As you know "NOTHING" you need to think about what each database can give you for the next 10 years to cope with you businesses potential requirements, and extimate how much it will cost to implement these requirements, then make the decision

  • Ora-00600: internal error on 11g database in windows 2007 environment

    Hello , i have these problems please help me to solve it.
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    C:\Windows\system32>emctl status dbconsole
    Environment variable ORACLE_SID not defined. Please define it.
    C:\Windows\system32>set ORACLE_SID=testsid
    C:\Windows\system32>emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
    https://local:1158/em/console/aboutApplication
    Oracle Enterprise Manager 11g is not running.
    Logs are generated in directory C:\app\23333941\product\11.1.0\db_3/local_testsid/sysman/log
    C:\Windows\system32>sqlplus sys/@**** as sysdba
    SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 09:27:37 2013
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    SQL*Plus: Release 11.1.0.6.0 - Production
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Use SQL*Plus to execute SQL, PL/SQL and SQL*Plus statements.
    Usage 1: sqlplus -H | -V
        -H             Displays the SQL*Plus version and the
                       usage help.
        -V             Displays the SQL*Plus version.
    Usage 2: sqlplus [ [<option>] [<logon>] [<start>] ]
      <option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
        -C <version>   Sets the compatibility of affected commands to the
                       version specified by <version>.  The version has
                       the form "x.y[.z]".  For example, -C 10.2.0
        -F             Enables the failover mode for a RAC environment.
        -L             Attempts to log on just once, instead of
                       reprompting on error.
        -M "<options>" Sets automatic HTML markup of output.  The options
                       have the form:
                       HTML [ON|OFF] [HEAD text] [BODY text] [TABLE text]
                       [ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}]
        -R <level>     Sets restricted mode to disable SQL*Plus commands
                       that interact with the file system.  The level can
                       be 1, 2 or 3.  The most restrictive is -R 3 which
                       disables all user commands interacting with the
                       file system.
        -S             Sets silent mode which suppresses the display of
                       the SQL*Plus banner, prompts, and echoing of
                       commands.
      <logon> is: (<username>[/<password>][@<connect_identifier>] | /)
                  [AS SYSDBA | AS SYSOPER | AS SYSASM] | /NOLOG | [EDITION=value]
        Specifies the database account username, password and connect
        identifier for the database connection.  Without a connect
        identifier, SQL*Plus connects to the default database.
        The AS SYSDBA, AS SYSOPER and AS SYSASM  options are database
        administration privileges.
        <connect_identifier> can be in the form of Net Service Name
        or Easy Connect.
          @[<net_service_name> | [//]Host[:Port]/<service_name>]
            <net_service_name> is a simple name for a service that resolves
            to a connect descriptor.
            Example: Connect to database using Net Service Name and the
                     database net service name is ORCL.
               sqlplus myusername/mypassword@ORCL
            Host specifies the host name or IP address of the database
            server computer.
            Port specifies the listening port on the database server.
            <service_name> specifies the service name of the database you
            want to access.
            Example: Connect to database using Easy Connect and the
                     Service name is ORCL.
               sqlplus myusername/mypassword@Host/ORCL
        The /NOLOG option starts SQL*Plus without connecting to a
        database.
        The EDITION specifies the value for Application
        Edition
      <start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]
        Runs the specified SQL*Plus script from a web server (URL) or the
        local file system (filename.ext) with specified parameters that
        will be assigned to substitution variables in the script.
    When SQL*Plus starts, and after CONNECT commands, the site profile
    (e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
    (e.g. login.sql in the working directory) are run.  The files may
    contain SQL*Plus commands.
    Refer to the SQL*Plus User's Guide and Reference for more information.
    C:\Windows\system32>sqlplus sys/1118@testsid as sysdba
    SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 09:29:03 2013
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Enter user-name: sysdba
    Enter password:
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    Process ID: 0
    Session ID: 0 Serial number: 0
    Enter user-name: sys
    Enter password:
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    Process ID: 0
    Session ID: 0 Serial number: 0
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    C:\Windows\system32>sqlplus/nolog
    SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 09:32:59 2013
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    SQL> connect/as sysdba
    Connected.
    SQL> create table test(id number, id1 number);
    create table test(id number, id1 number)
    ERROR at line 1:
    ORA-01109: database not open
    SQL> select status from v$instance;
    STATUS
    MOUNTED
    SQL> alter database open;
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [kcrfr_update_nab_2], [0x51434A54],
    [2], [], [], [], [], []
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    C:\Windows\system32>startup mount
    'startup' is not recognized as an internal or external command,
    operable program or batch file.
    C:\Windows\system32>sqlplus/nolog
    SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 10:05:42 2013
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    SQL> connect/as sysdba
    Connected.
    SQL> startup mount;
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL> recover database;
    Media recovery complete.
    SQL> select GROUP#,SEQUENCE#,ARCHIVED,STATUS from v$log order by SEQUENCE#;
        GROUP#  SEQUENCE# ARC STATUS
             2        539 NO  INACTIVE
             3        540 NO  ACTIVE
             1        541 NO  CURRENT
    SQL> recover database;
    ORA-00283: recovery session canceled due to errors
    ORA-00264: no recovery required
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    C:\Windows\system32>sqlplus/nolog
    SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 10:17:10 2013
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    SQL> connect / as sysdba
    Connected.
    SQL> startup mount
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  313860096 bytes
    Fixed Size                  1332892 bytes
    Variable Size             276826468 bytes
    Database Buffers           29360128 bytes
    Redo Buffers                6340608 bytes
    Database mounted.
    Database opened.
    SQL> recover database;
    ORA-00283: recovery session canceled due to errors
    ORA-01124: cannot recover data file 1 - file is in use or recovery
    ORA-01110: data file 1:
    'C:\APP\23333941\ORADATA\TEST\DATAFILE\O1_MF_SYSTEM_8XB8TY3S_.DBF'
    SQL> select GROUP#,SEQUENCE#,ARCHIVED,STATUS from v$log order by SEQUENCE#;
        GROUP#  SEQUENCE# ARC STATUS
             3        540 NO  INACTIVE
             1        541 NO  INACTIVE
             2        542 NO  CURRENT
    SQL> restore database;
    SP2-0734: unknown command beginning "restore da..." - rest of line ignored.
    SQL> recover database;
    ORA-00283: recovery session canceled due to errors
    ORA-01124: cannot recover data file 1 - file is in use or recovery
    ORA-01110: data file 1:
    'C:\APP\23333941\ORADATA\TEST\DATAFILE\O1_MF_SYSTEM_8XB8TY3S_.DBF'
    SQL>
    Thanks with regards Ganaa;

    What happened prior that resulted in the disaster scenario that you posted/
    When was the last time the DB opened with out error?
    What changed since then?

  • What are the privileges required for explain plan in Oracle 11g database

    I am facing the problem in doing a explain plan for a view in Oracle 11g database. When I select from the view like this:
    select * from zonewisearpu
    It does a select on the view but when I give explain plan like
    explain plan for
    select * from zonewisearpu
    I get the error like insufficient privileges.
    Please let me know if things are getting missed out as I guess system level privileges are required to execute this.
    I hope, my question is clear.
    It’s a humble request to revert urgently if possible as I need to complete a task and do not know the way out.
    Regards

    975148 wrote:
    Thanks for your reply. I have found out that an explain plan is possible on the user's own objects and is not possible on the granted objects from a different schema. For eg, if I do a explain plan on a view querying on tables from a different view, it would not allow the explain plan to proceed. This could mean that explain plan needs different privileges than just a select.
    Requesting for a revert to this.
    Here is a simple test case that I have perfomed
    SQL> create user test1 identified by test1;
    User created.
    SQL> create user test2 identified by test1;
    User created.
    SQL> grant connect, resource to test1,test2;
    Grant succeeded.
    SQL> create table test1.tab1 as select * from v$session;
    Table created.
    SQL> connect test2/test1
    Conencted.
    SQL> show user
    USER is "TEST2"
    SQL>
    SQL> explain plan for
      2  select sid,serial#,status,username from test1.tab1 where username<> '';
    Explained.
    SQL>
    So, as can be seen I am able to do a explain plan from user test2 for tables belong to user test1.
    As far as privileges are concerned, following is the list
    SQL> select * from dba_role_privs where grantee in ('TEST1','TEST2') order by 1;
    GRANTEE                        GRANTED_ROLE                   ADM DEF
    TEST1                          CONNECT                        NO  YES
    TEST1                          RESOURCE                       NO  YES
    TEST2                          CONNECT                        NO  YES
    TEST2                          RESOURCE                       NO  YES
    SQL>
    SQL> select grantee,owner,table_name,privilege from dba_tab_privs where grantee in ('TEST1','TEST2') order by 1;
    GRANTEE    OWNER      TABLE_NAME           PRIVILEGE
    TEST2      TEST1      TAB1                 SELECT
    SQL>
    SQL>  select * from dba_sys_privs where grantee in ('TEST1','TEST2') order by 1;
    GRANTEE    PRIVILEGE                      ADM
    TEST1      UNLIMITED TABLESPACE           NO
    TEST2      UNLIMITED TABLESPACE           NO
    SQL>

  • How to monitor oracle 11g database sessions on Windows 2008 server?

    Hi Experts
    How to monitor the Oracle 11g database sessions on Windows 2008 server (other than SQL Developer tool), which procedure or query is taking more time with Java application.

    Recently i found this tool- myorasql on the net to monitor the performence of database, easy to setup and check the performence.  i never tested it but seems impresive.  It is free and i think it would be use ful to you.
    http://myorasql.com/
    You can also use Quest - Toad or sqlplus if you are very good at sql commands and all dictionary tables or OEM/EM grid if it is configured .

  • CONNECT BY QUERY returns different count of rown in 10g resp. 11g databases

    Folks,
    I just spot a bellow issue in our databases.
    1.) 10g database:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select * from global_name;
    SQL> SELECT ROWNUM
      2    FROM   dual
      3  CONNECT BY ROWNUM <= 2;
        ROWNUM
             1
             2
             3
    SQL> 2. 11g database
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select * from global_name;
    SQL> SELECT ROWNUM
      2    FROM   dual
      3    CONNECT BY ROWNUM <= 2;
        ROWNUM
             1
             2
    SQL> As you can see in 10g above query returns 3 records, in 11g only 2.
    Why it's like that? Can it be somehow set, to produce the same output?
    Many thanks,
    Tomas

    I get correct rows on both database version !
    Oracle Versions
    10g 10.2.0.1.0
    11g 11.1.0.6.0
    SQL> select rownum from dual connect by rownum <= 2;
        ROWNUM
             1
             2
    SQL> select * from v$version ;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> select rownum from dual connect by rownum <= 2;
        ROWNUM
             1
             2
    SQL> select * from v$version ;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production

Maybe you are looking for