EMCA-rest create instance unavailable error causes

I'm at a client site and try to create the repository of the em.

During the execution of the emca - config dbcontrol db-rest create command I get the following error "Unavailable Instance Data Base". There was permission on the user sysman issues before me to be there so I dropped the repo before attempting create - the - fall rest worked perfectly.

Can anyone help with what I'm stuck now with what to try.

I put my operating below details

When I run the command

chalf002:~ # emca -config dbcontrol db -repos create  STARTED EMCA at 08-Oct-2013 11:29:10  EM Configuration Assistant, 
Version 11.2.0.0.2 Production  Copyright (c) 2003, 2005, Oracle.  All rights reserved.   
Enter the following information:  Database SID: alf 
Exception in thread "main" oracle.sysman.emcp.exception.DatabaseUnavailableException: Database instance unavailable.  at oracle.sysman.emcp.
DatabaseChecks.throwDBUnavailableException(DatabaseChecks.java:151)  at oracle.sysman.emcp.
DatabaseChecks.checkDbAvailabilityImpl(DatabaseChecks.java:144)  at oracle.sysman.emcp.
DatabaseChecks.checkDbAvailability(DatabaseChecks.java:163)  at oracle.sysman.emcp.
DatabaseChecks.getDbServiceName(DatabaseChecks.java:582)  at oracle.sysman.emcp.
EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1267)  at oracle.sysman.emcp.
EMConfigAssistant.statusMain(EMConfigAssistant.java:573)  at oracle.sysman.emcp.
EMConfigAssistant.main(EMConfigAssistant.java:521)[/font]



Instance is up and available

SQL> select instance_name, status, startup_time from v$instance;   
  INSTANCE_NAME    STATUS       STARTUP_T
  ---------------- ------------ --------- 
alf              OPEN         09-SEP-13



And the database is registered with the listener...

chalf002:~ # lsnrctl status    L
SNRCTL for Linux: Version 11.2.0.1.0 - Production on 08-OCT-2013 11:31:33   
Copyright (c) 1991, 2009, Oracle.  All rights reserved.   
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))) 
STATUS of the LISTENER 
------------------------
  Alias                     LISTENER 
Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production 
Start Date                09-SEP-2013 19:50:42 
Uptime                    28 days 15 hr. 40 min. 51 sec 
Trace Level               off 
Security                  ON: Local OS Authentication 
SNMP                      OFF 
Listener Parameter File   /opt/oracle/product/11g/nes_alf/network/admin/listener.ora 
Listener Log File         /opt/oracle/diag/tnslsnr/chalf002/listener/alert/log.xml 

Listening Endpoints Summary...  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) 
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=chalf002.nes.scot.XXX.uk)(PORT=1521)
      ))
  Services Summary... 
Service "alf.nes.scot.XXX.uk" has 1 instance(s). 
      Instance "alf", status READY, has 1 handler(s) for this service...
  Service "alfXDB.nes.scot.XXX.uk" has 1 instance(s).
       Instance "alf", status READY, has 1 handler(s) for this service... 
The command completed successfully



The environment variables are defined as follows.

chalf002:~ # env  
ORA_CRS_HOME=/opt/oracle/product/11gR1/crs 
HOSTNAME=chalf002 
ORACLE_UNQNAME=alf 
ORA_ASM_HOME=/opt/oracle/product/11gR1/asm 
ORACLE_SID=alf  ORACLE_BASE=/opt/oracle 
ORACLE_HOME=/opt/oracle/product/11g/nes_alf  _=/usr/bin/env



No idea what's going on...

Any help to you please because it becomes a problem.

Hello

How you dropped your repository.

Try this

$emca - rest drop

$ emca - deconfig dbcontrol db

also, check the file and remove it manually if necessary

rm - rf $ORACLE_HOME.

rm - rf $ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_ _

Then try to recreate the db console.

HTH

Tags: Database

Similar Questions

  • DOMDocumentPtr create instance error

    How to get rid of the pop up: DOMDocumentPtr create instance error

    You write C++ applications?

    DOMDocument is a wrapper object, and each query for DOMDocument returns a new packaging. You can see how it is used in this code "instantiate".

    Examples of C/C++

    If you have tried to open a program like "SolidWorks" until this message appearing, uninstall the software.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-windows_programs/error-creating-instance-of-msxml2domdocument/f6317144-280C-4203-87e4-8566f1b9d5ba

  • Equium A60-157: error caused by device driver

    Hi all

    I try to write my thesis at the moment and am hampered by my laptop! It keeps randomly, which brings to the top of the blue screen of death, then by restarting; When everything is loaded to the top, I get a "serious error" message that says "error caused by the device driver. As far as I know, all the programs I have are compatible... I was advised to restore the factory settings, which I did a few months ago. And I got the BIOS update for my computer. But it is always the case!

    If it helps, the programs I use daily are Microsoft Word, Access, Powerpoint, Internet Explorer and MSN Messenger. I do not run any games high spec (only Minesweeper occasionally!)

    What can I do? Does anyone else have this problem? Any advice would be much appreciated, because these accidents do not help us to my work!

    Thank you...

    Hello

    It's not easy to tell which device is causing the error.
    What you can do is to check the device drivers. Visit the page of the Toshiba driver and check if there is a new version of driver for example graphic driver.

    Also sometimes this error message appears if the module of memory is faulty.

    What you can do is to use the Microsoft Online Crash Analysis.
    Maybe if you can identify this evil s.
    http://www.Microsoft.com/windowsxp/using/Setup/expert/northrup_03october06.mspx

    Good luck

  • Equium A60 - error caused by the RAM problem - Windows tool does not work!

    Hi all

    When closing my laptop, I got the blue "screen of death" and it restarts, windows came with this analysis of the accident: "error caused by the memory problem to live: run the Windows tool". I downloaded diagnostic tool (mstinst.exe), he opened so I got "windiag.iso" and he burned on a CD like they told me (the use of 'Record Now') and then I put in the CD drive and rebooted my computer. But it did not launch the tool! Does anyone know why it went wrong and how can I make it work? Even if I got the tool to work, I would be able to solve the problems of RAM anyway, just taking my laptop to a repair center?

    Thanks :)

    Hello

    I put t know if you have seen this page http://oca.microsoft.com/en/windiag.asp but there you can find a detailed explanation of how to use the Windows Memory Diagnostic tool.

    Good luck!

  • Error caused by the remote control?

    Hello

    I just got a great help here, and everything worked.  However, now when I run the code, I get error caused by the remote command on my counter (Agilent 34461).  However, when I run in debug mode by clicking on the light bulb, this error occurs.

    The change I made was that I initialized the measure outside the while loop so that I didn't have any initiialize it for each iteration, and I added a reading?

    Any ideas why this would cause this error?

    After reading the Manual , I found that you really want to use "configures: currentC ' for your installation command.  Apparently, the measurement system causes playback to occur.

  • Error: Autochk cannot run because of an error caused by a recently installed software. An error occurred__766f6c756d652e63 3f1 unknown

    Original title: Windows 7 system files is the name of volume NTFS is the operating system. It cannot open volume for direct access. Autochk cannot run because of an error caused by a recently installed software. An error occurred__766f6c756d652e63 3f1 unknown

    I have recently updated from Vista home premium to Windows 7 Home premium and it worked fine, until recently, I'm getting the above message whenever I start my laptop. I can't do a system restore, and this error tells me to do a system restore. I downloaded the upgrade of the internet, so I don't have a copy or a disk to reinstall. Can someone help me solve this problem or do I have to uninstall all the recent software programs?

    Thank you

    Hi Lowey58

    I had exactly the same problem. It worked for me:

    1 uninstall antivirus (mine was AVG free v9)

    2. plan chkdsk on reboot

    3. restart

    4. now, CHKDSK runs and corrects problems of disc he

    5 re-install AVG

    Try it and if it works post a response so that others know that ot worked for you also.

  • Create instance with TDE using DBCA

    Hello

    In general, we create instances of database with a template.

    Now, I like to implement the transparent data encryption.

    I can do this by adding a parameter to the TablespaceAttributes ?

    This is the part of the TablespaceAttributes in my current model:

    <TablespaceAttributes id="DATA">
             <online>true</online>
             <offlineMode>1</offlineMode>
             <readOnly>false</readOnly>
             <temporary>false</temporary>
             <defaultTemp>false</defaultTemp>
             <undo>false</undo>
             <local>true</local>
             <blockSize>-1</blockSize>
             <allocation>1</allocation>
             <uniAllocSize unit="KB">-1</uniAllocSize>
             <initSize unit="KB">-1</initSize>
             <increment unit="KB">-1</increment>         
             <minExtends>-1</minExtends>
             <maxExtends>-2</maxExtends>
             <minExtendsSize unit="KB">-1</minExtendsSize>
             <logging>true</logging>
             <recoverable>false</recoverable>
             <maxFreeSpace>0</maxFreeSpace>
             <autoSegmentMgmt>true</autoSegmentMgmt>
             <bigfile>false</bigfile>
             <datafilesList>
                <TablespaceDatafileAttributes id="c:\oradata\DATA1.DBF">
                   <id>-1</id>
                </TablespaceDatafileAttributes>
             </datafilesList>
          </TablespaceAttributes>
    
    

    support of Oracle response:
    Not possible to do it via DBCA

  • EPMHFM-66161: Application created, but an error occurred enabling features

    After completing all the pages of the wizard for creating application Hyperion Financial Management 11.1.2.4.100 (from the Administration of Consolidation in the EPM workspace), the demand creation process ends with the message

    "EPMHFM-66161: Application created, but an error occurred enabling features.

    The application is in fact created, but it seems to be unusable.  We meet some this same problem on an installation of Windows Server 2008 R2 and Oracle Linux installation (not officially supported by Oracle).  In addition, we work with a partner who reports the same issue on another client site.

    Has anyone out there experienced this same problem and come to the top with a solution or workaround?  Oracle recognized as a bug not published, but he did not provide no work around.

    Thank you.

    We have solved this problem.  It turns out that the installation and configuration process failed set TNS_ADMIN, which is referenced by HFM system environment variable.  Once the variable has been set and HFM has restarted the problem has been resolved.

  • Java, created with compilation errors

    Hi all

    I created below compiles and source of java, I get "Java created with compilation errors.

    I gave JAVAUSERPRIV to my user.

    Pls help to solve this problem. Thank you

    CREATE OR REPLACE AND COMPILE JAVA NAMED 'DirList' AS SOURCES

    import java. IO;

    import JAVA. SQL.*;

    public class DirList

    {

    public static getList (String directory) Sub throws SQLException

    {

    Path = new file (directory);

    String [] List = path. List();

    Element string;

    for (int i = 0; i < List.Length; i ++)

    {

    item = list [i];

    #sql {INSERT INTO dir_list (FILENAME) VALUES (: element)};

    }

    }

    }

    /

    ATTENTION: Java created with compilation errors.

    SQL > show errors
    Errors of JAVA SOURCE 'DirList ':

    LINE/COL ERROR
    -------- -----------------------------------------------------------------
    0/0 DirList:5: cannot find symbol
    4 0/0 errors
    0/0 location: DirList, class
    0/0 public static void GetList (String directory) throws SQLException
    0/0      ^
    0/0 DirList:7: cannot find symbol
    0/0 symbol: class file
    0/0 location: DirList, class
    The 0/0 file = new file (directory);
    0/0      ^
    0/0 DirList:7: cannot find symbol

    LINE/COL ERROR
    -------- -----------------------------------------------------------------
    0/0 symbol: class file
    0/0 location: DirList, class
    The 0/0 file = new file (directory);
    0/0      ^
    0/0 DirList:10: cannot find symbol
    0/0 symbol: variable length
    [0/0 location: class java.lang.String]
    0/0 for (int i = 0; i < List.Length; i ++)
    0/0      ^
    0/0 symbol: SQLException, class
    SQL > alter the compilation of java class 'DirList ';

    ATTENTION: Java modified with compilation errors.

    SQL > alter the compilation of java class 'DirList ';

    ATTENTION: Java modified with compilation errors.

    SQL > show errors
    Errors of JAVA 'DirList ': CLASS

    LINE/COL ERROR
    -------- -----------------------------------------------------------------
    0/0 ORA-29535: source requires recompilation
    SQL > alter the compilation of java class 'DirList ';

    ATTENTION: Java modified with compilation errors.

    SQL > show errors
    Errors of JAVA 'DirList ': CLASS

    LINE/COL ERROR
    -------- -----------------------------------------------------------------
    0/0 ORA-29535: source requires recompilation

    You really seem to have a problem with spelling and case sensitivity.

    Look at the definition of the function:

    create or replace procedure get_dir_list (p_dir in varchar2) as language java name 'DirList.getList (java.long.string);

    It should be:

    java.lang.String

  • 12 c DBCA: TNS-04414: error caused by file: TNS-04612: RHS Null for the error «...» »

    Oracle DBCA 12.1.0.3 error message: TNS-04414: error caused by file: TNS-04612: Null HHR for "EXTPROC_CONNECTION_DATA."

    -Solution: it takes at least a space between the beginning of the line "(DESCRIPTION ="

    EXTPROC_CONNECTION_DATA =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = CIP)(Key = EXTPROC1))

    )

    (CONNECT_DATA =

    (SID = PLSExtProc)

    (PRESENTATION = RO)

    )

    )

  • CAUTION: Procedure created with compilation errors.

    HI, I created a table:

    CREATE TABLE:

    create table customer (name varchar2 (10), varchar (40) of the address, Contact number);

    CREATE THE PROCEDURE TO INSERT:

    CREATE OR REPLACE PROCEDURE SP_CUSTOMER)

    p_name customer. Name% TYPE,

    customer p_address. Address TYPE %,

    customer p_contact. Contact TYPE %)

    IS

    BEGIN

    INSERT INTO customer ('name', 'Address', 'Contact')

    VALUES (p_name, p_address, p_contact);

    COMMIT;

    END;

    /

    ERROR:

    IT SHOWS: WARNING: procedure created with compilation errors.

    CREATE THE PROCEDURE TO SELECT:


    CREATE OR REPLACE PROCEDURE SP_SELECT_CUSTOMER)

    p_name customer. Name% TYPE,

    customer p_address. Address TYPE %,

    customer p_contact. Contact TYPE %)

    IS

    BEGIN

    SELECT name, address, Contact WITH THE customer;

    END;

    /

    ERROR:

    IT SHOWS: WARNING: procedure created with compilation errors.

    What is the problem. ? How to solve it. ?

    CREATE OR REPLACE PROCEDURE SP_CUSTOMER (
    p_name customer.Name%TYPE,
    p_address customer.Address%TYPE,
    p_contact customer.Contact%TYPE)
    IS
    BEGIN
    INSERT INTO customer (Name, Address, Contact)
    VALUES (p_name, p_address, p_contact);
    COMMIT;
    END;
    /

    CREATE OR REPLACE PROCEDURE SP_SELECT_CUSTOMER (
    p_cust_details OUT SYS_REFCURSOR)
    IS
    BEGIN
    OPEN p_cust_details for SELECT Name, Address, Contact FROM customer;
    END;
    /

  • Using a loop on AS3.  How to create instances of a class 1000 and put them in a vector/matrix?

    Using a loop on AS3. How to create instances of a class 1000 and put them in a vector/matrix?

    public var newArray:Array = [];

    for (var i: int = 0; i<>

    {

    var newClass:Foo = new Foo();

    newArray.push (newClass);

    }

  • WARNING: Type created with compilation errors. SQL: oracle 11 g 2

    I am creating a client of agent service and subtype-supertype and supervisor, so that they can the intrinsic values, however when I try to run it in oracle sql: a message appears

    Warning: Type created with compilation errors.

    What is the problem with the code below?

    Create or replace type customer_s_type as object ( csID number, csName varchar(15), csType number ) NOT FINAL;  Create or replace type supervisor_type UNDER customer_s_type ( title varchar (10) );  Create or replace type agent_type UNDER customer_s_type (title varchar (10));  Create table supervisor of supervisor_type ( CONSTRAINT supervisor_PK PRIMARY KEY (csID));  Create table agent of agent_type (CONSTRAINT agent_PK PRIMARY KEY (csID));  create table customer_service( csID number(10), csType number(10), constraint supervisor_pk primary key(csID) );

    Wile creation TYPE you need to end with a backslash (/) semi colon does not work.

    Try like this

    create or replace type customer_s_type as an object (csid number, csname varchar (15), cstype number) not final

    /

    create or replace type supervisor_type under customer_s_type (title varchar (10))

    /

    create or replace type agent_type under customer_s_type (title varchar (10))

    /

  • Clone host (error caused by the vmdk file)

    Hello

    We try to clone the server to a scsi with resources as:

    ex_photo.pngiscisi07.png


    During the operation of clone, a 'problem' error caused by the vmdk file is thrown and clone to work stoppages. Server uses thin provisioned (40 GB) and thick (250 GB) / place.

    My question is: in target store, is 579 GB free space and space end implemented is 503 GB. While cloning thick storage (250 GB), do we need at least 250 GB of capacity between space free and put into service? If this is not the case, how can I solve my problem of clone?

    Thank you for your attention...

    Yes, you need this amount of free space (at least 250 GB freespace) available between the space free and put into service.

    TM

  • Procedure created with compilation errors

    Here is the procedure I created when I run im getting 'Procedure created with compilation errors' I do not understand where I have error in code in the procedure below, someone help me conclude to an error in the code.


    create or replace PROCEDURE newprocedur (inMerid IN VARCHAR2, outCount OUT NUMBER) AS
    CURSOR c1 IS
    Select CLIENT_COUNT in the OP_TMER_CONF_PARENT where MER_ID = inMerid for an updated VERSION OF the CLIENT_COUNT;
    BEGIN
    Open c1
    loop
    Fetch c1 in outCount;
    When exit c1% NOTFOUND;
    outCount: = outCount + 1;
    Update OP_TMER_CONF_PARENT set CLIENT_COUNT = outCount the location being the c1;
    end loop;
    Close c1;
    END;

    Hello

    you're missing the semicolon after c1 open:

      BEGIN
       Open c1     <==== ; extra needed
       loop
       fetch c1 into outCount;
    

    Herald tiomela
    http://htendam.WordPress.com

Maybe you are looking for