Why this warning is rised when creating database in RAC?

Oracle 11.2.0.3 RAC in RHEL 5.8
Whether in runinstall or in dbca,there is always a warning : 
Entreprise manager configuration succeded with  the following warning
Error starting Database Control on nodes rac2. Execute the following
command(s) on nodes:rac2.
1)Set the environment variable ORACLE_UNQNAME to Database unique name
2)/u01/apporacle/product/11.2.0/dbhome_1/bin/emctl start dbconsole
I have set it in /home/oracle/.bash_profile:
export ORACLE_UNQNAME=orcl.localdomain
export ORACLE_SID=orcl2
Why?How could I do?(I know I can execute it manaully). Thanks!

"The cast fromObject to List<String> is actually
checking against the erased type of List"
I m getting this warning whenever I am fetching any
List<String> from a
Map object.
headerList = (List<String>)listMap.get("headerList");Assuming the following code (or something similar) is before the line you posted
    HashMap<String, List<String>> listMap;
    ArrayList<String> headerList;
    //fill in map and some other stuffall you have to do is
    headerList = listMap.get("headerList");because ALL the values in the listMap MUST be List<String> objects
The warning/error tells you that you're trying to cast against a "generic type" which is actually erased when the code is compiled. Remember that generics are only compiletime checks. The cast should refer to a runtime type (generics are not runtime types). I hope I made myself clear. Feel free to ask any further doubts and even better, read the Tutorial

Similar Messages

  • When creating a tablespace why should we enable LOGGING when a database is already on ARCHIVE LOG mode

    Question :
    When creating a tablespace why should we enable LOGGING when a database is already on ARCHIVE LOG mode ?
    Example:
    Create Tablespace
    CREATE SMALLFILE TABLESPACE "TEST_DATA"
    LOGGING
    DATAFILE '+DG_TEST_DATA_01(DATAFILE)' SIZE 10G
    AUTOEXTEND ON NEXT  500K MAXSIZE 31000M
    EXTENT MANAGEMENT LOCAL
    SEGMENT SPACE MANAGEMENT AUTO;
    LOGGING: Generate redo logs for creation of tables, indexes and  partitions, and for subsequent inserts. Recoverable
    Are they not logged and not recoverable if we do not enable LOGGING? What is that ARCHIVELOG mode does?

    What is that ARCHIVELOG Mode Does?
    Whenever your database is in archive log mode , Oracle will backup the redo log files in the form of Archives so that we can recover the database to the consistent state in case of any failure.
    Archive logging is essential for production databases where the loss of a transaction might be fatal.
    Why Logging?
    Logging is safest method to ensure that all the changes made at the tablespace will be captured and available for recovery in the redo logs.
    It is just the level at which we defines:
    Force Logging at DB level
    Logging at Tablespace Level
    Logging at schema Level
    Before the existence of FORCE LOGGING, Oracle provided logging and nologging options. These two options have higher precedence at the schema object level than the tablespace level; therefore, it was possible to override the logging settings at the tablespace level with nologging setting at schema object level.

  • Problem when creating Database (Database, OS and hardware Configuraiton included)

    Problem when creating Database:
    Below are the problems, which I faced during creation of database. I have mentioned both the problem separately. Plus the log file maintained by Oracle during installation. It might help in diagnosing the error. Plus a little conclusion with I turned up to.
    There are two problems, when creating database with Oracle Database Assistant. One when creating pre tuned database from CD. And second when creating customized database giving options your self.
    Problem # 1:
    When creating pre tuned database from CD. The process of creating Database is 90 % complete and is at step # 3 Initializing Database. It gives error ORA-03113: end-of-file on communication channel.
    I searched following oracle help for this problem.
    ORA-03113: end-of-file on communication channel
    Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two-task software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down.
    Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
    Conclusion:
    What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
    Problem # 2:
    When creating database with custom option. The process of creating Database is 2 % complete and is at step # 2 Creating Database Files. It gives error ORA-12571: TNS:packet writer failure.
    I searched following oracle help for this problem.
    ORA-12571: TNS:packet writer failure
    Cause: An error occurred during a data send.
    Action: Not normally visible to the user. For further details, turn on tracing and re-execute the operation. If error persists, contact Worldwide Customer Support.
    Conclusion:
    What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
    Log File Showing Error :
    Result code for launching of configuration tool is 0
    Launched configuration tool Oracle Database Configuration Assistant
    Command which is being spawned is C:\Program Files\Oracle\jre\1.1.7\bin/jrew.exe -Duser.dir=d:\oracle\ora81\assistants\dbca\jlib -classpath ";C:\Program Files\Oracle\jre\1.1.7\lib\rt.jar;C:\Program Files\Oracle\jre\1.1.7\lib\i18n.jar;d:\oracle\ora81\jlib\ewt-3_3_6.jar;d:\oracle\ora81\jlib\share-1_0_8.jar;d:\oracle\ora81\jlib\swingall-1_1_1.jar;d:\oracle\ora81\assistants\dbca\jlib\dbassist.jar;d:\oracle\ora81\assistants\jlib\jnls.jar;d:\oracle\ora81\assistants\jlib\acc.jar;d:\oracle\ora81\jlib\help-3_1_8.jar;d:\oracle\ora81\jlib\ice-4_06_6.jar;d:\oracle\ora81\jlib\netcfg.jar;" DBCreateWizard -progress_only -responseFile NO_VALUE -createtype seed -numusers NO_VALUE -apptype NO_VALUE -cartridges NO_VALUE -options NO_VALUE -demos NO_VALUE -seedloc d:\oracle\ora81\starterdb -sid ora8i -orabase d:\oracle -clususer NO_VALUE -cluspswd Protected value, not to be logged -nodeinfo NO_VALUE -gdbName ora8i
    Invalid Exit Code. The following result code will be used for configuration tool: 1
    Configuration tool Oracle Database Configuration Assistant failed
    The datafiles will be copied from the CD to d:\oracle\oradata\ora8i. The Oracle Database Configuration Assistant will begin creating the database.
    An Oracle database will be created for you. The database name will be ora8i. The system identifier for the database will be ora8i. The password for the INTERNAL account will be ******, the SYS account will be change_on_install and the SYSTEM account will be manager.
    Log File of Installation:
    The above code is a part of the log file, which is generated by Oracle installer at C:\Program Files\Oracle\Inventory\Log\..
    I just pasted the part of code, highlighted is the code showing error with Oracle Database Configuration Assistant.
    Software & Hardware Configuration are as follow:
    Software:
    Database
    Oracle 8.1.7.0.0 (Oracle8i)
    Operating System
    Microsoft Windows 2000
    5.00.2195
    Service Pack 2
    Hardware:
    x86 Family 6 Model 8 stepping
    10
    AT/AT COMPITABLE
    260,400 KB RAM

    Dont't worry about that. Before you
    create a table(or view), it is wise to
    drop the table(or view) with the same name.
    If the name doesn't exist, of course there
    is an error message. See the following script:
    -------------------begin-----------
    drop table students cascade constraints;
    create table students (
    sid varchar2(5),
    fname varchar2(20),
    lname varchar2(20) not null,
    minit char,
    primary key (sid));
    --------------end-----------------
    Good day!
    null

  • Problem when creating Database:

    There are two problems, which I faced during creation of database. When creating database with Oracle Database Assistant. One when creating pre tuned database from CD. And second when creating customized database giving options your self.
    Problem # 1:
    When creating pre tuned database from CD. The process of creating Database is 90 % complete and is at step # 3 Initializing Database. It gives error ORA-03113: end-of-file on communication channel.
    I searched following oracle help for this problem.
    ORA-03113: end-of-file on communication channel
    Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two-task software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down.
    Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
    Conclusion:
    What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
    Problem # 2:
    When creating database with custom option. The process of creating Database is 2 % complete and is at step # 2 Creating Database Files. It gives error ORA-12571: TNS:packet writer failure.
    I searched following oracle help for this problem.
    ORA-12571: TNS:packet writer failure
    Cause: An error occurred during a data send.
    Action: Not normally visible to the user. For further details, turn on tracing and re-execute the operation. If error persists, contact Worldwide Customer Support.
    Conclusion:
    What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.

    user563502 wrote:
    I am working on Solaris 8. What is Alert_SID.log? where can I find it?
    ThanksFor the responsible of the upgrade of Oracle database, not even know what Alert log is?
    to be honest with you, this is not your work.

  • Problem when creating Database with Database, OS and hardware Configuraiton

    Problem when creating Database:
    There are two problems, which I faced during creation of database. When creating database with Oracle Database Assistant. One when creating pre tuned database from CD. And second when creating customized database giving options your self.
    Problem # 1:
    When creating pre tuned database from CD. The process of creating Database is 90 % complete and is at step # 3 Initializing Database. It gives error ORA-03113: end-of-file on communication channel.
    I searched following oracle help for this problem.
    ORA-03113: end-of-file on communication channel
    Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two-task software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down.
    Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
    Conclusion:
    What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
    Problem # 2:
    When creating database with custom option. The process of creating Database is 2 % complete and is at step # 2 Creating Database Files. It gives error ORA-12571: TNS:packet writer failure.
    I searched following oracle help for this problem.
    ORA-12571: TNS:packet writer failure
    Cause: An error occurred during a data send.
    Action: Not normally visible to the user. For further details, turn on tracing and re-execute the operation. If error persists, contact Worldwide Customer Support.
    Conclusion:
    What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
    Software & Hardware Configuration are as follow:
    Software:
    Database
    Oracle 8.1.7.0.0 (Oracle8i)
    Operating System
    Microsoft Windows 2000
    5.00.2195
    Service Pack 2
    Hardware:
    x86 Family 6 Model 8 stepping
    10
    AT/AT COMPITABLE
    260,400 KB RAM

    user563502 wrote:
    I am working on Solaris 8. What is Alert_SID.log? where can I find it?
    ThanksFor the responsible of the upgrade of Oracle database, not even know what Alert log is?
    to be honest with you, this is not your work.

  • Problem when creating Database (Database, OS and hardware Configuraiton)

    Problem when creating Database:
    There are two problems, which I faced during creation of database. When creating database with Oracle Database Assistant. One when creating pre tuned database from CD. And second when creating customized database giving options your self.
    Problem # 1:
    When creating pre tuned database from CD. The process of creating Database is 90 % complete and is at step # 3 Initializing Database. It gives error ORA-03113: end-of-file on communication channel.
    I searched following oracle help for this problem.
    ORA-03113: end-of-file on communication channel
    Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two-task software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down.
    Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
    Conclusion:
    What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
    Problem # 2:
    When creating database with custom option. The process of creating Database is 2 % complete and is at step # 2 Creating Database Files. It gives error ORA-12571: TNS:packet writer failure.
    I searched following oracle help for this problem.
    ORA-12571: TNS:packet writer failure
    Cause: An error occurred during a data send.
    Action: Not normally visible to the user. For further details, turn on tracing and re-execute the operation. If error persists, contact Worldwide Customer Support.
    Conclusion:
    What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
    Software & Hardware Configuration are as follow:
    Software:
    Database
    Oracle 8.1.7.0.0 (Oracle8i)
    Operating System
    Microsoft Windows 2000
    5.00.2195
    Service Pack 2
    Hardware:
    x86 Family 6 Model 8 stepping
    10
    AT/AT COMPITABLE
    260,400 KB RAM

    user563502 wrote:
    I am working on Solaris 8. What is Alert_SID.log? where can I find it?
    ThanksFor the responsible of the upgrade of Oracle database, not even know what Alert log is?
    to be honest with you, this is not your work.

  • Permission denied when creating database in Sql Server 2008 for SQLExpress

    I'm getting an permission error while restoring the database. I'm using SQL Server 2008 SQLEXPRESS
    I'm able to create the user using this script " CREATE LOGIN [darth\vader] FROM WINDOWS;
    GO;"
    But when I try to give role to the user it's still give me permission error.. SP_ADDSRVROLEMEMBER ‘darth\vader’, ‘sysadmin’
    Can someone guide me how to resolve this issue?

    http://msdn.microsoft.com/en-us/library/ms186858.aspx
    Permissions
    If the database being restored does not exist, the user must have CREATE DATABASE permissions to be able to execute RESTORE. If the database exists, RESTORE permissions default to members of the sysadmin and dbcreator fixed
    server roles and the owner (dbo) of the database (for the FROM DATABASE_SNAPSHOT option, the database always exists).
    RESTORE permissions are given to roles in which membership information is always readily available to the server. Because fixed database role membership can be checked only when the database is accessible and undamaged, which is not always the case when RESTORE
    is executed, members of the db_ownerfixed database role do not have RESTORE permissions.
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Error when creating database

    when installing 9i server i couldn't create database and after installation i tried to create database using DBCA but same errors occured.
    it says null sid name error=2. and then says tns protocol problem.
    what should i do?

    Kim Gabrielsen (guest) wrote:
    : Hi,
    : I have tried to install O8 on Linux several times but all have
    : failed. I follow the doc written by Tom Bissett which I find
    very
    : informative on this subject.
    : I have the correct env setting, have created oracle user as
    : member of the dba group and the install program runs nicely
    until
    : it starts to create the database. It stops with an error
    message.
    : The log files look like this (excerpts):
    : CRDBORCL.LST
    : ORA-06413: Connection not open.
    : LCC-00161: Message 161 not found; product=SVRMGR; facility=MGR
    : ORA-06413: Connection not open.
    : create database "ORCL"
    : ORA-03114: not connected to ORACLE
    : ORA-06413: Connection not open.
    : which is the same results I see if I invoke svrmgr manually
    : and tries to connect as 'internal'. BTW srvmgr prompts me for a
    : password even though I'm logged on as 'Oracle' which is a
    member
    : of DBA.
    : INSTALL.LOG
    : - Entering database actions section.
    : - Creating initORCL.ora file
    : - Creating crdb2ORCL.sql database catalog and file
    creation
    : script
    : - ERROR: The 'CREATE DATABASE' statement for the ORCL
    : database failed.
    : egrep failed to find 'ORA-' error in the file:
    : /u01/app/oracle/admin/ORCL/create/crdbORCL.lst
    : I hope someone can help 'cause I'm stock here...
    : Best regards
    : Kim Gabrielsen
    If you followed the instructions on setting the shared memory
    parameters you may have a problem.
    In the 'shmparam.h' file set SHMMAX to something smaller than 4G.
    I just set mine to 2G or 0x7FFFFFFF and now it works fine.
    I have done the Oracle 8.0.5 installation twice now on 2
    different machines with success(1 Compaq Proliant 1500 -
    RH5.2/2.0.36 kernel and 1 GW2K - RH5.2/2.2.1 kernel) I ran into
    several problems along the way but all problems were solvable.
    Mark
    null

  • Syntax error when creating database

    Not sure if this is the correct forum, but here goes..
    Using a sample at:
    Technet Link
    I get a "Syntax error near GO" when I try to execute the following SQL Command.
    USE master
    GO
    CREATE DATABASE testdb
    ON
    ( NAME = testdb,
    FILENAME = 'C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\DATA\testdb.mdf' )
    GO
    I am using a function to create this database.  It is a temporary database that gets recreated or altered frequently.
    The code checks for SQL Server, gets it's version number in order to use the default SQL Server path.  If SQL Server isn't available, ACE / OLEDB is used to create and manage the database (this part works fine).
    The code used to check for and create the database follows.
    private Boolean CheckForSQLServer()
    SqlConnection cnx = null;
    Int32 dbExists = 1;
    SqlCommand sql;
    String SSData = String.Empty;
    // Check for SQL Server. If it exists, use it.
    String login = UserPrincipal.Current.UserPrincipalName;
    login = login.Substring(0, login.IndexOf("@"));
    try {
    cnx = new SqlConnection(
    String.Format("server={0};user={1};Trusted_Connection=Yes;", Prop.SQLConnection, login));
    cnx.Open();
    hasSQLServer = true;
    } catch (Exception) {
    hasSQLServer = false;
    return true;
    if (hasSQLServer) {
    try {
    String ServerVersion = cnx.ServerVersion;
    String SSPath = String.Format(@"C:\Program Files\Microsoft SQL Server\MSSQL{0}.MSSQLSERVER\MSSQL\DATA\",
    ServerVersion.Substring(0, ServerVersion.IndexOf('.')));
    SSData = String.Format(
    "USE master\nGO\nCREATE DATABASE {0}\nON\n( NAME = '{1}',\nFILENAME = '{2}{1}.mdf' )\nGO",
    Prop.SQLDBName, Prop.SQLDBName, SSPath);
    String s = String.Format(
    "SELECT COUNT(*) FROM (SELECT DB_ID('{0}') AS DbID) t WHERE DbID IS NOT NULL", Prop.SQLDBName);
    sql = new SqlCommand(s, cnx);
    SqlDataReader sr = sql.ExecuteReader();
    if (sr.Read())
    dbExists = (Int32)sr[0];
    sr.Close();
    } catch (Exception) { }
    if (dbExists == 0) {
    try {
    sql = new SqlCommand(SSData, cnx);
    sql.ExecuteNonQuery();
    } catch (Exception) { }
    } else {
    try {
    sql = new SqlCommand(String.Format("drop database {0};", Prop.SQLDBName), cnx);
    sql.ExecuteNonQuery();
    sql = new SqlCommand(SSData, cnx);
    sql.ExecuteNonQuery();
    } catch (Exception) { }
    cnx.Close();
    return false;
    Comparing the generated SQL string to sample E at the link above shows them to be identical except for the database name and file pathname, but the paths do exist although the files do not.
    The SQL Exception occurs at the first
    sql = new SqlCommand(SSData, cnx);
    statement in the code.  I would think this can be done as a single string even though a .sql file is referenced in the article.
    Andy

    Works correctly in SQL Server 2014 Management Studio:
    USE master
    GO
    CREATE DATABASE testdb
    ON
    ( NAME = testdb,
    FILENAME = 'F:\temp\testdb.mdf' )
    GO
    DROP DATABASE testdb
    GO
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • Only one CPU core high sys usage when create database instance via dbca

    when using dbca to create database instance
    JUST ONLY ONE CPU core high sys usage
    how to troubleshoot it
    see this:
    top - 09:28:19 up 55 days, 20:38, 10 users,  load average: 1.00, 1.08, 1.31
    Tasks: 1231 total,   2 running, 1228 sleeping,   0 stopped,   1 zombie
    Cpu(s):  0.0%us,  1.3%sy,  0.0%ni, 98.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Mem:  57588328k total, 55028620k used,  2559708k free,   196852k buffers
    Swap: 16386292k total,    23156k used, 16363136k free, 23011232k cached
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                        
    11343 oracle    25   0 1771m  30m  23m R 99.7  0.1   5:36.39 oracle                                                                                         
    3692 oracle    16   0 13948 2348  816 S  1.6  0.0  17:00.94 top                                                                                            
    11432 root      15   0 13540 2024  820 R  1.3  0.0   0:00.21 top                                                                                            
    11034 oracle    16   0  737m 171m  33m S  0.3  0.3   0:52.39 java                                                                                           
    11435 oracle    15   0 66056 1596 1180 S  0.3  0.0   0:00.01 bash                                                                                           
        1 root      15   0   784  172  160 S  0.0  0.0  38:56.76 init                                                                                           
        2 root      RT  -5     0    0    0 S  0.0  0.0   0:00.58 migration/0                                                                                    
        3 root      34  19     0    0    0 S  0.0  0.0   0:00.75 ksoftirqd/0                                                                                    
        4 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0                                                                                     
        5 root      RT  -5     0    0    0 S  0.0  0.0   0:00.81 migration/1                                                                                    
        6 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/1                                                                                    
        7 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/1                                                                                     
        8 root      RT  -5     0    0    0 S  0.0  0.0   0:02.53 migration/2    mpstat info
    [root@localhost ~]# mpstat -P ALL 2
    Linux 2.6.18-164.el5 (localhost.localdomain)    09/12/12
    09:29:09     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
    09:29:11     all    0.01    0.00    1.27    0.01    0.00    0.01    0.00   98.69   1658.29
    09:29:11       0    0.50    0.00    0.00    0.00    0.00    0.50    0.00   98.99   1657.29
    09:29:11      73    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      74    0.00    0.00  100.00    0.00    0.00    0.00    0.00    0.00      0.00
    09:29:11      75    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      76    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      77    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      78    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      79    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
    09:29:13     all    0.01    0.00    1.26    0.01    0.00    0.02    0.00   98.70   1761.19
    09:29:13       0    0.50    0.00    0.50    1.00    0.00    1.99    0.00   96.02   1761.19
    09:29:13      71    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      72    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      73    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      74    0.00    0.00  100.00    0.00    0.00    0.00    0.00    0.00      0.00
    09:29:13      75    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      76    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      77    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      78    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      79    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00          you can see there is only one CPU CORE (core 74 but is random , other core have same status but just one CPU core)
    [root@localhost ~]# vmstat -S m 2
    procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
    r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
    3  0     23   1861    203  24267    0    0     8    12    0    0  0  0 99  0  0
    4  0     23   1845    203  24262    0    0   602 16460 3682 8121  2  2 96  1  0
    3  0     23   1842    203  24276    0    0   692  7520 3297 6610  2  2 97  0  0
    3  0     23   1830    203  24277    0    0   786  3040 3302 7118  2  2 97  0  0
    4  0     23   1829    203  24277    0    0   126  3144 3247 7343  2  1 97  0  0
    3  0     23   1827    203  24279    0    0    76  2944 3292 7502  2  2 96  0  0
    3  0     23   1823    203  24281    0    0     0  3248 3164 7656  2  1 97  0  0
    2  0     23   1827    203  24279    0    0     0  3646 3080 7480  2  1 97  0  0
    2  0     23   1828    203  24279    0    0     0   476 2942 5648  1  1 98  0  0
    3  0     23   1824    203  24281    0    0     2  7476 3377 8111  2  2 97  0  0iostat infor
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               1.28    0.00    1.29    0.00    0.00   97.43
    Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
    hda               0.00         0.00         0.00          0          0
    sda               5.47         0.00        83.58          0        168
    sda1              0.00         0.00         0.00          0          0
    sda2              5.47         0.00        83.58          0        168
    sda3              0.00         0.00         0.00          0          0
    sda4              0.00         0.00         0.00          0          0
    sda5              0.00         0.00         0.00          0          0
    sdb               8.96         0.00       123.38          0        248
    sdb1              8.96         0.00       123.38          0        248
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               1.27    0.00    1.27    0.00    0.00   97.46
    Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
    hda               0.00         0.00         0.00          0          0
    sda               0.00         0.00         0.00          0          0
    sda1              0.00         0.00         0.00          0          0
    sda2              0.00         0.00         0.00          0          0
    sda3              0.00         0.00         0.00          0          0
    sda4              0.00         0.00         0.00          0          0
    sda5              0.00         0.00         0.00          0          0
    sdb              17.50         0.00       236.00          0        472
    sdb1             17.50         0.00       236.00          0        472
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               1.29    0.00    1.30    0.01    0.00   97.41
    Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
    hda               0.00         0.00         0.00          0          0
    sda               0.50         0.00        16.00          0         32
    sda1              0.00         0.00         0.00          0          0
    sda2              0.50         0.00        16.00          0         32
    sda3              0.00         0.00         0.00          0          0
    sda4              0.00         0.00         0.00          0          0
    sda5              0.00         0.00         0.00          0          0
    sdb               7.50         0.00       144.00          0        288
    sdb1              7.50         0.00       144.00          0        288more detail:
    database version 11.2.0.2.0
    system version
    [root@localhost ~]# cat /etc/issue
    Red Hat Enterprise Linux Server release 5.4 (Tikanga)
    Kernel \r on an \m
    [root@localhost ~]# lsb_release
    LSB Version:    :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
    [root@localhost ~]# uname -a
    Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linuxhardware info
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 47
    model name      :        Intel(R) Xeon(R) CPU E7- 4860  @ 2.27GHz
    stepping        : 2
    cpu MHz         : 2261.057
    cache size      : 24576 KB
    physical id     : 3
    siblings        : 20
    core id         : 18
    cpu cores       : 10
    apicid          : 229
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 11
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx pdpe1gb rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx smx est tm2 cx16 xtpr popcnt lahf_lm
    bogomips        : 4522.11
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 44 bits physical, 48 bits virtual
    [root@localhost ~]# free -m
                 total       used       free     shared    buffers     cached
    Mem:         56238      55892        346          0        196      23645
    -/+ buffers/cache:      32050      24188
    Swap:        16002         22      15979
    [root@localhost ~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda2              19G  4.9G   14G  27% /
    /dev/sda5             230G   27G  192G  12% /home
    /dev/sda1              99M   12M   83M  13% /boot
    /dev/sdb1             2.9T  2.3T  464G  84% /arrayEdited by: JOhnLiu on Sep 11, 2012 7:31 PM

    JOhnLiu wrote:
    thanks for reply sb92075
    [root@localhost ~]# mpstat -P ALL 2
    Linux 2.6.18-164.el5 (localhost.localdomain)    09/12/12
    09:29:09     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
    09:29:11     all    0.01    0.00    1.27    0.01    0.00    0.01    0.00   98.69   1658.29
    09:29:11       0    0.50    0.00    0.00    0.00    0.00    0.50    0.00   98.99   1657.29
    09:29:11      73    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      74    0.00    0.00  100.00    0.00    0.00    0.00    0.00    0.00      0.00
    09:29:11      75    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      76    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00I think you don't understand what i mean .
    there just have ONLY ONE CORE %sys 100
    the top command show average of all cpu core sys% usage
    when the one core sys% is 100%
    the system are very slow .
    e.g: when I create a database instance used for a long time . over 2 hours
    but generally it will be done at most 1 hours or shorteris any type of OS virtualization involved in this environment?

  • ORA-02303 when creating database on Exadata using template with BP12

    I get ORA-02303 when creating a RAC database on Exadata. Logs indicate that error happened when applying bundle patch BP12 and probably when running following script: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/admin/catsnap.sql
    CREATE OR REPLACE TYPE SYS.RewriteMessage AS OBJECT(
    Check the following file for errors:
    /u01/app/oracle/product/11.2.0.4/dbhome_1/cfgtoollogs/catbundle/catbundle_EXA_ACSES01_GENERATE_2014Dec17_13_07_45.log
    Apply script: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/admin/catbundle_EXA_ACSES01_APPLY.sql
    Rollback script: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/admin/catbundle_EXA_ACSES01_ROLLBACK.sql
    Executing script file...
    Processing Oracle Database Packages and Types...
    CREATE OR REPLACE TYPE SYS.RewriteMessage AS OBJECT(
    ERROR at line 1:
    ORA-02303: cannot drop or replace a type with type or table dependents
    CREATE OR REPLACE TYPE SYS.ExplainMVMessage AS OBJECT (
    ERROR at line 1:
    ORA-02303: cannot drop or replace a type with type or table dependents
    Anyone experienced the same issue??

    Metalink search points to few bugs. May be opening a SR is a good idea.

  • Why this path doesnt work when there is "!DOCTYPE" element?

    Hi, I need to extract contents from an xml file, which looks like
    <hr />
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE article PUBLIC "-//ES//DTD journal article DTD version 5.0.1//EN//XML" "xyz501.dtd" > <!-- LINE 1 -->
    <article docsubtype="fla">
    <item-info>
    <jid>YANBE</jid>
    <aid>12941</aid>
    </item-info>
    </article>
    <hr />
    And I have tested with this path "//article/item-info/jid/text()", but it doesnt give me anything. But I noticed that when I remove line 1, it does extract the content "YANBE"...
    why the path doesnt work when there is that DOCYTYPE element? How should I get around with this please?
    Many thanks!

    The extract of XML you gave is not valid (Line 1: <hr/>) but besides that ... I think your problem is in the DTD.
    Somewhere in the DTD it probably 'sneakily' defines a default attribute which in reality is a default-namespace for one of the elements. This means that in your XPath handling, you will have to map a prefix to a namespace-uri (NamespaceContext [1]) and use this newly defined prefix in your XPath expression.
    //tst:article/tst:item-info/tst:jid/text()[1] http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/namespace/NamespaceContext.html

  • How significant is the yellow hazard warning for pictures when creating an album using IPhoto?

    How significant is the yellow hazard warning message for pictures when creating an album using IPhoto?

    Are you talking about making a Book?
    How siginificant depends on how low resolution the photo is and how sensative you are to poor prints - it displays when a -photo will print below 180 dpi - what is the DPI of the photos that is givingyou the warning (the photo size divided byt the pixel size)
    LN

  • Create database in RAC 10g

    Hi everyone,
    I have problem with create database on Oracle 10g RAC (RedHat Enterprise Linux 5.5 64bit). When I install OCR so everything ok... ocr running.. if I want create database using dbca and select RAC then show me message when informed me about needed upgrade OCR... so I install patch 10.2.0.4 (installation was ok - without error) and I try create db again... The problem is the same. If I want select option singl instance so everything is ok.
    Can you help me?
    Please :)
    Thank you
    p.s. sorry for my english
    Stepan

    Fahd Mirza,
    everything install over oracle user...
    I have two groups (oinstall and dba) and user oracle....
    this is profile for oracle user:
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    export ORACLE_BASE=/u01/app/oracle
    export CVUQDISK_GRP=oinstall
    export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
    export ORA_CRS_HOME=$ORACLE_HOME/product/10.2.0/crs_1
    export PATH=.:${PATH}:$HOME/bin:$ORACLE_HOME/bin
    export PATH=${PATH}:$ORA_CRS_HOME/bin
    export PATH=${PATH}:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin:/sbin
    export ORACLE_ADMIN=$ORACLE_BASE/admin
    export TNS_ADMIN=$ORACLE_HOME/network/admin
    export LD_LIBRARY=$ORACLE_HOME/lib
    export LD_LIBRARY=${LD_LIBRARY}:/lib:/usr/lib:/usr/local/bin
    export LD_LIBRARY=${LD_LIBRARY}:$ORA_CRS_HOME/lib
    export CLASSPATH=$ORACLE_HOME/JRE
    export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/jlib
    export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/rdbms/jlib
    export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/network/jlib
    export THREADS_FLAG=native
    export ORACLE_SID=VIDEOBET
    PATH=$PATH:$HOME/bin
    directory permission:
    drwxr-xr-x 45 root oinstall 4096 Jun 14 05:20 crs_1
    drwxr-x--- 59 oracle oinstall 4096 Jun 14 06:50 db_1
    installation wizard set up automatic user root on directory crs_1....
    Thanks
    Stepan

  • Problem to create database with RAC 10g with Oracle Standard Edition

    I install CRS (Cluster Ready Services), and then install Oracle 10g database. Also, I install patches 10.1.0.4. When I create database with ASM storage give me a error to create files database.
    Any idea?
    Thanks
    Edu Alcañiz

    You were right.
    http://download-uk.oracle.com/docs/html/B14203_05/intro.htm#sthref44
    under the section
    "1.3 Configuration Tasks for Oracle Clusterware and Oracle Real Application Clusters"
    "... If you use RAC on Oracle Database 10g Standard Edition, then you must use ASM."
    Thanks, problem solved.
    - Vegard

Maybe you are looking for

  • How to back up projects and raw AVCHD footage???

    Please bear with me as I'm really new to digital editing. I'm trying to understand how to work with AVCHD files. Obviously, these are too large to store on my computer once they are ingested; hence, the only option is to store the raw footage. I can

  • 2 computers, 2 libraries- 1 iWeb

    I want to Publish an iWeb Gallery and my pictures are in iPhoto 6 on my laptop. I Publish iWeb galleries through my desktop, so I need to get the photos from my laptop to my desktop. No problem, I export them, send them over the LAN to my desktop and

  • HT204387 Does the IPhone 4S support NFC technology for Bluetooth pairing?

    Does the IPhone 4s support NFC technology for Bluetooth pairing.

  • Radius-Authentication / Cisco 2600 fails MiscError -1642

    Hi, Im trying to configure BM 3.8 SP3ir3, Radius (NMAS 2.3) to authenticate a Cisco 2600 against my BM. Under BM 3.7 this setup is working fine, but now with 3.8 I get the following error: Access rejected, Miscellaneous error (-1642) Ive configured t

  • Best way to export final movies in HD

    Hey guys, First post here. I have sony HD cam. Takes great 1080i video. I've imported into imovie 9 and 11 and when I export, I seem a bit disappointed in the quality. I'm not really editing it down with stabilization (which zooms and lowers quality)