查看完整版本: [-- EX2010典型安装-邮箱角色安装失败 --]

Exchange技术论坛 -> Exchange Server 2010 -> EX2010典型安装-邮箱角色安装失败 [打印本页] 登录 -> 注册 -> 回复主题 -> 发表主题

yi6421749 2017-07-06 15:21

EX2010典型安装-邮箱角色安装失败

[attachment=3315][attachment=3316]


       虽然我的邮箱角色安装失败,但是EMC是可以正常打开的,邮件内外网收发没有任何问题。我今天打算做DAG,在另外一台服务器同样进行典型安装时候,结果也是同样的报错-邮箱角色无法安装。
       错误代码上的那个文件“”CheckDatabaseRedundancy.ps1“”是存在的。两台服务器上都有这个文件。。
       请问是什么原因导致的呢?? 安装的版本是2010SP3

flowerwaiter 2017-07-06 20:49
你可以查看下exchangesetuplog(一般在C盘根目录下)然后把最后几段的内容贴上来。

yi6421749 2017-07-07 08:07
[07/07/2017 00:08:46.0443] [1] Executing: $RoleSetupLoggingPath = 'C:\ExchangeSetupLogs'
[07/07/2017 00:08:46.0443] [1] Executing: $RoleTargetVersion = '14.03.0123.004'
[07/07/2017 00:08:46.0443] [1] Executing: $RoleUpdatesDir = 'D:\chajian\Updates'
[07/07/2017 00:08:46.0443] [1] Setup failed previously while performing the action Install.  Looking for the failed task with ID ReplayServiceComponent___ef89b21f19b645dc8f81c0747eef66ec.
[07/07/2017 00:08:46.0443] [1] 129 tasks were found to execute.
[07/07/2017 00:08:46.0443] [1] Processing component 'Replay Service Configuration' (正在配置 Microsoft Exchange 复制服务).
[07/07/2017 00:08:46.0459] [1] Executing:
            $InstallerScriptFileName = 'Scripts\ManageScheduledTask.ps1'
            $OneCopyScriptFileName = 'Scripts\CheckDatabaseRedundancy.ps1'
            $PsInstallerScriptPath = Join-Path $RoleInstallPath $InstallerScriptFileName
            $PsOneCopyScriptPath = Join-Path $RoleInstallPath $OneCopyScriptFileName
            
            & $PsInstallerScriptPath -RunFromSetup -Install -DeleteExisting -ServerName $RoleNetBIOSName -TaskName "Database One Copy Alert" -PsScriptPath $PsOneCopyScriptPath -PsScriptArgs "-MonitoringContext -ShowDetailedErrors -ErrorAction:Continue" -Verbose
        
[07/07/2017 00:08:46.0693] [2] [ManageScheduledTask.ps1] Starting: C:\Program Files\Microsoft\Exchange Server\V14\Scripts\ManageScheduledTask.ps1
[07/07/2017 00:08:46.0708] [2] [ERROR] Unexpected Error
[07/07/2017 00:08:46.0708] [2] [ERROR] [ManageScheduledTask.ps1] Could not find script: '\\MAIL-SERVER\C$\Program Files\Microsoft\Exchange Server\V14\Scripts\CheckDatabaseRedundancy.ps1'.
[07/07/2017 00:08:46.0724] [1] The following 1 error(s) occurred during task execution:
[07/07/2017 00:08:46.0724] [1] 0.  ErrorRecord: [ManageScheduledTask.ps1] Could not find script: '\\MAIL-SERVER\C$\Program Files\Microsoft\Exchange Server\V14\Scripts\CheckDatabaseRedundancy.ps1'.
[07/07/2017 00:08:46.0724] [1] 0.  ErrorRecord: System.Exception: [ManageScheduledTask.ps1] Could not find script: '\\MAIL-SERVER\C$\Program Files\Microsoft\Exchange Server\V14\Scripts\CheckDatabaseRedundancy.ps1'.
[07/07/2017 00:08:46.0724] [1] [ERROR] The following error was generated when "$error.Clear();
            $InstallerScriptFileName = 'Scripts\ManageScheduledTask.ps1'
            $OneCopyScriptFileName = 'Scripts\CheckDatabaseRedundancy.ps1'
            $PsInstallerScriptPath = Join-Path $RoleInstallPath $InstallerScriptFileName
            $PsOneCopyScriptPath = Join-Path $RoleInstallPath $OneCopyScriptFileName
            
            & $PsInstallerScriptPath -RunFromSetup -Install -DeleteExisting -ServerName $RoleNetBIOSName -TaskName "Database One Copy Alert" -PsScriptPath $PsOneCopyScriptPath -PsScriptArgs "-MonitoringContext -ShowDetailedErrors -ErrorAction:Continue" -Verbose
        " was run: "[ManageScheduledTask.ps1] Could not find script: '\\MAIL-SERVER\C$\Program Files\Microsoft\Exchange Server\V14\Scripts\CheckDatabaseRedundancy.ps1'.".
[07/07/2017 00:08:46.0724] [1] [ERROR] [ManageScheduledTask.ps1] Could not find script: '\\MAIL-SERVER\C$\Program Files\Microsoft\Exchange Server\V14\Scripts\CheckDatabaseRedundancy.ps1'.
[07/07/2017 00:08:46.0724] [1] [ERROR-REFERENCE] Id=ReplayServiceComponent___ef89b21f19b645dc8f81c0747eef66ec Component=EXCHANGE14:\Current\Release\PIM Storage\High Availability
[07/07/2017 00:08:46.0724] [1] Setup is stopping now because of one or more critical errors.
[07/07/2017 00:08:46.0724] [1] Finished executing component tasks.
[07/07/2017 00:08:46.0771] [1] Ending processing Install-MailboxRole

flowerwaiter 2017-07-08 09:45
yi6421749:[07/07/2017 00:08:46.0443] [1] Executing: $RoleSetupLoggingPath = 'C:\ExchangeSetupLogs'
[07/07/2017 00:08:46.0443] [1] Executing: $RoleTargetVersion = '14.03.0123.004'
[07/07/2017 00:08:46.0443] [1] Executing: $RoleUpdatesDir = 'D:\chajia ..?(2017-07-07 08:07)?

看似C$没有启用,请按以下步骤启用
1. 打开注册表编辑器,进入以下键值HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
2. 新建REG_DWORD键值AutoShareServer并置为 0 (zero)
3. 重启计算机
4. 再次打开注册表进入以下键值HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
5. 点击新建DWORD (32-bit),输入AutoShareServer
6. 将值设为0,点击OK
7. 在命令提示符下,输入net stop srvnet,回车确认
8. 退出命令提示符

相关资料:
https://support.microsoft.com/en-us/kb/954422/


查看完整版本: [-- EX2010典型安装-邮箱角色安装失败 --] [-- top --]



Powered by phpwind v8.7.1 Code ©2003-2011 phpwind
Time 0.019501 second(s),query:6 Gzip enabled