Steps to remove a database

Hi, I need to create a bat file to remove the database in Oracle 9i. The following are the steps:
1) remove database Windows services
2) remove password file
3) remove database directory structure
Does anyone have a script to perform that?
Thanks a lot

I posted a new set of graphical tools to manage, monitor and tune the Oracle database. One of the many functions and utilities is a function that generates scripts (Windows, Unix) to delete a database. It is free and can be downloaded from http://www.odbtools.com. I will greatly appreciate any suggestions.
Here is a sample script generated for Wndows:
@REM Deleting database test817 related files and directories.
@REM Deleting redo log files.
del /q/f C:\ORACLE\ORADATA\TEST817\REDO05.LOG
del /q/f C:\ORACLE\ORADATA\TEST817\REDO04.LOG
del /q/f C:\ORACLE\ORADATA\TEST817\REDO03.LOG
del /q/f C:\ORACLE\ORADATA\TEST817\REDO02.LOG
del /q/f C:\ORACLE\ORADATA\TEST817\REDO01.LOG
@REM Deleting data files
del /q/f C:\ORACLE\ORADATA\TEST817\DEMOIDX01.DBF
del /q/f C:\ORACLE\ORADATA\TEST817\DEMOTBS01.DBF
del /q/f C:\ORACLE\ORADATA\TEST817\PART101.DBF
del /q/f C:\ORACLE\ORADATA\TEST817\PART201.DBF
del /q/f C:\ORACLE\ORADATA\TEST817\PART301.DBF
del /q/f C:\ORACLE\ORADATA\TEST817\PART401.DBF
del /q/f C:\ORACLE\ORADATA\TEST817\PART501.DBF
del /q/f C:\ORACLE\ORADATA\TEST817\PART601.DBF
del /q/f C:\ORACLE\ORADATA\TEST817\RBS01.DBF
del /q/f C:\ORACLE\ORADATA\TEST817\SYSTEM01.DBF
del /q/f C:\ORACLE\ORADATA\TEST817\TEMP01.DBF
del /q/f C:\ORACLE\ORADATA\TEST817\TEMP02.DBF
del /q/f C:\ORACLE\ORADATA\TEST817\TEMP101.DBF
del /q/f C:\ORACLE\ORADATA\TEST817\TEMP102.DBF
del /q/f C:\ORACLE\ORADATA\TEST817\TEST101.DBF
del /q/f C:\ORACLE\ORADATA\TEST817\TOOLS01.DBF
del /q/f C:\ORACLE\ORADATA\TEST817\USERS01.DBF
@REM Deleting admin files.
rd /s/q C:\oracle\admin\test817\bdump
rd /s/q C:\oracle\admin\test817\udump
rd /s/q %ORACLE_HOME%\RDBMS\TRACE
del /q/f C:\oracle\oradata\test817\control01.ctl
del /q/f C:\oracle\oradata\test817\control02.ctl
del /q/f C:\oracle\oradata\test817\control03.ctl
@REM Deleting Oracle service.
cd C:\oracle\ora81\bin
C:\oracle\ora81\bin\oradim -DELETE -SID test817
Michel.
http://www.odbtools.com

Similar Messages

  • How to uninstall Sharepoint Foundation 2010 and remove its databases

    Hello, 
    My company has Sharepoint Foundation 2010 installed on a Windows Server 2008 R2. I want to remove this server from our network. I'd like to know what are the steps to unsintall Sharepoint Foundation 2010 and remove its databases. The databases are located
    on a remote machine with SQL Server 2008 R2. I'm wondering if the Sharepoint uninstall process will remove its databases from the remote server or do the databases need to be removed manually. If the databases need to be removed manually, I'd like to know
    how to find out the name of the configuration, content, administration, search and user profile application databases that Sharepoint is using. 
    I appreciate any help that anybody can provide. Thanks!!

    Uninstall SharePoint via Programs and Features from the SharePoint server. Once that is done, drop/delete the databases from the SQL Server. Uninstalling SharePoint does not remove databases.
    Before you uninstall SharePoint, you can run:
    Get-SPDatabase | Select Name,Server
    That will list all database names and their associated SQL Server/instance.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Remove mailbox database copy from DAG

    Hi There,
    We would like to remove the mailbox database copy from our exchange server as we are lack of the space on our fixed vhd and we hope to be able to free about 100GB from the passive database copies as we have deployed DAG. is there any guidelines or procedures
    to safely remove the database copies? currently, we have 4 mailbox servers, HQMB01, HQMB02, SSMB01, and SSMB02. HQMB01 and HQMB02 is already part of DAG members by itself. however, on ssmb01 and ssmb02, we also add in HQMB01 and HQMB02 as the DAG member,
    thus they can fail over to HQMB01 or HQMB02 if their server have issue. in this situation, SSMB01 and SSMB02 passive copies is also inside our HQMB01 and HQMB02. As the our HQMB01 and HQMB02 is lack of the disk space and we would like to remove SSMB01
    and SSMB02 from the DAG, thus we could remove the passive database copies. The following is the picture of the activation preference for all servers. what is the procedures and the guidelines to remove mailbox database copy and also remove the server from
    the DAG members? we are quite confuse and worry that after we are removing wrongly and cause the active database to lost as we understand that there is replication happening between them. as we have 4 mailbox servers from which server we should perform
    the task? Wish to get some advises from the exchange guru from this forum. we are on exchange server 2010 sp1 and windows server 2008 R2.Thanks so much.
    Name                 : HQDB01
    Servers              : {HQMB01, HQMB02}
    ActivationPreference : {[HQMB01, 1], [HQMB02, 2]}
    ReplayLagTimes       : {[HQMB01, 00:00:00], [HQMB02, 00:00:00]}
    TruncationLagTimes   : {[HQMB01, 00:00:00], [HQMB02, 00:00:00]}
    Name                 : HQDB02
    Servers              : {HQMB02, HQMB01}
    ActivationPreference : {[HQMB02, 1], [HQMB01, 2]}
    ReplayLagTimes       : {[HQMB02, 00:00:00], [HQMB01, 00:00:00]}
    TruncationLagTimes   : {[HQMB02, 00:00:00], [HQMB01, 00:00:00]}
    Name                 : SSDB01
    Servers              : {SSMB01, SSMB02, HQMB01, HQMB02}
    ActivationPreference : {[SSMB01, 1], [SSMB02, 2], [HQMB01, 3], [HQMB02, 4]}
    ReplayLagTimes       : {[SSMB01, 00:00:00], [SSMB02, 00:00:00], [HQMB01, 00:00:00], [HQMB02, 00:00:00]}
    TruncationLagTimes   : {[SSMB01, 00:00:00], [SSMB02, 00:00:00], [HQMB01, 00:00:00], [HQMB02, 00:00:00]}
    Name                 : SSDB02
    Servers              : {SSMB02, SSMB01, HQMB01, HQMB02}
    ActivationPreference : {[SSMB02, 1], [SSMB01, 2], [HQMB01, 3], [HQMB02, 4]}
    ReplayLagTimes       : {[SSMB02, 00:00:00], [SSMB01, 00:00:00], [HQMB01, 00:00:00], [HQMB02, 00:00:00]}
    TruncationLagTimes   : {[SSMB02, 00:00:00], [SSMB01, 00:00:00], [HQMB01, 00:00:00], [HQMB02, 00:00:00]}

    Hi Exchange Guru,
    thanks so much for the prompt response..i have few queries to ask following your guidelines above:
    1. from the show result above, I am still confuse which server that I should go to remove as this is involving 4 database copies. from what I understand from the truncation or replay lag times of SSDB01 and SSDB02, I can see that HQMB01 and HQMB02 are on
    the third and fourth preference, which means that SSDB01 and SSDB02 will be able to failover to each of them when there is a failure and it cause the passive copies of both of SSDB01 and SSDB02 to be stored in the HQMB01 and HQMB02. what my purpose
    is to remove both SSDB01 and SSDB02 passive copies in HQMB01 and HQMB02. in this case, should I login to SSDB01 or SSDB02 mailbox servers to perform the removal with your guidelines above?
    2. is the command as below:
    Remove-MailboxDatabaseCopy -Identity SSDB01\HQMB01 -Confirm:$False
    Remove-MailboxDatabaseCopy -Identity SSDB01HQMB02 -Confirm:$False
    Remove-MailboxDatabaseCopy -Identity SSDB02\HQMB01 -Confirm:$False
    Remove-MailboxDatabaseCopy -Identity SSDB02\HQMB02 -Confirm:$False 
    will this cause the risk either of my HQDB01, HQDB02, SSDB01, and SSDB02 active copies accidentally  being removed? I am sorry that I am a bit naggy and always want a confirmation as this is very critical and I must be super careful.
    3. If after the removal successful, when is the best time to go to the drive where the passive copies stored and remove them so I can clear some space on  my disk? and is it just as simple by going to the drive and do a folder file deletion manually?
    because I just worry when I delete the file and the server is still replicating between each other, which will cause even corruption to the active database.
    4. From point 3, you mention about when the server is empty. what do you mean by that? do you mean that when the passive copies are no more there? and what command that I used to check?
    5. From point 4, is removing the server from DAG the last step to be performed? yes, I want to remove them from DAG, thus will left only HQMB01 and HQMB02 as one DAG and SSMB01 and SSMB02 as one DAG.
    Thank so so much for your patient and attention.
    Regards,
    Henry

  • Removing the database from Linux

    What I have to delete (files) in order to remove my database from my computer (Linux) ?
    Thanks,
    Paul

    Sounds like you want a clean system ... no trace of Oracle. Under Linux, the correct way of doing that would be
    1) For each database, use DBCA to remove/drop the database.
    Depending on the version of the DBCA, you may need to follow up with manually removing the "Oracle Data" directories, the "Flashback" directories (especially if they changed over time), and the "Admin" directories (where the alert.log and other trace files are kept)
    2) For each set of software (ORACLE_HOME), use the Oracle Universal Installer to remove the Oracle software.
    Depending on the version of the Oraclee Universal Installer, and which patches have been applied, you may need to manually remove the directories under the ORACLE_HOME
    3) Manually remove the Oracle Inventory, as identified by the oraInst.loc file
    4) Manually remove the /etc/oratab, /etc/oraInst.log and (if RAC has been installed) the /etc/oracle directory tree.
    Under Linux, you can cheat - skip the DBCA and OUI portions of the first 2 steps and go to the manual deletes.
    In Linux, I typically install everything Oracle under /u01/app/oracle as my ORACLE_BASE ... to clean the system, I simply "rm -rf /u01/app/oracle /etc/oratab /etc/oraInst.loc /etc/oracle"
    Or better, just start up a saved VMWare clone, if this is not a real system.

  • Installation hangs at step 18-Load Java Database Content

    Hi,
    I am trying to install NW04s WAS. No matter, how many times I uninstall & reinstall(after properly clearing registry entries by running supplied cleaner.exe,stop the Xserver services if running), the installation just doesn't progress at step 18- 'Load Java Database Content'.
    Here is what I did:
    I read other threads and checked from the SAP Management Console if the DB is online. It is online and the DB is not full.But the log and Data states are shown as 0%.
    Next, according to some threads I  removed the JDK 1.4.2_15 and installed 1.4.2_12 version.No use.
    I couldn't find any other threads with suggestions which could be of help to my issue.
    I am using windows vista home premium.I get some errors during installation but not during step 18. so I am not sure whether to consider those errors for this issue.
    <u>Following is the phase information:</u>
    PHASE 2007-09-22 15:40:18
    Prepare the installation program.
    WARNING[E] 2007-09-22 15:43:05
    Error converting from service name=sapmsJ2E/protocol=tcp to port number. SAPRETURN=12
    WARNING[E] 2007-09-22 15:44:47
    Error converting from service name=sapmsJ2E/protocol=tcp to port number. SAPRETURN=12
    WARNING[E] 2007-09-22 15:45:50
    Error converting from service name=sapmsJ2E/protocol=tcp to port number. SAPRETURN=12
    ERROR 2007-09-22 15:50:42
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPOsCol).
    ERROR 2007-09-22 15:51:12
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPJ2E_01).
    ERROR 2007-09-22 15:51:12
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPJ2E_01).
    ERROR 2007-09-22 15:51:12
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPJ2E_00).
    ERROR 2007-09-22 15:51:12
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPJ2E_00).
    WARNING 2007-09-22 15:52:11
    While copying files to 'C:\usr\sap\J2E\SCS01\exe': source file 'C:\usr\sap\J2E\SYS\exe\run/icudt26.dll' not found.
    WARNING 2007-09-22 15:52:12
    While copying files to 'C:\usr\sap\J2E\JC00\exe': source file 'C:\usr\sap\J2E\SYS\exe\run/icudt26.dll' not found.
    ERROR 2007-09-22 15:52:31
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPOsCol).
    WARNING 2007-09-22 15:54:12
    Execution of the command "C:\usr\sap/J2E/JC00/igs/bin/igswd.exe 'C:\usr\sap\J2E\JC00\igs' '-c' '-tracelevel=1' '-mux=Karthik-PC,40000' '-listenerhttp=40080' '-portwatcher=40001' '-portwatcher=40002'" finished with return code 1. Output:
    PHASE 2007-09-22 16:03:03
    Deploying SDAs (using SDM and SAP J2EE Engine).
    PHASE 2007-09-22 16:03:22
    Deploying SDAs (using SDM and SAP J2EE Engine).
    PHASE 2007-09-22 16:04:29
    Deploying SDAs (using SDM and SAP J2EE Engine).
    PHASE 2007-09-22 16:05:18
    Deploying SDAs (using SDM and SAP J2EE Engine).
    PHASE 2007-09-22 16:05:59
    SAP J2EE Engine
    PHASE 2007-09-22 16:06:09
    JLoad Run
    I have spent a lot of time to have this installed. Please somebody help.
    Thanks
    Karthik

    Hi Raja and Anatoliy Misyura  ,
    Thanks a lot for taking time to reply to my issue.
    1)I completely unistalled the previous version by running clearner.exe and stopping the services,removing sapdb folder etc.,
    2)Then I disabled my antivirus,firewall etc.,
    3)Installed jdk 1.4.2_11(after removed the previously tried version 1.4.2_12
    4)Ran the SAPInst installer
    But unfortunately still the installer stops at the same step!
    Don't know what's going wrong.....
    Raja- Can you tell me what is the windows OS version you have? Mine is home premium.
    Thanks
    Karthik
    Can you guys let me know if you have any other suggestions

  • 5th generation ipod not detected by my windows xp.  works fine on other pc.  performed necessary steps to remove and reinstall itunes but having same issue. is there a driver i can download to pc then direct to that specific location when installing?

    5th generation ipod not detected by my windows xp.  works fine on other pc.  performed necessary steps to remove and reinstall itunes but having same issue. is there a driver i can download to pc then direct to that specific location when installing?

    I have a similar issue - my iPod nano connects and is visible in Device Manager yet invisible in My Computer and iTunes. I've tried everything I can possibly think of to try and solve this myself, all in vain.
    Mine is a nano 4G. I've been using it for quite some time without the slightest problem. I have been using WINAMP instead of iTunes to manage my darling nano.
    Then, one fine day I bought a new computer and the nano would not show up in My Computer, though the nano display shows "Do not disconnect". On my old computer it worked (and still works) absolutely fine with win XP as well as with win7 (the later I currently use on my new/problematic computer, which I bought last summer and that's how long I've had this problem).
    Of course, after several first attempts I gave up and installed iTunes. I've tried using the Apple support article "iPod not recognized in 'My Computer' and in iTunes for Windows":
    - reset
    - fully charged,
    - cable works fine on two other computers
    - in normal or disk mode makes no difference
    - tried to find anything useful in the diagnostics mode
    - reinstalled iTunes several different times since then to the latest version
    - I've unplugged every other USB device except for my mouse and keyboard and tried several different USB ports on my motherboard (USB 3.0 and conventional), as well as trying different USB- related options in my BIOS.
    - I've never used any Mac with this ipod
    - I've tried fiddling with the win7 Services by stopping and restarting them and of course
    - uninstalling the iPod drivers in Device Manager. After such an uninstall the ipod would automatically be recognised and "ready for use", i.e. being invisible in My Computer.
    - Attempted to find any possible third-party conflict with msconfig or the possibility that my ipod is being confused for a network drive (for which I've disconnected my HDD, leaving only my SSD with the OS).
    Sometimes, iTunes would note that iPod service (or something, can't remember exactly) failed to install properly and asked to try and repair it. I would click YES! and voila - no change! The ipod would rarely show up in iTunes on my problematic computer like this:
    iTunes would warn me that the nano would need restoring so I would try and do it on my haunted machine upon which iTunes would freeze like you seen in the picture.
    Despite this, I've updated and restored the nano on my father's computer to the latest version without any problems. This though, did not solve my problem in any way.
    I can load music to my nano through my old computer (which for me is a real pain and hassle) and the gadget works normally in terms of its disconnected functionality.
    I've taken my nano to the local service for repair and they said it was fine. Mercifully, they didn't charge for the diagnostics service (gee, thanks for not ripping me off!).
    Here are two screengrabs from my Device Manager
    and Devices and Printers screens on my comp:
    That is my sad story as far as I can remember. It's most likely something with the drivers or something along those lines though I'm out of ideas at this point.
    If you think you have any idea PLEASR HELP, I'M DESPERATE!

  • Steps to upgrade Oracle database from 11.2.0.3.8 to 11.2.0.4.0

    Hi Support,
    Could anyone please provide the steps to upgrade Oracle Database EE from 11.2.0.3.8 to 11.2.0.4.0.
    Thanks
    Imtiyaz

    You will need to install 11.2.0.4 into a new ORACLE_HOME, apply the latest 11.2.0.4 PSU patch to the new ORACLE_HOME (see MOS Doc 1454618.1) and then follow the steps in the Upgrade Guide
    http://docs.oracle.com/cd/E11882_01/server.112/e23633/upgrade.htm#UPGRD003
    see MOS Doc 1189783.1

  • Steps to upgrade oracle database from11.2.0.1 to 11.2.0.3 on Windows 2003 3

    Steps to upgrade oracle database from11.2.0.1 to 11.2.0.3 on Windows 2003 3

    Hi,
    Upgrade steps
    1. Install 11.2.0.3.0 rdbms software
    11.2.0.3 patch set is a full release.
    Beginning with the release 11.2.0.3 patch set, you have two ways to apply a patch set
    i)Out-of-place upgrade (Recommended) -- 11.2.0.3 will be installed as standalone at another location. So there is no impact on source oracle home and also DB upgrade will take less time
    See Note 1276368.1 : Complete checklist for out-of-place manual upgrade from 11.2.0.1 to 11.2.0.2 , it is applicable for 11.2.0.3 as well
    ii)in-place upgrade - 11.2.0.3 will be installed on top of 11.2 installation, So source oracle home will be replaced, Downtime will be high comparing out of place upgrade
    for more info, Please refer to
    Note 1189783.1 Important Changes to Oracle Database Patch Sets Starting With 11.2.0.2
    11.2.0.3.0 software can be downloaded from My Oracle support: patch 10404530
    https://updates.oracle.com/download/10404530.html
    Please select your platform before downloading (Click on "Platform or Language" drop down menu)
    if the platform name contains (32-bit) then it's 32-bit 11.2.0.3 client version
    To install 11.2.0.3, you must download both p10404530_112020_<platform>_1of7.zip
    and p10404530_112030_<platform>_2of7.zip
    <platform> = your platform( ie for linux x86, download p10404530_112030_LINUX_1of7.zip and
    p10098816_112030_LINUX_2of7.zip )
    Note 1194734.1 : Where do I find that on My Oracle Support (MOS) [Video]
    Note 549617.1 : How To Verify The Integrity Of A Patch/Software Download? [Video]
    Note 169706.1 : Oracle Database Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2)
    2) Finish the post installation steps as per the patchset README (readme.html).
    3) upgrade the database to 11.2.0.3
    Kindly ensure source database has all Valid DB components(dba_registry) and there are no invalid sys/system objects
    Note 419550.1 : Different Upgrade Methods For Upgrading Your Database
    Note 837570.1 : Complete Checklist for Manual Upgrades to 11gR2 (applicable to 11.2.0.3)
    Note.870814.1 : Complete checklist to upgrade the database to 11gR2 using DBUA (applicable to 11.2.0.3)
    4) After db upgrade, you can apply PSU patch of 11.2.0.3, it will give latest bug fixes of 11.2.0.3
    The latest PSU patch is (Reference: Quick Reference To Patch Numbers For Database PSU, CPU And Bundle Patches (Doc ID 1454618.1))
    14727310 (11.2.0.3.5) Jan 2013 DATABASE 11.2.0.3
    Patch readme file has Installation instructions.
    Oracle Database Upgrade Path Reference List (Doc ID 730365.1)
    Thanks,
    Krishna

  • HT4914 if you use iTunes match in order to create space and remove music from your hard drive, does that happen automatically when you subscribe and upload your music or is there another step to remove the music from your hard drive once you've uploaded t

    if you use iTunes match in order to create space and remove music from your hard drive, does that happen automatically when you subscribe and upload your music or is there another step to remove the music from your hard drive once you've uploaded to iTunes match?

    Welcome to the Apple Community.
    iTunes match won't automatically remove content from your computer, if you want to do that you will need to do it manually yourself.

  • Steps to Copy a Database in SAP

    Hi,
    What are the steps to copy a database in SAP?
    Thanks,
    Sreekar.

    Hi,
    The steps of database copy are as below.
    1. To make Database copy between two systems, you have to check file size on
    Target System.
    Use commands:
    df -k
    bdf (HP-UX)
    2. On the Source System, check the files which are going to move.
    Use commands:
    su ora
    svrmgrl
    connect internal;
    select name from v$controlfile;
    select name from v$datafile;
    select name from v$logfile;
    3. Release all change requests on source system.
    4. Shutdown database (Source system)
    Use commands:
    su - adm
    stopsap
    5. Copy the controlfiles, datafiles, logfiles from source system to target
    system.
    Backup via tar
    ftp or rcp
    For example: You can write a simple script.
    rcp r src_server:/oracle/SRC/sapdata1 /oracle/TRG
    rcp r src_server:/oracle/SRC/sapdata2 /oracle/TRG
    rcp r src_server:/oracle/SRC/sapdata3 /oracle/TRG
    or for backup
    tar cvf /dev/ sapdata* dbs origlog* mirrlog*
    6. Copy $Oracle_Home/dbs/init.ora parameter file from source system to
    target system. Change all old SIDs to new SIDs except db_name parameter.
    Save it with old SID name.
    7. On the target system, change parameter /dbname= on
    parameter file /usr/sap/trans/bin/TPPARAM
    8. Change all owners and groups.
    Use commands:
    With root user.
    cd /oracle/
    chown R ora:dba sapdata*
    chown R ora:dba origlog*
    chown R ora:dba mirrlog*
    9. Change the name of control files (cntrl.dbf) with new SID
    10. Startup mount must work successfully.
    Use command:
    su ora
    svrmgrl
    connect internal;
    startup mount;
    11. Define new locations to database for data files and log files.
    Use command:
    su ora
    svrmgrl
    connect internal;
    alter database rename file /old/file/name to /new/file/name;
    12. Startup R/3 with startsap.
    Use commands:
    su - adm
    startsap
    13. If not start; see OSS note--> 8179 (grant connect to sapr3 identified by SAP)
    14. Log on to SAP via SAP* user.
    15. Run ST06 and set workbench organizer.
    16. Install new license.
    17. Change the spool server names on SAP system. (SPAD)
    Reward points if found helpfull...
    Cheers,
    Siva.

  • Error While Removing Mailbox Databases

    I'm trying to remove two extra Mailbox databases that we recently migrated users off of during consolidation. However, when I try and remove the DB's I get the following error message:
    Microsoft Exchange Error
    The mailbox database 'chsexmbm' cannot be deleted.
    chsexmbm
    Failed
    Error:
    This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, or arbitration mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox -Database <Database ID>. To get a list of all mailbox plans
    in this database, run the command Get-MailboxPlan. To get a list of archive mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Archive. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox
    -Database <Database ID> -Arbitration. To disable a non-arbitration mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID>. To disable an archive mailbox so you can delete the mailbox database, run the
    command Disable-Mailbox <Mailbox ID> -Archive. Arbitration mailboxes should be moved to another server; to do this, run the command New-MoveRequest <parameters>. If this is the last server in the organization, run the command Disable-Mailbox <Mailbox
    ID> -Arbitration -DisableLastArbitrationMailboxAllowed to disable the arbitration mailbox. Mailbox plans should be moved to another server; to do this, run the command Set-MailboxPlan <MailboxPlan ID> -Database <Database ID>.
    OK
    Now I have run the "Get-Mailbox -Database <DB> -Arbitration" and get three entries:
    Name                                    Alias                                  
    ServerName
    FederatedEmail.4c1f4d8b-8179-4148-93bf- FederatedEmail.4c1f4d8b-8179-4148-93bf- smschsexmb1
    00a95fa1e042                            00a95fa1e042
    SystemMailbox{1f05a927-f1d5-4153-bd93-d SystemMailbox{1f05a927-f1d5-4153-bd93-d smschsexmb1
    fca46ac6957}                            fca46ac6957}
    SystemMailbox{e0dc1c29-89c3-4034-b678-e SystemMailbox{e0dc1c29-89c3-4034-b678-e smschsexmb1
    6c29d823ed9}                            6c29d823ed9}
    However, when I try and move or remove these mailboxes, I get an error from EMS stating that they cannot be found.
    Any idea what I need to do here to resolve this so I can remove these DB's?
    Thanks!!

    Hi
    Suggestion 1:  verify mailboxes:
    1. In Exchange management shell, run these cmdlets:
    Set-ADServerSettings -ViewEntireForest  $True
    get-mailbox -database "DBname" –arbitration
    2. Please verify if arbitration mailbox shows. If yes, please move these mailboxes with this cmdlet:
    Get-Mailbox -Database "DBname" -Arbitration|New-MoveRequest -TargetDatabase "DB2Name"
    Note: please replace DB2Name with the target database name.
    3. Wait for the complete of AD replication, after that, please try to remove database again.
    Suggestion 2: If the database still cannot be removed and you have followed the instruction in error message, but nothing returned. It seems the database is empty. So I suggest we use ADSI Edit to remove the database object directly since it no
    longer contains any mailboxes.
    TechNet Subscriber Support
    in forum
    If you have any feedback on our support, please contact
    [email protected]
    Terence Yu
    TechNet Community Support

  • What  are the steps for merging of database files ?

    hi
    i have 23 datafiles in a tablespace .i want to merge these 23 datafiles into 4 to 5 datafiles.What are the steps for merging of database files
    Edited by: mithun on Oct 22, 2011 11:29 PM

    >
    i have 23 datafiles in a tablespace .i want to merge these 23 datafiles into no of
    small no of datafiles.What are the steps for merging of database filesYou didn't mention your Oracle version.
    See here for creating tablespaces http://www.adp-gmbh.ch/ora/sql/create_tablespace.html.
    You can specify as many (or as few) datafiles as you like.
    Then create tables in your new tablespace x_old_table_name(s) - you can Google this.
    Then select the data from old_table_name(s) into x_old_table_name(s).
    Drop old_table_name(s)
    Rename x_old_table_name(s) old_table_name(s).
    There may be a better way.
    Paul...

  • Steps to remove minibasket area in the UI Layout of B2C

    Hi,
    In the product catalog, the image files and the content in the UIArea: workarea is wider and so a scrollbar appears for the "workarea".
    the minibasket area is always empty and can be removed which I presume might solve this scrollbar appearing issue by extending the workarea to occupy the minibasket's UIArea.
    I tried modifying by removing the UIArea of minibasket in layout-config.xml but the scrollbar for workarea still appears. Should I modify SAP layout-config.xml??
    Please help me with the steps to do it.
    Please advice & provide me the steps to remove the minibasket area.
    Earliest response is much appreciated. Thanks.

    Hi Bharathi,
    First remove any comment you have done in your layout-config.xml file.
    I assume that you do not require minibasket at all in your B2C application. If yes then do as below.
    First try to do it in your deploy folder if it works fine then make changes in your NWDS or DTR.
    1) Open file "\b2c\root\mimes\b2c\stylesheet.css" in your deploy folder.
    2) Find Below text.
    #workarea {
        z-index:70;
        position:absolute;
        top:105px; left:17%;
        width:66%;
        border-width:0px;
        overflow:auto;
    #miniBasket {
        z-index:50;
        position:absolute;
        top:105px; left:83.5%;
        width:16%;
        background-color:#F2F7FC;
        border:1px solid #003366;
    3) Make changes as below. Increase width in workarea from 66% to 82% and decrease minibasket width from 16% to 0%
    #workarea {
        z-index:70;
        position:absolute;
        top:105px; left:17%;
        width:82%;
        border-width:0px;
        overflow:auto;
    #miniBasket {
        z-index:50;
        position:absolute;
        top:105px; left:83.5%;
        width:0%;
        background-color:#F2F7FC;
        border:1px solid #003366;
    Save changes. restart application and clear cache of browser and access it it should not cover minibasket area by workarea.
    let me know if it works. I do not have access to B2C application so let me know what result you got by following above step.
    eCommerce Developer

  • I accidentally downloaded the search engine called Genieo and I am trying to remove it but it just wont go away! I followed the step to remove it but its not working. I am begging for someone's help!!

    I accidentally downloaded the search engine called Genieo and I am trying to remove it but it just wont go away! I followed the step to remove it but its not working. I am begging for someone's help!!

    See if these instructions work:
    http://www.thesafemac.com/arg-genieo/
    Ciao.

  • What are the steps to connect to database or file in mainframe

    Hi
    pls tell me what are the steps to connect to database or file in mainframe os/390
    with regards

    Check out JDBC

Maybe you are looking for