Saturday, May 24, 2014

Exchane 2013: Change the Location of the Queue Database


  1. Create the folders where you want to keep the queue database and transaction logs. Make sure that the correct permissions are applied to the folders.

  1. In a Command prompt window, open the EdgeTransport.exe.config file in Notepad by running the following command:
Notepad %ExchangeInstallPath%Bin\EdgeTransport.exe.config



  1. Modify the following keys in the <appSettings> section.
<add key="QueueDatabasePath" value="<LocalPath>" />
<add key="QueueDatabaseLoggingPath" value="<LocalPath>" />




  1. When you are finished, save and close the EdgeTransport.exe.config file.
  2. Restart the Microsoft Exchange Transport service by running the following command:
net stop MSExchangeTransport && net start MSExchangeTransport



Note: If the Exchange Transport Service didn’t started again after running above command go to Services  and start it manually





To verify that you successfully created a new queue database and new transaction logs at a new location, do the following:
  1. Verify the new database files Mail.que and Trn.chk exist at the new location.
  2. Verify the new transaction log files Trn.log, Trntmp.log, Trnres00001.jrs, Trnres00002.jrs, and Temp.edb files exist at the new location.
  3. If you can delete the old queue database and transaction log files from the old location after the Microsoft Exchange Transport service has started, those files are no longer being used.

Reference:
http://technet.microsoft.com/en-us/library/bb125177(v=exchg.150).aspx

Monday, May 19, 2014

Exchange DAG Database Incremental Backup From Passive Databases Fails to Purge the Logs

Resolution:


1-      Make sure that the Database copy on all Mailbox server in healthy state.
2-      Dismount the active copy of the Database.
3-      Suspend replication for the target Database.
4-      Dump the database header to make sure it’s in clean shutdown using  “ESEutil /mh”.



5-      Move the log files ( .log) from the logs folder to alternate location on the Server that hold the active copy database.
6-      Mount the DB. make sure it is mounted successfully with healthy state.
7-      Resume the Passive Database Replication.



8-      In-case you got error when resuming the passive Database replication with “Failed and suspended” state, start reseeding the Database using Update option.



Monday, May 12, 2014

Exchange 2013 Move-Databasepath fails with Error: WMI exception occurred on server

Problem:
Move-Databasepath command is not working and showing the following error after 5 min


Resolution:
  • Perform a Full Backup of the Server which in effect will purge the logs.  This can be performed by using Windows Server Backup or another product.
  • Enable Circular Logging, dismount/remount the database, then Re-enable Circular Logging.
  • Manually delete the log files.  Do not perform this procedure without checking first that all log files have been played into the database, doing so could result in loss of data. 
Verify:

Run> Get-MailboxDatabase “DatabaseName” | FL Name,*Path*



Or you can login to Exchange Admin Center





References:
http://clintboessen.blogspot.ae/2012/10/error-wmi-exception-occurred-on-server.html
http://clintboessen.blogspot.com.au/2010/09/flush-transaction-logs-in-exchange.html
http://tmitegypt.wordpress.com/2013/05/05/move-database-path-error-wmi-exception-occurred-on-server-quota-violation/
http://careexchange.in/how-to-move-database-path-and-log-folder-path-in-exchange-2013/

Thursday, May 1, 2014

When you select the Shared Mailbox and search there are no results.

Problem: 
When you select the Shared Mailbox and search, there are no results. but when u select individual folders within the shared mailbox it can search them but only individually. 

Resolution:
In outlook, click Tools and then Account Settings, press "change" - "more settings", go to the "Advanced" tab (where you configured the shared mailbox before" and uncheck the "Download shared folders" box, restart outlook.