How to startup and repair my database?

I delete a datafile(.dbf, not in main folders) incautionly, now, I can not startup my oracle, how should I do to startup and repair my database(there is some important data in the database)? will you please give me some advice? thank you!

We recommend that you post this question in the appropriate Database forum. The OTN Suggestions/Feedback forum does not answer technical questions and offers assistance with the OTN site and other customer support issues.
Best Regards, OTN Team

Similar Messages

  • Shell Script  for Startup and Shutdown the database

    Hi,
    i want Shell Script for Startup and Shutdown the database in Solaries.
    could any one can hep me where i can get this script. or send to me to [email protected]
    Thanks & Regards,
    Gangi reddy

    SHUTDOWN
    SHUTDOWN ABORT]
    Shuts down a currently running Oracle instance, optionally closing and dismounting a database.
    Terms
    Refer to the following list for a description of each term or clause:
    ABORT
    Proceeds with the fastest possible shutdown of the database without waiting for calls to complete or users to disconnect.
    Uncommitted transactions are not rolled back. Client SQL statements currently being processed are terminated. All users currently connected to the database are implicitly disconnected and the next database startup will require instance recovery.
    You must use this option if a background process terminates abnormally.
    IMMEDIATE
    Does not wait for current calls to complete or users to disconnect from the database.
    Further connects are prohibited. The database is closed and dismounted. The instance is shutdown and no instance recovery is required on the next database startup.
    NORMAL
    NORMAL is the default option which waits for users to disconnect from the database.
    Further connects are prohibited. The database is closed and dismounted. The instance is shutdown and no instance recovery is required on the next database startup.
    TRANSACTIONAL [LOCAL]
    Performs a planned shutdown of an instance while allowing active transactions to complete first. It prevents clients from losing work without requiring all users to log off.
    No client can start a new transaction on this instance. Attempting to start a new transaction results in disconnection. After completion of all transactions, any client still connected to the instance is disconnected. Now the instance shuts down just as it would if a SHUTDOWN IMMEDIATE statement was submitted. The next startup of the database will not require any instance recovery procedures.
    The LOCAL mode specifies a transactional shutdown on the local instance only, so that it only waits on local transactions to complete, not all transactions. This is useful, for example, for scheduled outage maintenance.
    Usage
    SHUTDOWN with no arguments is equivalent to SHUTDOWN NORMAL.
    You must be connected to a database as SYSOPER, or SYSDBA. You cannot connect via a multi-threaded server. For more information about connecting to a database, see the CONNECT command earlier in this chapter.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a90842/ch13.htm#1013607
    Joel Pérez

  • How to stop and start RAC Database

    Hi,
    Can anybody tell me How to stop and start RAC Database.
    Pls give me the exact procedure for OS - IBM Aix 5.3.
    Rajkumar

    Burleson,
    It so appears, as from the numerous times you have been published incorrect, untested information, and non-working scripts, you are not an Oracle guru,
    but only a self-proclaimed one.
    It also appears nothing on your 'CV' can be easily verified.
    You state you are an 'adjunct professor emeritus', however anyone who was kicked out after a few months can call himself a 'professor emeritus'.
    Looking at the enormous amount insults and slander you have posted directed to me and others on this forum, showing a highly unprofessional attitude toward your peers,violating this forums rules of conduct, don't you think you deserved to be banned completely?
    After all, you are always promoting your own publications here, which is also in violation of the rules for this forum.
    What makes you think that "Sybrand" is a man's name? How many male Sybrand's do you know? I don't know any, not one.
    That's your problem. I'm as much as male, as you are a fat, ugly, self-proclaimed Oracle-guru, which you are clearly not, you are only a fraud, and this glares from all of your publications.,
    Sybrand Bakker
    Senior Oracle DBA

  • How to compact and repair a MS Access database with NI CVI 8.5 (and SQL Toolkit)

    Hello
    I'm using the SQL Toolkit with CVI 8.5 for accessing MS Access Databases.
    Is there a possibility to compact and repair the .mdb file with  CVI?
    Thanks in advance.

    Hello Ulrich,
    with compact and repair I mean the MSAccess function "Compact and Repair".
    Please follow the link below for more details:
    http://office.microsoft.com/en-us/access-help/compact-and-repair-an-access-file-HP005187449.aspx
    Normally you can execute this function directly in Access or with the Windows ODBC Data Sources Administrator  => "Control Panel" => "Administrative Tools" => "Data Sources (ODBC)"...
     I want to execute this function via cvi code and not by hand ;-).
    Thank you for your support.
    Frank

  • How to handle and Manage Multi DataBase access with LCDS in runtime ?

    Hello there
    I got several customer working with the same application and I wonder how,  with LCDS,  to manage  in a runtime a multi dataBase access; without creating a configuration "mxl" file in
    the folder catalina for each database.
    Indeed, each customer have their own dataBase, and so far, I did not find out how to avoid creating a config xml file in catalina for every single database; which force me to create as well for each customer a  folder application, since the name of the config file in catalina require a folder application to be ran under tomcat....
    Thus, my question is :
    Is there anyway to create only one configuration mxl file in catalina (in the server side) and then from the client side (application) let the user select its environment (meaning its database) to run the application.... this technic can be also used for multi database environment such as : Dev / Test / Prod   environment (or database) where the same application can access to.
    Please if any one have an idea or already delt with; just let me know, because I'm entering in a bootle neck and the situation is getting serioulsy critical....
    Regards

    Hello Ulrich,
    with compact and repair I mean the MSAccess function "Compact and Repair".
    Please follow the link below for more details:
    http://office.microsoft.com/en-us/access-help/compact-and-repair-an-access-file-HP005187449.aspx
    Normally you can execute this function directly in Access or with the Windows ODBC Data Sources Administrator  => "Control Panel" => "Administrative Tools" => "Data Sources (ODBC)"...
     I want to execute this function via cvi code and not by hand ;-).
    Thank you for your support.
    Frank

  • How automatic Mount and Open specified database

    hello admins,
    we have oracle 8.0.6 .
    we need know, how is automatic Mount and Open specified database ?
    thanks in advance & regards
    rodolfo.

    Rodolfo, where you come from ?
    Pensavo fossi italiano, o mi prendi per il c... ?
    In your operating system, and for your (very old)
    version, you should have two services for each DB.
    You have to set automatic startup for DBs you want to start automatically, otherwise manual. Obviously, for the last ones you have to start them yourself.
    Paolo

  • Compact and Repair Encrpyted Database Problem

    I have an MS Access 2007 accdb file that I no problems with when it is not encrypted.  I can compact and repair with no problems.  However, when I encrypt the database and try to compact and repair the file, I get 'invalid argument'. The
    file is 101 MB, I'm not at the 2 GB limit by far.  Any suspicions?   This file was recently imported into 2007 from 2003 (accdb from mdb). I have had the users testing it extensively.  I worked through the all of the compile errors that
    the previous auther left.  The problems comes once I encrypt the file again and again.

    Hi,
    Thank you for posting in the MSDN Forum.
    Since the issue is more related to the end-user feature of Access, I'd like to move it to Office IT product forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to find and repair errors on backup 1T ex. hd. drive?

    Set up 1T external hard drive to back up.  Back ups are completed "with errors".  How do I find the errors and repair and avoid them?  Ben

    Hi
    After the OS installation from the original Microsoft CD you will have to install only the Toshiba drivers and tools. All these applications can be found on the Toshiba driver page!!!
    I miss your notebook name in this posting!!! But I think your need drivers for Sat Pro M10! Am I right??? I found this notebook model in your other thread! Please confirm this!
    Anyway, choose your notebook model from the driver download form and download all necessary drivers!
    Thats all ;)

  • How to startup and install listener in oracle linux after intalling database ?

    hi 
    i am installing oracle database on  linux 6 and when its finishe i cant run sqlplus or i cant run dbca or netca ?
    what i am doing after installataion oracle database with ruinInstallet (oui) ?
    thanks

    Hi,
    you have to set environement variables $ORACLE_HOME and $PATH in user profile ( .bash_profile in your home directory). some think like this :
    export ORACLE_HOME=/u01/app/oracle/product/11.2.3/db_1
    export PATH=$ORACLE_HOME/bin:$PATH
    after that you execute ths profile . .profile or reconnect to load the variables, you can then use netca,sqlplus or any other utilities in bin directory of your ORACLE_HOME

  • SOS: The Scenario of how to backup and recover RAC database

    Hello,
    I am using the RAC system, but backup and recovery of the RAC system, still are implemented so far.
    Who know how to use RMAN to realize the backup function for the RAC system? Please help me, thanks a lot first.

    The fact your database is RAC has no practical effect on the backup procedures. There is only one database; you backup it up the same way you back up an exclusive database. Recovery is affected in that you will need to provide Oracle access to both archived log destinations or copy the logs for one instance over to the other instance archive log directory so Oracle can find them.
    HTH -- Mark D Powell --

  • How to compress and extract files & databases from current BC site?

    Hello All -
    It's been a good run with BC, but we're under new management and are starting over with a different CMS.    I would like to extract all data from the current site (text from all pages, images, pdfs, etc from media library, information from customers).  I know how to export customer reports, but is there a way to compress and extract everything in a comprehensive way?
    Thanks so much - any help would be much appreciated! 
    Also... need to do this ASAP...

    Hi,
    Unfortunately it's not a comprehensive as you may be hoping.  You'll need to export everything using the existing tools mentioned in the article below.  It's similar concept of migration one site to another.  
    - http://kb.worldsecuresystems.com/203/bc_2038.html
    I'm afraid there's no automated feature for this at the moment.
    Kind regards,
    -Sidney

  • When the Database startup and open? please please not alert log

    Hello all
    is there is a script or dinamic view which query what time the database startup and shutdown.
    please don't answer me with opent alert log, am looking for view or script only
    thank you
    regards

    You wrote you don't want to use the alert.log. But
    still this could provide all the information you want
    to have.
    If you dont want to use the alert.log because you
    need to query the information by using sql you may
    consider to access the alert.log via a external table.Even the alert log may not meet the new requirements of 'all startup and shutdown history'. In a typical shop, the alert log is periodically archived or wiped.
    The answer to the OPs question probably lies in creating a new table to store the v$instance information, and create a database startup and possibly a database shutdown trigger to fill that table.
    Or start using Grid Control which has that information tucked away in one of the internal sysman tables.

  • Not able to repair corrupted database.

    Hi Experts:
    One of my database got corrupted and I an trying to repair by using following steps:
    ALTER DATABASE [abcde]
    SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
    GO
    When I excute the above, the database is in single user mode, 
    DBCC CHECKDB ([abcde],
    REPAIR_ALLOW_DATA_LOSS)
    WITH NO_INFOMSGS;
    GO,
    but when I execute this statement, I am getting an error as 
    Msg 924, Level 14, State 1, Line 1
    Database 'abcde' is already open and can only have one user at a time, when I googled, it says to find out active sessions ans kill them to bring to multi user which I did, but how to proceed with repairing the database
    ALTER DATABASE [abcde]SET
    MULTI_USER WITH ROLLBACK IMMEDIATE;
    GO
    ALTER DATABASE [abcde]
    SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
    GO
    DBCC Checkdb([abcde],
    REPAIR_rebuild)
    go
    ALTER DATABASE [abcde]
    SET MULTI_USER WITH ROLLBACK IMMEDIATE;
    GO
    Please advice me .
    Thanks in advance.

    Do you have a known good backup? If so the best option is to restore from the backup which would guarantee the data consistency.
    Before trying out DBCC CHECKDB ([abcde],
    REPAIR_ALLOW_DATA_LOSS)
    did you try just DBCC CHECKDB(abcde) and did it suggest repair_allow_data_loss? What did it suggest? You are not supposed to directly run repair_allow_data_loss as it causes data loss which cannot be quantified.
    What happened when you run the below? They should also do the repair!!
    ALTER DATABASE [abcde]
    SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
    GO
    DBCC Checkdb([abcde],
    REPAIR_rebuild)
    go
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • How to stop and start (restart) portal services programmatically?

    Hi experts,
    I develop a portal service IMaintenanceService extending IService.
    The new service has some profile properties (start date, end end, etc.).
    I wrote another portal application MaintenanceManager which can change these profile properties.
    However, to activate the changes I have to restart the portal service.
    Does anyone know how I can restart the portal service IMaintenanceService from my portal application MaintenanceManager?
    Thanks for help.
    Edited by: Daniel Fötsch on Nov 21, 2011 8:24 AM

    please see the metalink note
    How to Start/Stop MWA Services Using Control Scripts adstrtal.sh/adstpall.sh? [ID 731320.1]
    This is how i startup and shutdown WMA
    for stopping :
    1) login to Applications tier
    2) To see if the MWA (telnet) server is running use:
    ps -ef|grep DPID
    3) cd $MWA_TOP/bin
    3) ./mwactl.sh -login sysadmin/xxxxx stop_force 10200;
    4) check the wma process from OS level
    ps -ef|grep mwa
    for starting
    1) login to Applications tier
    2) cd $MWA_TOP/bin
    3) ./mwactl.sh -login sysadmin/xxxxx start _force 10200;
    4) check the wma process from OS level
    ps -ef|grep mwa

  • How to Stop and Start Scheduler Service

    Does anyone know how to stop and start the Scheduler service for Hyperion Financial Reporting in release 9.3.1?

    please see the metalink note
    How to Start/Stop MWA Services Using Control Scripts adstrtal.sh/adstpall.sh? [ID 731320.1]
    This is how i startup and shutdown WMA
    for stopping :
    1) login to Applications tier
    2) To see if the MWA (telnet) server is running use:
    ps -ef|grep DPID
    3) cd $MWA_TOP/bin
    3) ./mwactl.sh -login sysadmin/xxxxx stop_force 10200;
    4) check the wma process from OS level
    ps -ef|grep mwa
    for starting
    1) login to Applications tier
    2) cd $MWA_TOP/bin
    3) ./mwactl.sh -login sysadmin/xxxxx start _force 10200;
    4) check the wma process from OS level
    ps -ef|grep mwa

Maybe you are looking for

  • Installation problem of Oracle 9iAS rel2 on redhat advanced server 2.1

    Hi, I am trying to install Oracle 9ias Rel2 on redhat advanced server 2.1 Following instructions i downloaded and installed the binutils patch binutils-2.11.90.0.8-13.i386.rpm I have set ORACLE_HOME appropriately and created a new user oracle. During

  • Using outlook 2011 for Mac and iCloud

    Hello all, I am starting a new job and the office uses Outlook 2011 for Mac. I am looking for a calendar solution so that I can use the invitation features in Outlook, but have my calendar available on my iPhone and iPad. I have searched on these for

  • Is there any way to incorperate video from the internet into your project?

    I am trying to make a movie for a research project for school on Lions. I've never been to Africa to get the footage I need to make this movie but the Internet has great footage that I would like to incorporate in my film. Is it possible to take some

  • Is a 2,4MB/sec speed in a wi fi ad-hoc mode normal for G-410m-mm?

    Hello! Is a 2,4MB/sec speed normal for copying a 20gb file from a Vista x64 with Zyxel G-202 EE to G410m-mm through a wi fi in ad-hoc mode? Why is the 2,75MB/sec speed in the oposite direction higher? Regards, Dmitry Message Edited by di on 10-26-200

  • How to slow things down to see the progress bar?

    how to slow things down to let the progress bar to show its progress? everytime i run the program i can see only two scenario: 1. 0% 2. 100% i think the stuffs are too little to make any difference. what should i add in the codes so that i can see th