MS Exchange mail level backup that is scheduled to be run on a MS Exchange server is not running. Upon further investigation, the following entries are found in the scheduler debug.log:
[YYYY/MM/DD hh:mm:ss][info][Backup Set (Backup ID)] Start running backup
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set]
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set] C:\Program Files\Colosseum Server Backup Client SBC\bin>SET APP_HOME=..
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set]
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set] C:\Program Files\Colosseum Server Backup Client SBC\bin>SET JAVA_HOME=..\jvm32
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set]
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set] C:\Program Files\Colosseum Server Backup Client SBC\bin>IF NOT EXIST ..\jvm32 SET JAVA_HOME=..\jvm
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set]
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set] C:\Program Files\Colosseum Server Backup Client SBC\bin>SET JAVA_OPTS=-Xms32m -Xmx1024m -Xrs
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set]
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set] C:\Program Files\Colosseum Server Backup Client SBC\bin>SET JAVA_LIB_PATH=-Djava.library.path=..\bin
...
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set] Error occurred during initialization of VM
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set] Could not reserve enough space for object heap
Notes:
This issue will only occur on MS Exchange servers with Windows Security Update patch released after 16-04-2009.
[YYYY/MM/DD hh:mm:ss][info][Backup Set (Backup ID)] Start running backup
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set]
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set] C:\Program Files\Colosseum Server Backup Client SBC\bin>SET APP_HOME=..
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set]
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set] C:\Program Files\Colosseum Server Backup Client SBC\bin>SET JAVA_HOME=..\jvm32
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set]
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set] C:\Program Files\Colosseum Server Backup Client SBC\bin>IF NOT EXIST ..\jvm32 SET JAVA_HOME=..\jvm
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set]
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set] C:\Program Files\Colosseum Server Backup Client SBC\bin>SET JAVA_OPTS=-Xms32m -Xmx1024m -Xrs
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set]
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set] C:\Program Files\Colosseum Server Backup Client SBC\bin>SET JAVA_LIB_PATH=-Djava.library.path=..\bin
...
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set] Error occurred during initialization of VM
[YYYY/MM/DD hh:mm:ss][info][SBC.OutputStream][Backup Set] Could not reserve enough space for object heap
Notes:
This issue will only occur on MS Exchange servers with Windows Security Update patch released after 16-04-2009.
- Cause:
- Resolution:
- Please open "RunMailBackup.bat" with a text editor and you should see entries as shown below:
RunMailBackup.bat:
SET APP_HOME=.. SET JAVA_HOME=%APP_HOME%\jvm32 IF NOT EXIST %JAVA_HOME% SET JAVA_HOME=%APP_HOME%\jvm SET JAVA_OPTS=-Xms32m -Xmx1024m -Xrs …
- Amend the line by changing the default "-Xmx1024m" value to "-Xmx900m" so the line will appear similar to the example as follows:
RunMailBackup.bat (Updated):
SET APP_HOME=.. SET JAVA_HOME=%APP_HOME%\jvm32 IF NOT EXIST %JAVA_HOME% SET JAVA_HOME=%APP_HOME%\jvm SET JAVA_OPTS=-Xms32m -Xmx900m -Xrs …
- Once done, please save the changes
The messages suggests that the maximum Java heap size set cannot be allocated.
To resolve the issue, first we need to amend a file called "RunMailBackup.bat" which is located in ${Install-Home}\bin.