Saturday, June 1, 2019

RPC Folder missing in IIS (Exchange server 2010/2013/2016)

The problem

Exchange server doesn't have the A client has this issue recently on Exchange server 2013 SP1 (works for all versions of exchange server from 2007 to 2016 (2010,2013). This happens because of the lack of free space in the transport server (2010) or mailbox server role 2013/2016. The specific error was: "Resource Monitoring and 452 4.3.1 Insufficient system resources."

The Solution

1. Check the Local space for the logs and for the edb (files on the exchange server)

a. Open a Powershell for exchange or simple powershell with administrative privilegies (using Run as Administrator):

 

b. Run my script from technet at https://gallery.technet.microsoft.com/office/What-is-the-size-of-my-0e1993a7 to check Database (.EDB file) and and Logs size in the server

The correct way to run the script will be as follows

#Change Executionpolicy,
Set-ExecutionPolicy unrestricted
#Run the script (move to the folder where the script is downloaded) 
#Ex: in the downloads of the user 'joseo'
cd "C:\Users\joseo\Downloads"
.\ExchangeDBnLogsize.ps1

You will get something like this:

Note: Please Do not modify the edgetransport.exe.config file, it's a bad practice, and it's just a workaround NOT a solution

 

2. Enable circular logs on the Exchange Server databases

The Easiest way to check if your server has enabled or not this feature, open an exchange powershell console and run:

#Checking CircularLogging exchange 2010/2013/2016
#You will get the True/false result and the name of the database.
get-MailboxDatabase | select Name,CircularLoggingEnabled

#To Enable it
Get-MailboxDatabase| Set-MailboxDatabase -CircularloggingEnabled:$true
On exchange server 2007 will be like this: https://technet.microsoft.com/en-us/library/bb331968%28v=exchg.80%29.aspx?f=255&MSPPError=-2147217396
And you can also do it graphically by doing the following this steps: http://geekswithblogs.net/marcde/archive/2013/08/09/enabling-circular-logging-in-exchange-2013.aspx
After that it will be necessary to unmount and mount again all the databases.

 

3. Create a Windows Backup with 'VSS Full Backup'

Here's the technet article to do this: https://technet.microsoft.com/en-us/library/dd876854(v=exchg.160).aspx
http://www.techrepublic.com/blog/tr-dojo/manage-exchange-log-files-via-windows-server-backup-or-circular-logging/

 

And that's it! thank you for reading

#when you got the results just return the executionpolicy #(when you finished working with powershell scripts, as a good practice ) Set-ExecutionPolicy remotesigned

Please consider to donate and thank you very much for reading this.

No comments:

Post a Comment