‘Microsoft Exchange Server’ reported error (0x8004011D): ‘The server is not available. Contact your administrator if this condition persists.’
This is a familiar error for many people. In my experience of diagnosing and fixing exchange issues, 9 / 10 times there has been an information store being dismounted due to an underlying service crashing.
Let’s go through a few basic steps to narrow it down:
- Check to see that all MSExchange Services are started. (MSExchangeES, MSExchangeIS, MSExchangeMTA, MSExchangeSA)
- If any of these are not started, start them!
net start MSExchangeES /yes
net start MSExchangeIS /yes
net start MSExchangeMTA /yes
net start MSExchangeSA /yes
- Check to see if the Information Stores are mounted. Exchange Manager -> Servers -> Server Name -> First Storage Group -> Right-click on Mailbox Store and select “Mount Store” if dismounted.
- Perform a database check.
C:\Program Files\Exchsrvr>bin\eseutil /mh mdbdata\priv1.edb
- Sometimes the error code will be thrown when a database is “dirty.” Doing the above check reveals what state the database is in, if you see State: Dirty Shutdown, then you must make sure all transaction logs from the checkpoint and later are present, then mount the store. If the logs are gone, you have to repair the database using Eseutil /p to make the database consistent to start. This can result in data loss, so back up everything beforehand just in case. After running Eseutil /p, run Eseutil /d to defrag the database. Then run the Information Store integrity checker Isinteg.exe -fix. Running these commands should fix any problems associated with a dirty database, and allow the stores to be mounted again. Please do make sure you have 1.5 – 2 times the database file size in free space on the drive for the system to work.