ORA-01507: database not mounted when attempting to run emca

All,
I'm working on a renamed host attempting to drop and create the repository so that I can get the Oracle Enterprise Manager running on this host. In doing so, I was able to successfully drop the repository with the following command:
./emca -deconfig dbcontrol db -repos dropMy issue surfaces when i now try to create the repository as follows:
./emca -config dbcontrol db -repos create.
Dec 3, 2012 5:55:11 PM oracle.sysman.emcp.EMConfig perform
SEVERE: No value was set for the parameter DBID.
The above output was on my screen. When I check the emca logfile, I found the following:
Dec 3, 2012 5:54:44 PM oracle.sysman.emcp.DatabaseChecks checkDataGuardEnabled
CONFIG: ORA-01507: database not mounted
Dec 3, 2012 5:55:11 PM oracle.sysman.emcp.DatabaseChecks getDbid
CONFIG: ORA-01507: database not mounted
Does anyone have any input as to what could be the problem?
Thanks in advance!

The server and database have been restarted since the hostname change. I don't know it this will help shed any light, but I have also attempted to use dbca in an attempt to work around the emca issue, but it also gives me errors. Sometimes I get the error stating it cannot run in EXCLUSIVE mode. Other times I get a database not found error.
Could the problem be that I need to shutdown the database and start it in a particular mode prior to running emca?
Thanks

Similar Messages

  • When to restore controlfile, rman is complaining database not mounted?

    to restore controlfile, shouldn`t the database be in NOMOUNT status?
    if yes, then why rman is complaining ORA-01507?
    where I went wrong? Please advise.
    C:\Documents and Settings\PhoenixBai>rman target / nocatalog
    Recovery Manager: Release 10.2.0.1.0 - Production on Tue Dec 14 10:35:51 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database (not started)
    RMAN> startup nomount;
    Oracle instance started
    Total System Global Area     612368384 bytes
    Fixed Size                     1250428 bytes
    Variable Size                234883972 bytes
    Database Buffers             369098752 bytes
    Redo Buffers                   7135232 bytes
    RMAN> restore controlfile until time 'sysdate-1.5/24';
    Starting restore at 14-DEC-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=157 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/14/2010 10:36:12
    ORA-01507: database not mounted
    RMAN>

    it doesn`t. I tried long before this one.
    the dilemma i am facing is that I need to recover to the time which was included in incarnation 2.
    And to be able to reset database to incarnation 2, i need to startup MOUNT the database.
    And once you startup mount the database RESTORE CONTROLFILE won`t work any more.
    below is the standard procedure, documented on 10gR2 doc, but still, i am getting errors:
    Why it is throwing errors? HOw can I fix?
    RMAN> alter database mount;
    database mounted
    RMAN> list incarnation of database orcl;
    List of Database Incarnations
    DB Key  Inc Key DB Name  DB ID            STATUS  Reset SCN  Reset Time
    1       1       ORCL     1264908153       PARENT  1          30-AUG-05
    2       2       ORCL     1264908153       PARENT  534907     07-DEC-10
    3       3       ORCL     1264908153       CURRENT 56335397   14-DEC-10
    RMAN> reset database to incarnation 2;
    database reset to incarnation 2
    RMAN> restore database until scn 56335390;
    Starting restore at 14-DEC-10
    using channel ORA_DISK_1
    creating datafile fno=6 name=E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\ETLTBS01.ORA
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
    restoring datafile 00002 to E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
    restoring datafile 00003 to E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
    restoring datafile 00004 to E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
    restoring datafile 00005 to E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF
    channel ORA_DISK_1: reading from backup piece E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2
    MF_NNND1_TAG20101213T132300_6JCCFO2X_.BKP
    channel ORA_DISK_1: restored backup piece 1
    piece handle=E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2010_12_13\O1_MF_NNND1_TAG20101213
    O2X_.BKP tag=TAG20101213T132300
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:55
    Finished restore at 14-DEC-10
    RMAN> recover database until scn 56335390;
    Starting recover at 14-DEC-10
    using channel ORA_DISK_1
    starting media recovery
    media recovery failed
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 12/14/2010 11:36:14
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover if needed
    start until change 56335390
    ORA-00283: recovery session canceled due to errors
    ORA-38727: FLASHBACK DATABASE requires a current control file.Edited by: PhoenixBai on Dec 14, 2010 11:37 AM

  • Database not mounted

    Dear All,
    Related Database is just installed, I got error message as below:
    SQL> shutdown
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 217157632 bytes
    Fixed Size 2211928 bytes
    Variable Size 159387560 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 5226496 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    SQL>
    Please kindly give advice for this.
    Thanks and regards,
    Vandy

    Dear Niket,
    Thank you very much for your reply and help.
    Now I have checked follow your advice and get the result as below:
    Note: My Oracle Database (11g Realeae 2) is installed on Oracle Linux 5.8
    [oracle@ovmmger ~]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Jan 14 03:14:40 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL>
    SQL> startup
    ORACLE instance started.
    Total System Global Area 217157632 bytes
    Fixed Size 2211928 bytes
    Variable Size 159387560 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 5226496 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    SQL> show parameter control_files
    NAME TYPE VALUE
    control_files string /u01/app/oracle/product/11.2.0
    /db_1/dbs/cntrlDB11G.dbf
    SQL> shutdown
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL>
    Please kindly give advice for this.
    Thanks and regards,
    Vandy
    Edited by: Vandy_Kh on Jan 13, 2013 5:56 PM

  • Ora-01219 database not open; only queries on fixed tables and views.

    Hi everyone
    There is another post stating this error, but since the source is different, I think is okay to make a different post as well.
    Our database was working fine until the other day, when suddenly power went off, UPS was damaged and didn't hold, and when we restarted the database this is what happens:
    Using Enterprise Manager Console, we can make a succesful connection in the same machine, but if we choose Schema, the following error appears:
    ora-01219 database not open; only queries on fixed tables and views.
    When accesing from a different machine:
    ORA-01033: ORACLE initialization or shutdown in progress
    Thanks in advance

    Here is the last entries of alert log
    Fatal NI connect error 12638, connecting to:
    (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
    Time: 20-JUL-2010 15:48:31
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12638
    TNS-12638: Fallo de recuperación de credenciales
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    Tue Jul 20 15:50:50 2010
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 11.1.0.7.0.
    Using parameter settings in server-side spfile E:\ORACLE\CRIMINALISTICA\PRODUCT\11.1.0\DB_1\DATABASE\SPFILECRIM.ORA
    System parameters with non-default values:
    processes = 150
    memory_target = 816M
    control_files = "E:\ORACLE\ORADATA\CRIM\CONTROL01.CTL"
    control_files = "E:\ORACLE\ORADATA\CRIM\CONTROL02.CTL"
    control_files = "E:\ORACLE\ORADATA\CRIM\CONTROL03.CTL"
    db_block_size = 8192
    compatible = "11.1.0.0.0"
    db_recovery_file_dest = "E:\Oracle\flash_recovery_area"
    db_recovery_file_dest_size= 2G
    undo_tablespace = "UNDOTBS1"
    remote_login_passwordfile= "EXCLUSIVE"
    db_domain = ""
    dispatchers = "(PROTOCOL=TCP) (SERVICE=CRIMXDB)"
    audit_file_dest = "E:\ORACLE\ADMIN\CRIM\ADUMP"
    audit_trail = "DB"
    db_name = "CRIM"
    open_cursors = 300
    diagnostic_dest = "E:\ORACLE"
    Tue Jul 20 15:50:55 2010
    PMON started with pid=2, OS id=1688
    Tue Jul 20 15:50:55 2010
    VKTM started with pid=3, OS id=2236 at elevated priority
    Tue Jul 20 15:50:55 2010
    DIAG started with pid=4, OS id=2332
    Tue Jul 20 15:50:55 2010
    DBRM started with pid=5, OS id=2328
    Tue Jul 20 15:50:55 2010
    PSP0 started with pid=6, OS id=2432
    VKTM running at (20)ms precision
    Tue Jul 20 15:50:55 2010
    DIA0 started with pid=7, OS id=2160
    Tue Jul 20 15:50:55 2010
    MMAN started with pid=8, OS id=2156
    Tue Jul 20 15:50:55 2010
    DBW0 started with pid=9, OS id=2064
    Tue Jul 20 15:50:55 2010
    LGWR started with pid=10, OS id=3176
    Tue Jul 20 15:50:55 2010
    CKPT started with pid=11, OS id=3180
    Tue Jul 20 15:50:55 2010
    SMON started with pid=12, OS id=3184
    Tue Jul 20 15:50:55 2010
    RECO started with pid=13, OS id=3188
    Tue Jul 20 15:50:55 2010
    MMON started with pid=14, OS id=3192
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    ORACLE_BASE from environment = E:\Oracle
    Tue Jul 20 15:50:55 2010
    MMNL started with pid=15, OS id=3196
    Tue Jul 20 15:50:56 2010
    alter database mount exclusive
    Setting recovery target incarnation to 2
    Successful mount of redo thread 1, with mount id 1304879008
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: alter database mount exclusive
    alter database open
    Errors in file e:\oracle\diag\rdbms\crim\crim\trace\crim_dbw0_2064.trc:
    ORA-01157: cannot identify/lock data file 9 - see DBWR trace file
    ORA-01110: data file 9: 'E:\ORACLE\ORADATA\STOPCRIM5\STOPCRIM5TABLESPACE.ORA'
    ORA-27047: unable to read the header block of file
    OSD-04006: fallo de ReadFile(); no se ha podido leer del archivo
    O/S-Error: (OS 38) Se ha alcanzado el final del archivo.
    Errors in file e:\oracle\diag\rdbms\crim\crim\trace\crim_dbw0_2064.trc:
    ORA-01157: cannot identify/lock data file 16 - see DBWR trace file
    ORA-01110: data file 16: 'E:\ORACLE\ORADATA\PRUEBACARLOS\PRUEBACARLOSTABLESPACE.ORA'
    ORA-27047: unable to read the header block of file
    OSD-04006: fallo de ReadFile(); no se ha podido leer del archivo
    O/S-Error: (OS 38) Se ha alcanzado el final del archivo.
    Errors in file e:\oracle\diag\rdbms\crim\crim\trace\crim_dbw0_2064.trc:
    ORA-01157: cannot identify/lock data file 17 - see DBWR trace file
    ORA-01110: data file 17: 'E:\ORACLE\ORADATA\PRUEBACARLOS\PRUEBACARLOSINDEX.ORA'
    ORA-27047: unable to read the header block of file
    OSD-04006: fallo de ReadFile(); no se ha podido leer del archivo
    O/S-Error: (OS 38) Se ha alcanzado el final del archivo.
    ORA-1157 signalled during: alter database open...
    Tue Jul 20 16:04:39 2010
    db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.

  • ORA-01109:database not open

    ORA-01109:database not open, how to solve this problem please give me steps.

    Connect to the instance as sysdba:sqlplus /nolog
    conn / as sysdbaGet the instance status:SELECT STATUS FROM V$INSTANCE;Depending on reported status:
    . MOUNT:ALTER DATABASE OPEN;. STARTED:ALTER DATABASE MOUNT;
    ALTER DATABASE OPEN;Report any problem encounterred there.
    Regards,
    Yoann.

  • Database Datafiles Recovery. ORA-01219: database not open:

    Hi,
    I have a 10g database running on SuSE Linux server. I mistakenly deleted one of my file system's files that contain some of the database datafiles. I can connect to the database but I am failing to run queries:
    SQL> select * from global_name;
    select * from global_name
    ERROR at line 1:
    ORA-01219: database not open: queries allowed on fixed tables/views only
    I do weekly cold backups of the server. My database is in NOARCHIVE log mode. What is the best way to recover my data; Is it possible that I restore only the file system or I should should do a complete restore of all file systems??
    Regards
    Kevin
    Edited by: Kevin Honde on Jul 28, 2010 2:55 PM

    I mistakenly deleted one of my file system's files that contain some of the database datafiles.Ok
    I do weekly cold backups of the server.Great !!
    My database is in NOARCHIVE log mode. That's the mistake in my opinion
    What is the best way to recover my data; Restore it from the latest available cold backup.
    There will be a data loss post weekly consistent cold backup. Which you have to accept because you do not have your database running in Archive Log mode.

  • Photosmart C6180 on wireless network does not respond when attempting to print

    Photosmart C6180 successfully installed on wireless network does not respond when attempting to print.  All in one is successfully installed on wireless network and SW successfully installed on Windows XP computer yet printer does not print.  Get no error message other than document failed to print.  HELP!

    So gald I'm not the only one. I have been fighting this crappy HP printer for MONTHS also. Everything says a OK goody goody but printer fails to print every two to three weeks.

  • Exchange Data Center Switching Database Not Mounting

    -Primary DC > 02 Exchange Servers ( All roles Installed)  MAPI & Replication Network Between two
    -DR Site > 01 Server (All roles) + 01 Server ( Mailbox Roles) Only MAPI network
    -All the Servers in both Sites are members of DAG called DAG1
    - All Mailbox Server have Database Copies in healthy states
    I shutdown the Primary Database Completely and I saw that Mailbox Databases not mounting On DR Site.
    What need to be configured? to Switch over and Automatic mount in case Primary Data Center Down.
    here is the Screen Shot:
    After Some time

    Hi,
    All DAG members should have the same number of networks, MAPI and Replication networks. Base on your description, members in DR site only have MAPI network.
    If your primary datacenter fails, you need to switchover to secondary datacenter manually.
    You can look at the following article.
    http://technet.microsoft.com/en-us/library/dd351049(v=exchg.141).aspx
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Virtual keyboard does not open when attempting to type in username or password fields

    virtual keyboard does not open when attempting to type in username or password fields. This occurs on multiple websites. HTC Incredible on Verizon network. Current updates on phone. Fennec update dated 9-20-2010. This used to work a couple weeks ago.

    Thanks for the report. We're working on fixing this; you can see the current status here: https://bugzilla.mozilla.org/show_bug.cgi?id=591047
    This bug should be fixed within the next week or so, and will be fixed in the upcoming beta release.

  • TS1702 I HAVE IPOD TOUCH MODEL A1421 AND IT WILL NOT RESTORE AND IS STUCK IN RESTORE MODE. DOES NOT RESTORE WHEN ATTEMPTING THROUGH ITUNES. PLEASE HELP!

    I HAVE IPOD TOUCH MODEL A1421 AND IT WILL NOT RESTORE AND IS STUCK IN RESTORE MODE. DOES NOT RESTORE WHEN ATTEMPTING THROUGH ITUNES. PLEASE HELP!

    If iTunes sees the iPod, try a manual install, as pointed out on link below.
    Troubleshooting 101
    Some topics covered
    -Basic troubleshooting steps
    -Hard reset instructions
    -Manual restore instructions
    -Hardware troubleshooting
    -Preventive Maintenance
    -Anti-theft & recovery tips
    -Battery-saving tips
    -Repair options
    -Contacting Apple
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
     In Memory of Steve Jobs 

  • HT201406 1st. Gen iPad question:  the touch keyboard does not appear when attempting to input data into data fields - this happens while using all apps, ex. Notes, Google, Pages, etc..

    1st. Gen iPad question:  the touch keyboard does not appear when attempting to input data into data fields - this happens while using all apps, ex. Notes, Google, Pages, etc.. The cursor prompt is present.  Tapping screen just brings up the option to: "Select   Select All   Paste."   I have rebbooted with no change. 
    Message was edited by: Jimfromutah
    The problem was my connected bluetooth keyboard.

    1st. Gen iPad question:  the touch keyboard does not appear when attempting to input data into data fields - this happens while using all apps, ex. Notes, Google, Pages, etc.. The cursor prompt is present.  Tapping screen just brings up the option to: "Select   Select All   Paste."   I have rebbooted with no change. 
    Message was edited by: Jimfromutah
    The problem was my connected bluetooth keyboard.

  • Error 102 when attempting to run software update

    I am getting an Error 102 'error occurred while downloading the updates' message when attempting to run software update.
    I've already cleared the cache, rebooted the machine, etc. with no luck.
    I'm apparently stuck on V10.8 and cannot update software beyond that point.
    Any other ideas?
    Thanks!

    Dyld Error Message:
    Library not loaded: /System/Library/PrivateFrameworks/PackageKit.framework/Versions/A/PackageKit
    Referenced from: /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update
    Reason: image not found
    This indicates a mucked up installation, since the SU can't find the PackageKit file. Reinstall Snow Leopard from your install disc.

  • Dr Watson error when attempting to run an exe (LV 6.1) on NT OS

    When attempting to run the LV 6.1 EXE I created on an NT system using the Application Builder I get a Windows Dr Watson ERROR and I cant go any further. The code works fine when running from LV. So far I have tried:
    1) Created a Distribution Kit (so the RTE would be installed) ...same error.  
    2) I tried this same EXE on XP and it runs just fine.
    P.S.
    There is already an EXE running on this system (a previous version of the code) which was created using LV 5.1. Since I do not have the bld file I used the standard configuration (no dynamic VIs, just added the top level).
    I really need to upgrade this system....thanks in advance for your help.

    Hi Lupita,
    Thank you for contacting National Instruments.  It looks like you are currently running a 5.1 executable and then attempting to run a LabVIEW 6.1 executable.  Are these operations intended to be simultaneous?  Are both executables being run simultaneous when you are testing this on the XP system?  Is it possible to halt the 5.1 application and test the 6.1 executable under these circumstances?  Also, I would recommend downloading the Run-Time engine for 6.1 here, and verify that this behavior still occurs.  There may be some shared resources that cannot be accessed, but I am currently unaware of how that would initiate a Drwtsn32.exe error.
    Jason W.
    National Instruments
    Applications Engineer

  • Error message when attempting to run aam

    I am encountering error message when attempting to run aam - Please connect to the internet, then try again when I am already connected

    Please see Sign in or activation errors | CS6, CS5.5 Subscriptions, CS6 Perpetual - http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html for common resolutions to these difficulties.

  • Screensaver not starting when iTunes is running. Works otherwise...

    Hi everyone,
    My screensaver will not start when iTunes is running (also Spotify). When the app is closed, the screensaver starts when it's supposed to (5 min. in my case, but have tried other time limits). I've tried changing mouse settings and even shutting it off to see if that's the cause but it didn't help. I use the MacMini as a home theater computer hooked up to my plasma so I need the screensaver to work. In the meantime, I've been using hot corners to force screensaver, but I would love for it to start automatically when music is playing. I've tried rebooting, resetting, but to no avail.
    Has anyone else had this issue or know what the problem is?
    I'm running MacMini brand new. Mavericks 10.9.1. Latest iTunes.
    Thanks.

    I don't normally use the screensaver. However when I tested it, I get the same results while iTunes is running.
    I encourage you to report it using > Apple - Mac OS X - Feedback

Maybe you are looking for