Лучший отвечающий
Ошибка обновления MS Exchange Server 2016 CU12

Вопрос
-
Добрый день!
Необходима помощь, не могу победить ошибку при обновлении Exchange 2016 c CU10 до CU12 (хотя уже понимаю, что версия CU непричем, здесь в целом на сервере ошибка).
Ошибка при процессе обновления:
E:\>setup.exe /m:upgrade /IAcceptExchangeServerLicenseTerms Microsoft Exchange Server 2016 Cumulative Update 11 Unattended Setup Copying Files... File copy complete. Setup will now collect additional information needed for installation. Languages Management tools Mailbox role: Transport service Mailbox role: Client Access service Mailbox role: Unified Messaging service Mailbox role: Mailbox service Mailbox role: Front End Transport service Mailbox role: Client Access Front End service Performing Microsoft Exchange Server Prerequisite Check Configuring Prerequisites COMPLETED Prerequisite Analysis COMPLETED Configuring Microsoft Exchange Server Language Files COMPLETED Restoring Services COMPLETED Language Configuration COMPLETED Exchange Management Tools COMPLETED Mailbox role: Transport service COMPLETED Mailbox role: Client Access service COMPLETED Mailbox role: Unified Messaging service FAILED The following error was generated when "$error.Clear(); uninstall-UMService " was run: "Microsoft.Exchange.Configuration.Tasks.ServiceUninstallFailureException: Failed to uninstall the following service from the local server: 'MSExchangeUM'. Error: 'An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete.'. ---> System.Configuration.Install.InstallException: An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete. ---> System.IO.IOException: No more data is available. at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.InternalGetSubKeyNames() at System.Diagnostics.EventLogInstaller.Uninstall(IDictionary savedState) at System.Configuration.Install.Installer.Uninstall(IDictionary savedState) --- End of inner exception stack trace --- at System.Configuration.Install.Installer.Uninstall(IDictionary savedState) at Microsoft.Exchange.Configuration.Tasks.ManageService.Uninstall() --- End of inner exception stack trace --- at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl) at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target) at Microsoft.Exchange.Configuration.Tasks.ManageService.Uninstall() at Microsoft.Exchange.Management.Tasks.UM.UninstallUMService.InternalProcessRecord( ) at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__91_1() at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)". The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder. E:\>
ExchangeSetup.log
[09.14.2019 09:35:43.0295] [2] Ending processing new-perfcounters [09.14.2019 09:35:43.0295] [1] The following 1 error(s) occurred during task execution: [09.14.2019 09:35:43.0295] [1] 0. ErrorRecord: The performance counter definition file is invalid. [09.14.2019 09:35:43.0295] [1] The previous errors were generated by a non-critical task and will be ignored. [09.14.2019 09:35:43.0295] [1] Setup will continue processing component tasks... [09.14.2019 09:35:43.0295] [1] Processing component 'Unified Messaging Configuration' (Configuring the server.). [09.14.2019 09:35:43.0295] [1] Executing: if ($RoleProductPlatform -eq "amd64") { $MSSProductId = '{84A6E864-10A5-47C0-AC31-426FE71E4906}'; } else { $MSSProductId = '{84A6E832-10A5-47C0-AC31-426FE71E4906}'; } uninstall-MsiPackage ` -ProductCode $MSSProductId ` -LogFile ($RoleSetupLoggingPath + "\UninstallEs.msilog") ` -PropertyValues ("ESE=1"); [09.14.2019 09:35:43.0295] [2] Active Directory session settings for 'Uninstall-MsiPackage' are: View Entire Forest: 'True', Configuration Domain Controller: 'DC1', Preferred Global Catalog: 'DC1', Preferred Domain Controllers: '{ DC1 }' [09.14.2019 09:35:43.0295] [2] User specified parameters: -ProductCode:'84a6e864-10a5-47c0-ac31-426fe71e4906' -LogFile:'C:\ExchangeSetupLogs\UninstallEs.msilog' -PropertyValues:'ESE=1' [09.14.2019 09:35:43.0295] [2] Beginning processing uninstall-MsiPackage [09.14.2019 09:35:43.0295] [2] Ending processing uninstall-MsiPackage [09.14.2019 09:35:43.0310] [1] Executing: uninstall-UMService [09.14.2019 09:35:43.0310] [2] Active Directory session settings for 'uninstall-umservice' are: View Entire Forest: 'True', Configuration Domain Controller: 'DC1', Preferred Global Catalog: 'DC1', Preferred Domain Controllers: '{ DC1 }' [09.14.2019 09:35:43.0310] [2] User specified parameters: [09.14.2019 09:35:43.0310] [2] Beginning processing uninstall-UMService [09.14.2019 09:35:43.0326] [2] Setup will uninstall the service 'MSExchangeUM'. [09.14.2019 09:35:43.0326] [2] [ERROR] Failed to uninstall the following service from the local server: 'MSExchangeUM'. Error: 'An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete.'. [09.14.2019 09:35:43.0357] [2] [ERROR] An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete. [09.14.2019 09:35:43.0357] [2] [ERROR] No more data is available. [09.14.2019 09:35:43.0357] [2] [ERROR] Failed to uninstall the following service from the local server: 'MSExchangeUM'. Error: 'An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete.'. [09.14.2019 09:35:43.0357] [2] [ERROR] An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete. [09.14.2019 09:35:43.0357] [2] [ERROR] No more data is available. [09.14.2019 09:35:43.0357] [2] Ending processing uninstall-UMService [09.14.2019 09:35:43.0357] [1] The following 1 error(s) occurred during task execution: [09.14.2019 09:35:43.0357] [1] 0. ErrorRecord: Failed to uninstall the following service from the local server: 'MSExchangeUM'. Error: 'An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete.'. [09.14.2019 09:35:43.0357] [1] 0. ErrorRecord: Microsoft.Exchange.Configuration.Tasks.ServiceUninstallFailureException: Failed to uninstall the following service from the local server: 'MSExchangeUM'. Error: 'An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete.'. ---> System.Configuration.Install.InstallException: An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete. ---> System.IO.IOException: No more data is available. at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.InternalGetSubKeyNames() at System.Diagnostics.EventLogInstaller.Uninstall(IDictionary savedState) at System.Configuration.Install.Installer.Uninstall(IDictionary savedState) --- End of inner exception stack trace --- at System.Configuration.Install.Installer.Uninstall(IDictionary savedState) at Microsoft.Exchange.Configuration.Tasks.ManageService.Uninstall() --- End of inner exception stack trace --- at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl) at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target) at Microsoft.Exchange.Configuration.Tasks.ManageService.Uninstall() at Microsoft.Exchange.Management.Tasks.UM.UninstallUMService.InternalProcessRecord() at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__91_1() at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed) [09.14.2019 09:35:43.0357] [1] [ERROR] The following error was generated when "$error.Clear(); uninstall-UMService " was run: "Microsoft.Exchange.Configuration.Tasks.ServiceUninstallFailureException: Failed to uninstall the following service from the local server: 'MSExchangeUM'. Error: 'An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete.'. ---> System.Configuration.Install.InstallException: An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete. ---> System.IO.IOException: No more data is available. at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.InternalGetSubKeyNames() at System.Diagnostics.EventLogInstaller.Uninstall(IDictionary savedState) at System.Configuration.Install.Installer.Uninstall(IDictionary savedState) --- End of inner exception stack trace --- at System.Configuration.Install.Installer.Uninstall(IDictionary savedState) at Microsoft.Exchange.Configuration.Tasks.ManageService.Uninstall() --- End of inner exception stack trace --- at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl) at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target) at Microsoft.Exchange.Configuration.Tasks.ManageService.Uninstall() at Microsoft.Exchange.Management.Tasks.UM.UninstallUMService.InternalProcessRecord() at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__91_1() at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)". [09.14.2019 09:35:43.0357] [1] [ERROR] Failed to uninstall the following service from the local server: 'MSExchangeUM'. Error: 'An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete.'. [09.14.2019 09:35:43.0357] [1] [ERROR] An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete. [09.14.2019 09:35:43.0357] [1] [ERROR] No more data is available. [09.14.2019 09:35:43.0373] [1] [ERROR-REFERENCE] Id=UnifiedMessagingComponent___3dede27006bd11df8a390800200c9a66 Component=EXCHANGE14:\Current\Release\Client Access\Unified Messaging [09.14.2019 09:35:43.0373] [1] Setup is stopping now because of one or more critical errors. [09.14.2019 09:35:43.0373] [1] Finished executing component tasks. [09.14.2019 09:35:43.0389] [1] Ending processing Install-UnifiedMessagingRole [09.14.2019 09:35:43.0389] [0] CurrentResult console.ProcessRunInternal:198: 1 [09.14.2019 09:35:43.0389] [0] CurrentResult launcherbase.maincore:90: 1 [09.14.2019 09:35:43.0389] [0] CurrentResult console.startmain:52: 1 [09.14.2019 09:35:43.0389] [0] CurrentResult SetupLauncherHelper.loadassembly:452: 1 [09.14.2019 09:35:43.0389] [0] The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder. [09.14.2019 09:35:43.0389] [0] CurrentResult main.run:235: 1 [09.14.2019 09:35:43.0389] [0] CurrentResult setupbase.maincore:396: 1 [09.14.2019 09:35:43.0389] [0] End of Setup [09.14.2019 09:35:43.0389] [0] **********************************************
Нужна помощь в поиске вариантов решения без удаления Exchange.
- Изменен тип Vasilev VasilMicrosoft contingent staff, Moderator 29 октября 2019 г. 8:46 ответ
20 сентября 2019 г. 5:30
Ответы
-
День добрый.
Проверьте это решение.
[RESOLVED] Exchange 2016 CU X failed to install error 1619
To solve the issue you need to perform now the following steps on the affected Exchange Server:
1a.) Open the registry and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v15\UnifiedMessagingRole
1b.) Create a backup from the Watermark registry key
1c.) Delete the watermark registry key
2a.) Open a file explorer and browse to C:\Program Files\Microsoft\Exchange Server\V15\UnifiedMessaging
2b.) Inside that folder the subfolder "grammars" and "prompts" should be missing. If that is the case you need to create them.
Optional: As the folder are empty you might restore the content now from a backup or if you do not have a backup you might try to copy the files from a Exchange server with the same patchlevel which do not have this issue. However in most cased the content isn´t needed as the upgrade should copy them from the ISO.
2c.) Re-Run the upgrade in a CMD (via run as admin):
Setup.exe /mode:Upgrade /IAcceptExchangeServerLicenseTerms
MCITP, MCSE. Regards, Oleg
- Изменено Oleg.KovalenkoModerator 21 октября 2019 г. 17:54
- Помечено в качестве ответа Vasilev VasilMicrosoft contingent staff, Moderator 29 октября 2019 г. 8:47
21 октября 2019 г. 17:53Модератор