none
Ошибка при обновлении Exhange 2007 SP1 до SP3. Не работает. Помогите, пожалуйста, решить!!! Нигде не нашёл решения такой проблемы. RRS feed

  • Вопрос

  • Доброго времени суток, знатоки.

    Помогите решить задачку, пожалуйста. Горю!!!

    На машине(назовём localoldservername) стоит Windows Server 2003 R2 SP2(64) и Exhange 2007 stand SP1. Эта же машина является доменным контроллером. На ней стоит DNS. Один домен и один лес. Не стоит Forefront - был удалё очень давно. Стоит NOD32. Есть много клиентов внутри сети(Outlook 2007 и 2010), есть не мало клиентов через OWA, есть клиенты подключающиеся через POP3 и ActiveSync. Снаружи стоит ISA.

    Необходимо перейти с Exhange 2007 stand SP1 на Exhange 2013 stand.

    Прочитал на technet, что напрямую обновить не получится но можно поставить Exhange 2013 stand на другую машину, потихоньку перенести туда ящики(что они могут некоторое время вместе работать), а Exhange 2007 stand SP1 удалить.

    Но Exhange 2013 работает вместе только с Exhange 2007 stand SP3(и не меньше).  

    У меня как-раз появилась новая машина(Назовём её localnewservername). Я на неё поставил Windows Server 2012 R2, сделал копию доменного контроллер, перенёс туда все роли. Поставил DNS.  Всё проработало хорошо неделю. Ну я и решил, что пора дальше двигаться.

    Скачал с сайта Microsoft дистрибутив Exhange 2007 stand SP3. Запустил установку через консоль. Он потребовал пару вещей доставить и заного запустить обновление. Новый Installer и ещё какую-то мелочь. Я всё поставил, перезагрузил. Проверил, что везде всё работает и запустил заного обновление.

    Проверку прошёл без проблем, все три пункта зелёные.

    Нажал Update. Всё хорошо - зелёным(Подготовка домена, подготовка файлов, удаление файлов, копирование новых файлов...). Дошло до Hub Transport role. Что-то успело пройти. 

    Но на нём выскочила ошибка "An active directory error 0x51 occured when trying to check server 'localnewservername:389' suitability: 'The LDAP server is unavaylable.' ".

    Ок. Чтобы обновлялке было проще, я вернул все роли AD на эту машине(localoldservername). Запустил обновление заного. Обновление уже не проходит удачно пройденые этапы. Началось сразу с Hub Transport role. Сервер отыскала, всё хорошо.

    Но на этот раз выскачила другая ошибка: "Service MOM(MOM) cannot be started due to the following error: Cannot start service MOM on computer. The service cannot be started, either because it is disabled or because it has no enabled devices associated with it". И на этом всё стопорится.

    Я читал, что forefront и MOM должны быть остановлены. Я решил, что напутал что-то и наверно он должен быть включен. Залез в сервисы, сервис MOM выключен и стоит disabled. Я включил, он стартонул без проблем. Я даже поставил автоматический запуск. Запустил обновление Exchane снова. И опять эта же проблема. Он сам вырубает MOM и ставит её в disabled. 

    Я запустил Exchange 2007. Он уже считает, что он SP3(Version 8.3(build 83.6).

    Все сервисы стартонули без проблем.

    Microsoft Exchange Active Directory Topology Service
    Microsoft Exchange Anti-spam Update
    Microsoft Exchange EdgeSync
    Microsoft Exchange File Distribution
    Microsoft Exchange Information Store
    Microsoft Exchange Mail Submission
    Microsoft Exchange Mailbox Assistants
    Microsoft Exchange Replication Service
    Microsoft Exchange Search Indexer
    Microsoft Exchange Service Host
    Microsoft Exchange System Attendant
    Microsoft Exchange Transport
    Microsoft Exchange Transport Log Search

     Не стартонул только pop3. При попытке стартонуть pop3, выкидывает ошибку в логах(Aplication) винды:

    Event Type: Error
    Event Source: .NET Runtime 2.0 Error Reporting
    Event Category: None
    Event ID: 1000
    Date:  2/14/2016
    Time:  12:34:53 AM
    User:  N/A
    Computer: localoldservername
    Description:
    Faulting application microsoft.exchange.pop3service.exe, version 8.3.83.0, stamp 4be1ecb2, faulting module kernel32.dll, version 5.2.3790.4480, stamp 49c51cdd, debug? 0, fault address 0x000000000000dd50.

    For more information, see Help and Support Center at
    Data:
    0000: 41 00 70 00 70 00 6c 00   A.p.p.l.
    *************************  ******

    И ни в какую не запускается.

    Начал проверять работоспособность. Клиенты в локальной сети(outlook) без проблем работают.

    Через OWA возможности подключиться нет, ни с локальной машины, ни с других. В браузере появляется:

    В адресной строке ***s:// localoldservername  / owa/auth/error.aspx? aspxerrorpath= /owa /auth /logon.aspx

    А в самом браузере:

    Server Error in '/owa' Application.
    --------------------------------------------------------------------------------

    Runtime Error
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

    <!-- Web.Config Configuration File -->

    <configuration>
        <system.web>
            <customErrors mode="Off"/>
        </system.web>
    </configuration>

    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


    <!-- Web.Config Configuration File -->

    <configuration>
        <system.web>
            <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
        </system.web>
    </configuration>

    Клиенты, которые пытаются подключиться через ActiveSync -  тоже не могут и каждый раз, когда они пытаются подключиться у меня в логах винды(Aplication) выскакивает:

    Event Type: Warning
    Event Source: ASP.NET 2.0.50727.0
    Event Category: Web Event
    Event ID: 1309
    Date:  2/13/2016
    Time:  11:07:11 PM
    User:  N/A
    Computer: localoldservername
    Description:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 2/13/2016 11:07:11 PM
    Event time (UTC): 2/13/2016 8:07:11 PM
    Event ID: bac41360900b4f6499293ab58ea6ae4f
    Event sequence: 1265
    Event occurrence: 422
    Event detail code: 0
     
    Application information:
        Application domain: /LM/W3SVC/1/ROOT/Microsoft-Server-ActiveSync-2-130998498025902195
        Trust level: Full
        Application Virtual Path: /Microsoft-Server-ActiveSync
        Application Path: C:\Program Files\Microsoft\Exchange Server\ClientAccess\sync\
        Machine name: localoldservername
     
    Process information:
        Process ID: 4720
        Process name: w3wp.exe
        Account name: NT AUTHORITY\SYSTEM
     
    Exception information:
        Exception type: FileNotFoundException
        Exception message: Could not load file or assembly 'Microsoft.Exchange.AirSync, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
     
    Request information:
        Request URL: ****isanameserver:443 / Microsoft -Server- ActiveSync / default.eas?User=username&DeviceId=MOS850U1156J93RGTGB0KJUHF8&DeviceType=iPhone&Cmd=Ping
        Request path: /Microsoft-Server-ActiveSync/default.eas
        User host address: isaIPserver
        User: domainname\username
        Is authenticated: True
        Authentication Type: Basic
        Thread account name: NT AUTHORITY\SYSTEM
     
    Thread information:
        Thread ID: 11
        Thread account name: NT AUTHORITY\SYSTEM
        Is impersonating: False
        Stack trace:    at Microsoft.Exchange.AirSyncHandler.Handler..ctor()
     
    Custom event details:

    For more information, see Help and Support Center at ht************.

    В тех же логах(Application) постоянно друг за другом  стали повяляться ошибки:

    Event Type: Error
    Event Source: W3SVC-WP
    Event Category: None
    Event ID: 2268
    Date:  2/14/2016
    Time:  12:43:21 AM
    User:  N/A
    Computer: BRAIN
    Description:
    Could not load all ISAPI filters for site/service.  Therefore startup aborted.

    For more information, see Help and Support Center at ht***********.
    Data:
    0000: 05 00 00 00               ....   

    и

    Event Type: Error
    Event Source: W3SVC-WP
    Event Category: None
    Event ID: 2214
    Date:  2/14/2016
    Time:  12:43:21 AM
    User:  N/A
    Computer: BRAIN
    Description:
    The HTTP Filter DLL C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\auth\owaauth.dll failed to load.  The data is the error.

    For more information, see Help and Support Center at htt*********.
    Data:
    0000: 05 00 00 00               ....   

    В остальных логах всё нормально. Только в System, что POP3 выключен:

    Event Type: Error
    Event Source: Service Control Manager
    Event Category: None
    Event ID: 7000
    Date:  2/14/2016
    Time:  12:34:57 AM
    User:  N/A
    Computer: BRAIN
    Description:
    The Microsoft Exchange POP3 service failed to start due to the following error:
    The service did not respond to the start or control request in a timely fashion.

    For more information, see Help and Support Center at htt******

    Я перед тем как делать обновление сделал бэкап системы стандартной Windows  BackUp. Ну и после того как проблема вылезла я ещё раз сделал такой же BackUp системы.  

    У меня стоит на этой машине Acronis BackUp Advanced. Но полная копия есть только на сутки ранее. Тупо восстанавливать всю машину страшновато, т.к. ящики скорее всего не смогут восстановиться. Да и из-за того, что я в процессе переносил роли с сервера на сервер, я боюсь, что домен не поднимется и почта тоже.

    Знающие люди подскажите, пожалуйста, что делать с таким "счастьем". Не знаю за что схватиться, чтобы не испортить дальше.

    - Доустанавливать sp3, тогда как? Нигде в инете не нашёл такой проблемы. Да и, как мне кажется, это OWA не исправит.

    - Удалить  SP3? Не нашёл нигде такой возможности.

    - Поставить на другую машину Exchange 2013, настроить и перенести ящики?

    Похоже обновлялка наудаляла кучу файлов, а новые не все поставила. А часть сервисов, которые не обновила ищут старые файлы. А там похоже уже новые. ((( Так как в разных местах показывает разные версии.

    Может ещё какую информацию выложить, что укажет куда двигаться?

    На команду get-exchangeserver -status | FL выводит такое:

    Name                              : OLDSERVERNAME
    DataPath                          : C:\Program Files\Microsoft\Exchange Server\
                                        Mailbox
    Domain                            : domainname.com
    Edition                           : Standard
    ExchangeLegacyDN                  : /o=First Organization/ou=Exchange Administr
                                        ative Group (FYDIBOHF23SPDLT)/cn=Configurat
                                        ion/cn=Servers/cn=OLDSERVERNAME
    Fqdn                              : OLDSERVERNAME.domainname.com
    IsHubTransportServer              : True
    IsClientAccessServer              : True
    IsExchange2007OrLater             : True
    IsEdgeServer                      : False
    IsMailboxServer                   : True
    IsMemberOfCluster                 : No
    IsProvisionedServer               : False
    IsUnifiedMessagingServer          : False
    NetworkAddress                    : {ncacn_vns_spp:OLDSERVERNAME, netbios:OLDSERVERNAME, ncacn_np:OLDSERVERNAME, ncacn_spx:OLDSERVERNAME, ncacn_ip_tcp:OLDSERVERNAME.domainname.com, ncalrpc:OLDSERVERNAME}
    OrganizationalUnit                : domainname.com/OLDSERVERNAME
    AdminDisplayVersion               : Version 8.3 (Build 83.6)
    Site                              : domainname.com/Configuration/Sites/Default-First-Site-Name
    ServerRole                        : Mailbox, ClientAccess, HubTransport
    ErrorReportingEnabled             : True
    StaticDomainControllers           : {}
    StaticGlobalCatalogs              : {}
    StaticConfigDomainController      :
    StaticExcludedDomainControllers   : {}
    CurrentDomainControllers          : {OLDSERVERNAME.domainname.com}
    CurrentGlobalCatalogs             : {OLDSERVERNAME.domainname.com}
    CurrentConfigDomainController     : OLDSERVERNAME.domainname.com
    ProductID                         : 90559-047-0000007-05645
    IsExchange2007TrialEdition        : False
    IsExpiredExchange2007TrialEdition : False
    RemainingTrialPeriod              : 00:00:00
    IsValid                           : True
    OriginatingServer                 : OLDSERVERNAME.domainname.com
    ExchangeVersion                   : 0.1 (8.0.535.0)
    DistinguishedName                 : CN=OLDSERVERNAME,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domainname,DC=com
    Identity                          : OLDSERVERNAME
    Guid                              : ee4ce2aa-2bb7-4a6e-8a0d-53b486bfb235
    ObjectCategory                    : domainname.com/Configuration/Schema/ms-Exch-Exchange-Server
    ObjectClass                       : {top, server, msExchExchangeServer}
    WhenChanged                       : 2/13/2016 6:47:06 PM
    WhenCreated                       : 1/3/2008 5:29:42 PM

    Заранее спасибо за помощь!!!

    13 февраля 2016 г. 22:53

Ответы

  • Спасибо. Поздно я Ваше сообщение увидел.

    Но всё равно спасибо большое за помощь! Отмечу себе такой вариант, может пригодится ещё.

    А перейти на Exch2013 придётся конечно. Я скопирую себе Ваши ссылки. А то мне на другом сайте посоветовали выгрузить всё в pst и загрузить в 2013.

    В общем резюмирую,  чтобы решить последние проблемы перерыл я весь Internet, весь Exchange и всю IIS. По файлам разобрал всё.

    В итоге нашёл эту статейку:
    https://social.technet.microsoft.com/Forums/exchange/en-US/0b9d2ed2-b27b-41bc-8428-36f9957d89fe/issues-with-owa?forum=exchangesvrclientslegacy

    Хотя к тому моменту как я нашёл эту статью ошибки из логов вообще пропали. Типа всё хорошо. Но в почту не пущу через OWA(просто обновляет страницу и всё).

    Поколдовал с фильтрами ISAPI. Один старый оставил, а один из новых(от SP3)взял.
    Оказывается ещё один мне Exchange удалил. Я его нашёл и добавил. Про него тоже в статье есть.
    Поменял доступы как в статье просят и...

    Всё работает!

    p.s. хотя в итоге у меня в Exchange папке часть файлов от SP1, а часть от SP3. Сама exch 2007 считает, что она SP3 уже. Но для activsync и owa практически всё от sp1. И не прошла вторая половина установки. Сейчас страшновато пробовать доделывать - завтра раб.день(а я и так тут 2 дня живу).

    Но начну, как и посоветовали с установки всех обновлений. А там посмотрим. Предварительно все базы в pst выгружу, ан всякий случай )))
    • Помечено в качестве ответа romanvyudin 14 февраля 2016 г. 19:21
    14 февраля 2016 г. 19:20

Все ответы

  • Я зашёл в логи установки Exchange(C:\ExchangeSetupLogs):

    В файле ExchangeSetup такие строки(Всё конечно не вставить, там больше 200 000 слов):

    [2/13/2016 6:12:12 PM] [2] Process standard error:

    [2/13/2016 6:12:12 PM] [2] Starting: lodctr.exe arguments: "/s:install-perf-MSExchange Journaling Agent-20160213-061212.075.bak"

    [2/13/2016 6:12:12 PM] [2] Process standard output:

    [2/13/2016 6:12:12 PM] [2] Process standard error:

    [2/13/2016 6:12:12 PM] [2] Starting: lodctr.exe arguments: "C:\Program Files\Microsoft\Exchange Server\Setup\Perf\JournalingPerfCounters.ini"

    [2/13/2016 6:12:13 PM] [2] Process standard output:

    [2/13/2016 6:12:13 PM] [2] Process standard error:

    [2/13/2016 6:12:13 PM] [2] Ending processing.

    [2/13/2016 6:12:13 PM] [1] Executing 'remove-PerfCounters -DefinitionFileName ApaAgentPerfCounters.xml', handleError = True

    [2/13/2016 6:12:13 PM] [2] Launching sub-task '$error.Clear(); remove-PerfCounters -DefinitionFileName ApaAgentPerfCounters.xml'.

    [2/13/2016 6:12:13 PM] [2] Beginning processing.

    [2/13/2016 6:12:13 PM] [2] Processing file: C:\Program Files\Microsoft\Exchange Server\Setup\Perf\ApaAgentPerfCounters.xml

    [2/13/2016 6:12:13 PM] [2] Performance counter name is Policy Application Total, type is NumberOfItems32.

    [2/13/2016 6:12:13 PM] [2] Performance counter name is Policy Application/sec, type is RateOfCountsPerSecond32.

    [2/13/2016 6:12:13 PM] [2] Performance counter name is Successful Policy Applied Total, type is NumberOfItems32.

    [2/13/2016 6:12:13 PM] [2] Performance counter name is Successful Policy Applied/sec, type is RateOfCountsPerSecond32.

    [2/13/2016 6:12:13 PM] [2] Performance counter name is Failed Policy Application Total, type is NumberOfItems32.

    [2/13/2016 6:12:13 PM] [2] Performance counter name is Failed Policy Application/sec, type is RateOfCountsPerSecond32.

    [2/13/2016 6:12:13 PM] [2] Performance counter name is Rejected Policy Application Total, type is NumberOfItems32.

    [2/13/2016 6:12:13 PM] [2] Performance counter name is Rejected Policy Application/sec, type is RateOfCountsPerSecond32.

    [2/13/2016 6:12:13 PM] [2] Ending processing.

    [2/13/2016 6:12:13 PM] [1] Executing 'new-PerfCounters -DefinitionFileName PrelicenseAgentPerfCounters.xml', handleError = True

    [2/13/2016 6:12:13 PM] [2] Launching sub-task '$error.Clear(); new-PerfCounters -DefinitionFileName PrelicenseAgentPerfCounters.xml'.

    [2/13/2016 6:12:13 PM] [2] Beginning processing.

    [2/13/2016 6:12:13 PM] [2] Processing file: C:\Program Files\Microsoft\Exchange Server\Setup\Perf\PrelicenseAgentPerfCounters.xml

    [2/13/2016 6:12:13 PM] [2] Performance counter name is Total Messages, type is NumberOfItems32.

    [2/13/2016 6:12:13 PM] [2] Performance counter name is Messages Processed Successfully, type is NumberOfItems32.

    [2/13/2016 6:12:13 PM] [2] Performance counter name is Total Recipients, type is NumberOfItems32.

    [2/13/2016 6:12:13 PM] [2] Performance counter name is Total License Requests, type is NumberOfItems32.

    [2/13/2016 6:12:13 PM] [2] Performance counter name is Successful License Requests, type is NumberOfItems32.

    [2/13/2016 6:12:13 PM] [2] Performance counter name is Permanent Failure License Requests, type is NumberOfItems32.

    [2/13/2016 6:12:13 PM] [2] Performance counter name is Total License Requests/sec, type is RateOfCountsPerSecond32.

    [2/13/2016 6:12:13 PM] [2] Performance counter name is Total License Requests Processing Time (ms), type is NumberOfItems64.

    [2/13/2016 6:12:13 PM] [2] Performance counter name is Average Processing Time Per License Request (ms), type is AverageCount64.

    [2/13/2016 6:12:13 PM] [2] Performance counter name is Average Processing Time (License Request Base), type is AverageBase.

    [2/13/2016 6:12:13 PM] [2] Performance counter category name is 'MSExchange AD RMS Prelicensing Agent'.

    [2/13/2016 6:12:13 PM] [2] Performance counter category name is 'MSExchange AD RMS Prelicensing Agent'.

    [2/13/2016 6:12:14 PM] [2] Starting: lodctr.exe arguments: "/s:uninstall-perf-MSExchange AD RMS Prelicensing Agent-20160213-061214.841.bak"

    [2/13/2016 6:12:15 PM] [2] Process standard output:

    [2/13/2016 6:12:15 PM] [2] Process standard error:

    [2/13/2016 6:12:15 PM] [2] Starting: unlodctr.exe arguments: "MSExchange AD RMS Prelicensing Agent"

    [2/13/2016 6:12:15 PM] [2] Process standard output: Removing counter names and explain text for MSExchange AD RMS Prelicensing Agent

    Updating text for language 019

    Updating text for language 009

    [2/13/2016 6:12:15 PM] [2] Process standard error:

    [2/13/2016 6:12:15 PM] [2] Starting: lodctr.exe arguments: "/s:install-perf-MSExchange AD RMS Prelicensing Agent-20160213-061215.606.bak"

    [2/13/2016 6:12:15 PM] [2] Process standard output:

    [2/13/2016 6:12:15 PM] [2] Process standard error:

    [2/13/2016 6:12:16 PM] [2] Starting: lodctr.exe arguments: "C:\Program Files\Microsoft\Exchange Server\Setup\Perf\PrelicenseAgentPerfCounters.ini"

    [2/13/2016 6:12:16 PM] [2] Process standard output:

    [2/13/2016 6:12:16 PM] [2] Process standard error:

    [2/13/2016 6:12:16 PM] [2] Ending processing.

    [2/13/2016 6:12:16 PM] [1] Processing component 'Bridgehead Configuration' (Configuring Hub Transport role).

    [2/13/2016 6:12:16 PM] [1] Executing 'set-TransportServer -Identity $RoleFqdnOrName -TransientFailureRetryInterval:00:05:00 -TransientFailureRetryCount:6 -OutboundConnectionFailureRetryInterval:00:10:00', handleError = False

    [2/13/2016 6:12:16 PM] [2] Launching sub-task '$error.Clear(); set-TransportServer -Identity $RoleFqdnOrName -TransientFailureRetryInterval:00:05:00 -TransientFailureRetryCount:6 -OutboundConnectionFailureRetryInterval:00:10:00'.

    [2/13/2016 6:12:16 PM] [2] Beginning processing.

    [2/13/2016 6:12:16 PM] [2] adminname Active Directory session settings are:  View Entire Forest: 'True', Configuration Domain Controller: 'oldservername.domainname.com', Preferred Global Catalog: 'oldservername.domainname.com', Preferred Domain Controllers: '{ oldservername.domainname.com }'

    [2/13/2016 6:12:16 PM] [2] Searching objects "oldservername.domainname.com" of type "Server" under the root "$null".

    [2/13/2016 6:12:16 PM] [2] Previous operation run on domain controller 'oldservername.domainname.com'.

    [2/13/2016 6:12:16 PM] [2] Processing object "oldservername".

    [2/13/2016 6:12:16 PM] [2] No properties changed for the object "oldservername".

    [2/13/2016 6:12:16 PM] [2] [WARNING] The command completed successfully but no settings of 'oldservername' have been modified.

    [2/13/2016 6:12:16 PM] [2] Saving object "oldservername" of type "Server" and state "Unchanged".

    [2/13/2016 6:12:16 PM] [2] Previous operation run on domain controller 'oldservername.domainname.com'.

    [2/13/2016 6:12:16 PM] [2] Ending processing.

    [2/13/2016 6:12:16 PM] [1] Executing '$agentName = "Transport Rule Agent"; $agentFactory = "Microsoft.Exchange.MessagingPolicies.TransportRuleAgent.TransportRuleAgentFactory"; $agentAssembly = ($RoleInstallPath + "TransportRoles\agents\Rule\Microsoft.Exchange.MessagingPolicies.TransportRuleAgent.dll"); $agent = get-transportagent -Identity:$agentName; if ($agent) { uninstall-transportagent -Identity:$agentName; }; install-TransportAgent -Name:$agentName -TransportAgentFactory:$agentFactory -AssemblyPath:$agentAssembly; if ($agent.enabled -or ! $agent) { enable-transportagent -Identity:$agentName };', handleError = False

    [2/13/2016 6:12:16 PM] [2] Launching sub-task '$error.Clear(); $agentName = "Transport Rule Agent"; $agentFactory = "Microsoft.Exchange.MessagingPolicies.TransportRuleAgent.TransportRuleAgentFactory"; $agentAssembly = ($RoleInstallPath + "TransportRoles\agents\Rule\Microsoft.Exchange.MessagingPolicies.TransportRuleAgent.dll"); $agent = get-transportagent -Identity:$agentName; if ($agent) { uninstall-transportagent -Identity:$agentName; }; install-TransportAgent -Name:$agentName -TransportAgentFactory:$agentFactory -AssemblyPath:$agentAssembly; if ($agent.enabled -or ! $agent) { enable-transportagent -Identity:$agentName };'.

    [2/13/2016 6:12:16 PM] [2] Beginning processing.

    [2/13/2016 6:12:16 PM] [2] adminname Active Directory session settings are:  View Entire Forest: 'True', Configuration Domain Controller: 'oldservername.domainname.com', Preferred Global Catalog: 'oldservername.domainname.com', Preferred Domain Controllers: '{ oldservername.domainname.com }'

    [2/13/2016 6:12:16 PM] [2] Ending processing.

    [2/13/2016 6:12:16 PM] [2] Beginning processing.

    [2/13/2016 6:12:16 PM] [2] adminname Active Directory session settings are:  View Entire Forest: 'True', Configuration Domain Controller: 'oldservername.domainname.com', Preferred Global Catalog: 'oldservername.domainname.com', Preferred Domain Controllers: '{ oldservername.domainname.com }'

    [2/13/2016 6:12:16 PM] [2] [WARNING] The following service restart is required for the change(s) to take effect : MSExchangeTransport

    [2/13/2016 6:12:16 PM] [2] Ending processing.

    [2/13/2016 6:12:16 PM] [2] Beginning processing.

    [2/13/2016 6:12:16 PM] [2] adminname Active Directory session settings are:  View Entire Forest: 'True', Configuration Domain Controller: 'oldservername.domainname.com', Preferred Global Catalog: 'oldservername.domainname.com', Preferred Domain Controllers: '{ oldservername.domainname.com }'

    [2/13/2016 6:12:16 PM] [2] [WARNING] Please exit Powershell to complete the installation.

    [2/13/2016 6:12:16 PM] [2] [WARNING] The following service restart is required for the change(s) to take effect : MSExchangeTransport

    [2/13/2016 6:12:16 PM] [2] Ending processing.

    [2/13/2016 6:12:16 PM] [2] Beginning processing.

    [2/13/2016 6:12:16 PM] [2] adminname Active Directory session settings are:  View Entire Forest: 'True', Configuration Domain Controller: 'oldservername.domainname.com', Preferred Global Catalog: 'oldservername.domainname.com', Preferred Domain Controllers: '{ oldservername.domainname.com }'

    [2/13/2016 6:12:16 PM] [2] [WARNING] The following service restart is required for the change(s) to take effect : MSExchangeTransport

    [2/13/2016 6:12:16 PM] [2] Ending processing.

    [2/13/2016 6:12:16 PM] [1] Executing '$agentName = "Journaling Agent"; $agentFactory = "Microsoft.Exchange.MessagingPolicies.Journaling.JournalAgentFactory"; $agentAssembly = ($RoleInstallPath + "TransportRoles\agents\Journaling\Microsoft.Exchange.MessagingPolicies.JournalAgent.dll"); $agent = get-transportagent -Identity:$agentName; if ($agent) { uninstall-transportagent -Identity:$agentName; }; install-TransportAgent -Name:$agentName -TransportAgentFactory:$agentFactory -AssemblyPath:$agentAssembly; if ($agent.enabled -or ! $agent) { enable-transportagent -Identity:$agentName };', handleError = False

    [2/13/2016 6:12:16 PM] [2] Launching sub-task '$error.Clear(); $agentName = "Journaling Agent"; $agentFactory = "Microsoft.Exchange.MessagingPolicies.Journaling.JournalAgentFactory"; $agentAssembly = ($RoleInstallPath + "TransportRoles\agents\Journaling\Microsoft.Exchange.MessagingPolicies.JournalAgent.dll"); $agent = get-transportagent -Identity:$agentName; if ($agent) { uninstall-transportagent -Identity:$agentName; }; install-TransportAgent -Name:$agentName -TransportAgentFactory:$agentFactory -AssemblyPath:$agentAssembly; if ($agent.enabled -or ! $agent) { enable-transportagent -Identity:$agentName };'.

    [2/13/2016 6:12:16 PM] [2] Beginning processing.

    [2/13/2016 6:12:16 PM] [2] adminname Active Directory session settings are:  View Entire Forest: 'True', Configuration Domain Controller: 'oldservername.domainname.com', Preferred Global Catalog: 'oldservername.domainname.com', Preferred Domain Controllers: '{ oldservername.domainname.com }'

    [2/13/2016 6:12:16 PM] [2] Ending processing.

    [2/13/2016 6:12:16 PM] [2] Beginning processing.

    [2/13/2016 6:12:16 PM] [2] adminname Active Directory session settings are:  View Entire Forest: 'True', Configuration Domain Controller: 'oldservername.domainname.com', Preferred Global Catalog: 'oldservername.domainname.com', Preferred Domain Controllers: '{ oldservername.domainname.com }'

    [2/13/2016 6:12:16 PM] [2] [WARNING] The following service restart is required for the change(s) to take effect : MSExchangeTransport

    [2/13/2016 6:12:16 PM] [2] Ending processing.

    [2/13/2016 6:12:16 PM] [2] Beginning processing.

    [2/13/2016 6:12:16 PM] [2] adminname Active Directory session settings are:  View Entire Forest: 'True', Configuration Domain Controller: 'oldservername.domainname.com', Preferred Global Catalog: 'oldservername.domainname.com', Preferred Domain Controllers: '{ oldservername.domainname.com }'

    [2/13/2016 6:12:16 PM] [2] [WARNING] Please exit Powershell to complete the installation.

    [2/13/2016 6:12:16 PM] [2] [WARNING] The following service restart is required for the change(s) to take effect : MSExchangeTransport

    [2/13/2016 6:12:16 PM] [2] Ending processing.

    [2/13/2016 6:12:16 PM] [2] Beginning processing.

    [2/13/2016 6:12:16 PM] [2] adminname Active Directory session settings are:  View Entire Forest: 'True', Configuration Domain Controller: 'oldservername.domainname.com', Preferred Global Catalog: 'oldservername.domainname.com', Preferred Domain Controllers: '{ oldservername.domainname.com }'

    [2/13/2016 6:12:16 PM] [2] [WARNING] The following service restart is required for the change(s) to take effect : MSExchangeTransport

    [2/13/2016 6:12:16 PM] [2] Ending processing.

    [2/13/2016 6:12:16 PM] [1] Executing 'uninstall-TransportAgent -Identity:"AD RMS Policy Application Agent"', handleError = True

    [2/13/2016 6:12:16 PM] [2] Launching sub-task '$error.Clear(); uninstall-TransportAgent -Identity:"AD RMS Policy Application Agent"'.

    [2/13/2016
    6:12:16 PM] [2] Beginning processing.

    [2/13/2016 6:12:16 PM] [2] adminname Active Directory session settings are:  View Entire Forest: 'True', Configuration Domain Controller: 'oldservername.domainname.com', Preferred Global Catalog: 'oldservername.domainname.com', Preferred Domain Controllers: '{ oldservername.domainname.com }'

    [2/13/2016 6:12:16 PM] [2] [ERROR] Unexpected Error

    [2/13/2016 6:12:16 PM] [2] [ERROR] Transport Agent "AD RMS Policy Application Agent" is not found.

    Parameter name: Identity

    [2/13/2016 6:12:16 PM] [2] Ending processing.

    [2/13/2016 6:12:16 PM] [1] The following 1 error(s) occurred during task execution:

    [2/13/2016 6:12:16 PM] [1] 0.  ErrorRecord: Transport Agent "AD RMS Policy Application Agent" is not found.

    Parameter name: Identity

    [2/13/2016 6:12:16 PM] [1] The previous errors were generated by a non-critical task and will be ignored.

    [2/13/2016 6:12:16 PM] [1] Setup will continue processing component tasks...

    [2/13/2016 6:12:16 PM] [1] Executing '$agentName = "AD RMS Prelicensing Agent"; $agentFactory = "Microsoft.Exchange.MessagingPolicies.RmSvcAgent.PrelicenseAgentFactory"; $agentAssembly = ($RoleInstallPath + "TransportRoles\agents\RmSvc\Microsoft.Exchange.MessagingPolicies.RmSvcAgent.dll"); $agent = get-transportagent -Identity:$agentName; if ($agent) { uninstall-transportagent -Identity:$agentName; }; install-TransportAgent -Name:$agentName -TransportAgentFactory:$agentFactory -AssemblyPath:$agentAssembly; if ($agent.enabled) { enable-transportagent -Identity:$agentName };', handleError = False

    [2/13/2016 6:12:16 PM] [2] Launching sub-task '$error.Clear(); $agentName = "AD RMS Prelicensing Agent"; $agentFactory = "Microsoft.Exchange.MessagingPolicies.RmSvcAgent.PrelicenseAgentFactory"; $agentAssembly = ($RoleInstallPath + "TransportRoles\agents\RmSvc\Microsoft.Exchange.MessagingPolicies.RmSvcAgent.dll"); $agent = get-transportagent -Identity:$agentName; if ($agent) { uninstall-transportagent -Identity:$agentName; }; install-TransportAgent -Name:$agentName -TransportAgentFactory:$agentFactory -AssemblyPath:$agentAssembly; if ($agent.enabled) { enable-transportagent -Identity:$agentName };'.

    [2/13/2016 6:12:16 PM] [2] Beginning processing.

    [2/13/2016 6:12:16 PM] [2] adminname Active Directory session settings are:  View Entire Forest: 'True', Configuration Domain Controller: 'oldservername.domainname.com', Preferred Global Catalog: 'oldservername.domainname.com', Preferred Domain Controllers: '{ oldservername.domainname.com }'

    [2/13/2016 6:12:16 PM] [2] Ending processing.

    [2/13/2016 6:12:16 PM] [2] Beginning processing.

    [2/13/2016 6:12:16 PM] [2] adminname Active Directory session settings are:  View Entire Forest: 'True', Configuration Domain Controller: 'oldservername.domainname.com', Preferred Global Catalog: 'oldservername.domainname.com', Preferred Domain Controllers: '{ oldservername.domainname.com }'

    [2/13/2016 6:12:16 PM] [2] [WARNING] The following service restart is required for the change(s) to take effect : MSExchangeTransport

    [2/13/2016 6:12:16 PM] [2] Ending processing.

    [2/13/2016 6:12:16 PM] [2] Beginning processing.

    [2/13/2016 6:12:16 PM] [2] adminname Active Directory session settings are:  View Entire Forest: 'True', Configuration Domain Controller: 'oldservername.domainname.com', Preferred Global Catalog: 'oldservername.domainname.com', Preferred Domain Controllers: '{ oldservername.domainname.com }'

    [2/13/2016 6:12:17 PM] [2] [WARNING] Please exit Powershell to complete the installation.

    [2/13/2016 6:12:17 PM] [2] [WARNING] The following service restart is required for the change(s) to take effect : MSExchangeTransport

    [2/13/2016 6:12:17 PM] [2] Ending processing.

    [2/13/2016 6:12:17 PM] [1] Executing '$receiveConnectors = get-receiveconnector; foreach ($con in $receiveConnectors) { foreach ($binding in $con.Bindings) { if ($binding.Port -eq 587) { $con | set-receiveconnector -EnableAuthGSSAPI:$true; break; } } }', handleError = False

    [2/13/2016 6:12:17 PM] [2] Launching sub-task '$error.Clear(); $receiveConnectors = get-receiveconnector; foreach ($con in $receiveConnectors) { foreach ($binding in $con.Bindings) { if ($binding.Port -eq 587) { $con | set-receiveconnector -EnableAuthGSSAPI:$true; break; } } }'.

    [2/13/2016 6:12:17 PM] [2] Beginning processing.

    [2/13/2016 6:12:17 PM] [2] adminname Active Directory session settings are:  View Entire Forest: 'True', Configuration Domain Controller: 'oldservername.domainname.com', Preferred Global Catalog: 'oldservername.domainname.com', Preferred Domain Controllers: '{ oldservername.domainname.com }'

    [2/13/2016 6:12:17 PM] [2] Searching objects of type "ReceiveConnector" with filter "$null", scope "SubTree" under the root "$null".

    [2/13/2016 6:12:17 PM] [2] Previous operation run on domain controller 'oldservername.domainname.com'.

    [2/13/2016 6:12:17 PM] [2] Preparing to output objects. Maximum result set size "unlimited".

    [2/13/2016 6:12:17 PM] [2] Searching objects "oldservername" of type "Server" under the root "$null".

    [2/13/2016 6:12:17 PM] [2] Previous operation run on domain controller 'oldservername.domainname.com'.

    [2/13/2016 6:12:17 PM] [2] Searching objects "oldservername" of type "Server" under the root "$null".

    [2/13/2016 6:12:17 PM] [2] Previous operation run on domain controller 'oldservername.domainname.com'.

    [2/13/2016 6:12:17 PM] [2] Ending processing.

    [2/13/2016 6:12:17 PM] [1] Executing 'uninstall-OldEdgeTransportService', handleError = False

    [2/13/2016 6:12:17 PM] [2] Launching sub-task '$error.Clear(); uninstall-OldEdgeTransportService'.

    [2/13/2016 6:12:17 PM] [2] Beginning processing.

    [2/13/2016 6:12:17 PM] [2] Service 'EdgeTransportSvc' is not installed on this server.

    [2/13/2016 6:12:17 PM] [2] Ending processing.

    [2/13/2016 6:12:17 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\edgetransport.exe"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False

    [2/13/2016 6:12:17 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\edgetransport.exe"); precompile-ManagedBinary -BinaryName $fullPath;'.

    [2/13/2016 6:12:17 PM] [2] Beginning processing.

    [2/13/2016 6:12:17 PM] [2] Starting: C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\edgetransport.exe" /verbose

    [2/13/2016 6:12:17 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.3053

    Copyright (c) Microsoft Corporation.  All rights reserved.

    Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\edgetransport.exe

    All compilation targets are up to date.

    [2/13/2016 6:12:17 PM] [2] Process standard error:

    [2/13/2016 6:12:17 PM] [2] Ending processing.

    [2/13/2016 6:12:17 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\msexchangetransport.exe"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False

    [2/13/2016 6:12:17 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\msexchangetransport.exe"); precompile-ManagedBinary -BinaryName $fullPath;'.

    [2/13/2016 6:12:17 PM] [2] Beginning processing.

    [2/13/2016 6:12:17 PM] [2] Starting: C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\msexchangetransport.exe" /verbose

    [2/13/2016 6:12:18 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.3053

    Copyright (c) Microsoft Corporation.  All rights reserved.

    Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\msexchangetransport.exe

    All compilation targets are up to date.

    [2/13/2016 6:12:18 PM] [2] Process standard error:

    [2/13/2016 6:12:18 PM] [2] Ending processing.

    [2/13/2016 6:12:18 PM] [1] Executing 'if (!(get-service MSExchangeTransport* | where {$_.name -eq "MSExchangeTransport"})) { install-EdgeTransportService -ServicesDependedOn MSExchangeADTopology }', handleError = False

    [2/13/2016 6:12:18 PM] [2] Launching sub-task '$error.Clear(); if (!(get-service MSExchangeTransport* | where {$_.name -eq "MSExchangeTransport"})) { install-EdgeTransportService -ServicesDependedOn MSExchangeADTopology }'.

    [2/13/2016 6:12:18 PM] [1] Executing 'add-firewallexception -BinaryPath ($RoleInstallPath + "\bin\edgetransport.exe") -Name "MSExchangeTransportWorker"', handleError = False

    [2/13/2016 6:12:18 PM] [2] Launching sub-task '$error.Clear(); add-firewallexception -BinaryPath ($RoleInstallPath + "\bin\edgetransport.exe") -Name "MSExchangeTransportWorker"'.

    [2/13/2016 6:12:18 PM] [2] Beginning processing.

    [2/13/2016 6:12:18 PM] [2] Ending processing.

    [2/13/2016 6:12:18 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.EdgeSyncSvc.exe"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False

    [2/13/2016 6:12:18 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.EdgeSyncSvc.exe"); precompile-ManagedBinary -BinaryName $fullPath;'.

    [2/13/2016 6:12:18 PM] [2] Beginning processing.

    [2/13/2016 6:12:18 PM] [2] Starting: C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.EdgeSyncSvc.exe" /verbose

    [2/13/2016 6:12:19 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.3053

    Copyright (c) Microsoft Corporation.  All rights reserved.

    Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.EdgeSyncSvc.exe

    All compilation targets are up to date.

    [2/13/2016 6:12:19 PM] [2] Process standard error:

    [2/13/2016 6:12:19 PM] [2] Ending processing.

    [2/13/2016 6:12:19 PM] [1] Executing 'if (!(get-service MSExchangeEdgeSync* | where {$_.name -eq "MSExchangeEdgeSync"})) { install-EdgeSyncService }', handleError = False

    [2/13/2016 6:12:19 PM] [2] Launching sub-task '$error.Clear(); if (!(get-service MSExchangeEdgeSync* | where {$_.name -eq "MSExchangeEdgeSync"})) { install-EdgeSyncService }'.

    [2/13/2016 6:12:19 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\MSExchangeTransportLogSearch.exe"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False

    [2/13/2016 6:12:19 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\MSExchangeTransportLogSearch.exe"); precompile-ManagedBinary -BinaryName $fullPath;'.

    [2/13/2016 6:12:19 PM] [2] Beginning processing.

    [2/13/2016 6:12:19 PM] [2] Starting: C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\MSExchangeTransportLogSearch.exe" /verbose

    [2/13/2016 6:12:19 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.3053

    Copyright (c) Microsoft Corporation.  All rights reserved.

    Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\MSExchangeTransportLogSearch.exe

    All compilation targets are up to date.

    [2/13/2016 6:12:19 PM] [2] Process standard error:

    [2/13/2016 6:12:19 PM] [2] Ending processing.

    [2/13/2016 6:12:19 PM] [1] Executing 'if (!(get-service MSExchangeAntispamUpdate* | where {$_.name -eq "MSExchangeAntispamUpdate"})) { install-AntispamUpdateService -ServicesDependedOn MSExchangeADTopology }', handleError = False

    [2/13/2016 6:12:19 PM] [2] Launching sub-task '$error.Clear(); if (!(get-service MSExchangeAntispamUpdate* | where {$_.name -eq "MSExchangeAntispamUpdate"})) { install-AntispamUpdateService -ServicesDependedOn MSExchangeADTopology }'.

    [2/13/2016 6:12:19 PM] [1] Processing component 'Transport Log Search Service' (Configuring the server.).

    [2/13/2016 6:12:19 PM] [1] Executing 'if (!(get-service MSExchangeTransportLogSearch* | where {$_.name -eq "MSExchangeTransportLogSearch"})) { install-TransportLogSearchService -ServicesDependedOn MSExchangeADTopology }', handleError = False

    [2/13/2016 6:12:19 PM] [2] Launching sub-task '$error.Clear(); if (!(get-service MSExchangeTransportLogSearch* | where {$_.name -eq "MSExchangeTransportLogSearch"})) { install-TransportLogSearchService -ServicesDependedOn MSExchangeADTopology }'.

    [2/13/2016 6:12:19 PM] [1] Processing component 'Data Storage Configuration' (Configuring data storage).

    [2/13/2016 6:12:19 PM] [1] Executing 'install-OleConverter', handleError = False

    [2/13/2016 6:12:19 PM] [2] Launching sub-task '$error.Clear(); install-OleConverter'.

    [2/13/2016 6:12:19 PM] [2] Beginning processing.

    [2/13/2016 6:12:19 PM] [2] Ending processing.

    [2/13/2016 6:12:19 PM] [1] Processing component 'Monitoring Service Configuration' (Installing the Exchange Monitoring service).

    [2/13/2016 6:12:19 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\microsoft.exchange.monitoring.exe"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False

    [2/13/2016 6:12:19 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\microsoft.exchange.monitoring.exe"); precompile-ManagedBinary -BinaryName $fullPath;'.

    [2/13/2016 6:12:19 PM] [2] Beginning processing.

    [2/13/2016 6:12:19 PM] [2] Starting: C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\microsoft.exchange.monitoring.exe" /verbose

    [2/13/2016 6:12:20 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.3053

    Copyright (c) Microsoft Corporation.  All rights reserved.

    Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\microsoft.exchange.monitoring.exe

    Failed to load dependency Microsoft.Web.Administration of assembly Microsoft.Exchange.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

    All compilation targets are up to date.

    [2/13/2016 6:12:20 PM] [2] Process standard error:

    [2/13/2016 6:12:20 PM] [2] Ending processing.

    [2/13/2016 6:12:20 PM] [1] Executing 'if (!(get-service MSExchangeMonitoring* | where {$_.name -eq "MSExchangeMonitoring"})) { install-MonitoringService }', handleError = False

    [2/13/2016 6:12:20 PM] [2] Launching sub-task '$error.Clear(); if (!(get-service MSExchangeMonitoring* | where {$_.name -eq "MSExchangeMonitoring"})) { install-MonitoringService }'.

    [2/13/2016 6:12:20 PM] [1] Executing '$comClassFile = join-path $RoleInstallPath ([System.Environment]::ExpandEnvironmentVariables("bin\Monitoring\%PROCESSOR_ARCHITECTURE%\DiagnosticCmdletController.dll")); $regsvr = join-path (join-path $env:SystemRoot system32) regsvr32.exe; start-SetupProcess -Name:"$regsvr" -Args:"/s `"$comClassFile`"" -Timeout:120000;', handleError = False

    [2/13/2016 6:12:20 PM] [2] Launching sub-task '$error.Clear(); $comClassFile = join-path $RoleInstallPath ([System.Environment]::ExpandEnvironmentVariables("bin\Monitoring\%PROCESSOR_ARCHITECTURE%\DiagnosticCmdletController.dll")); $regsvr = join-path (join-path $env:SystemRoot system32) regsvr32.exe; start-SetupProcess -Name:"$regsvr" -Args:"/s `"$comClassFile`"" -Timeout:120000;'.

    [2/13/2016 6:12:20 PM] [2] Beginning processing.

    [2/13/2016 6:12:20 PM] [2] Starting: C:\WINDOWS\system32\regsvr32.exe arguments: /s "C:\Program Files\Microsoft\Exchange Server\bin\Monitoring\AMD64\DiagnosticCmdletController.dll"

    [2/13/2016 6:12:20 PM] [2] Process standard output:

    [2/13/2016 6:12:20 PM] [2] Process standard error:

    [2/13/2016 6:12:20 PM] [2] Ending processing.

    [2/13/2016 6:12:20 PM] [1] Executing 'if ($RoleProductPlatform -ieq "amd64") { $comClassFile = join-path $RoleInstallPath "bin\Monitoring\x86\DiagnosticCmdletController.dll"; $regSvr32WOW = join-path (join-path $env:SystemRoot sysWOW64) regsvr32.exe; start-SetupProcess -Name:"$regSvr32WOW" -Args:"/s `"$comClassFile`"" -Timeout:120000; }', handleError = False

    [2/13/2016 6:12:20 PM] [2] Launching sub-task '$error.Clear(); if ($RoleProductPlatform -ieq "amd64") { $comClassFile = join-path $RoleInstallPath "bin\Monitoring\x86\DiagnosticCmdletController.dll"; $regSvr32WOW = join-path (join-path $env:SystemRoot sysWOW64) regsvr32.exe; start-SetupProcess -Name:"$regSvr32WOW" -Args:"/s `"$comClassFile`"" -Timeout:120000; }'.

    [2/13/2016 6:12:20 PM] [2] Beginning processing.

    [2/13/2016 6:12:20 PM] [2] Starting: C:\WINDOWS\sysWOW64\regsvr32.exe arguments: /s "C:\Program Files\Microsoft\Exchange Server\bin\Monitoring\x86\DiagnosticCmdletController.dll"

    [2/13/2016 6:12:21 PM] [2] Process standard output:

    [2/13/2016 6:12:21 PM] [2] Process standard error:

    [2/13/2016 6:12:21 PM] [2] Ending processing.

    [2/13/2016 6:12:21 PM] [1] Processing component 'Active Directory Topology Service Configuration' (Configuring Microsoft Exchange Active Directory Topology Service).

    [2/13/2016 6:12:21 PM] [1] Executing 'if ($exsSid -eq $null -or $exsSid -eq "") { $exsSid = get-ExchangeServerGroupSID -DomainController $RoleDomainController } start-setupservice -ServiceName MSExchangeADTopology -ServiceParameters $exsSid,$RoleDomainController', handleError = False

    [2/13/2016 6:12:21 PM] [2] Launching sub-task '$error.Clear(); if ($exsSid -eq $null -or $exsSid -eq "") { $exsSid = get-ExchangeServerGroupSID -DomainController $RoleDomainController } start-setupservice -ServiceName MSExchangeADTopology -ServiceParameters $exsSid,$RoleDomainController'.

    [2/13/2016 6:12:21 PM] [2] Beginning processing.

    [2/13/2016 6:12:21 PM] [2] Used domain controller oldservername.domainname.com to read object DC=domainname,DC=com

    [2/13/2016 6:12:21 PM] [2] Used domain controller oldservername.domainname.com to read object CN=Exchange Servers,OU=Microsoft Exchange Security Groups,DC=domainname,DC=com

    [2/13/2016 6:12:21 PM] [2] Used domain controller oldservername.domainname.com to read object CN=Exchange Servers,OU=Microsoft Exchange Security Groups,DC=domainname,DC=com

    [2/13/2016 6:12:21 PM] [2] Ending processing.

    [2/13/2016 6:12:21 PM] [2] Beginning processing.

    [2/13/2016 6:12:21 PM] [2] Ending processing.

    [2/13/2016 6:12:21 PM] [1] Executing 'set-SharedConfigDC -DomainController $RoleDomainController', handleError = False

    [2/13/2016 6:12:21 PM] [2] Launching sub-task '$error.Clear(); set-SharedConfigDC -DomainController $RoleDomainController'.

    [2/13/2016 6:12:21 PM] [2] Beginning processing.

    [2/13/2016 6:12:21 PM] [2] Ending processing.

    [2/13/2016 6:12:21 PM] [1] Processing component 'Bridgehead Service Configuration' (Starting Hub Transport services).

    [2/13/2016 6:12:21 PM] [1] Processing component 'Transport Common Service Control' (Starting Microsoft Exchange Transport Log Search service).

    [2/13/2016 6:12:21 PM] [1] Processing component 'All Roles Common Last' (Creating the Exchange server configuration in the Active Directory).

    [2/13/2016 6:12:21 PM] [1] Executing 'set-InstalledRoleInfo -RoleName $RoleRoleName', handleError = False

    [2/13/2016 6:12:21 PM] [2] Launching sub-task '$error.Clear(); set-InstalledRoleInfo -RoleName $RoleRoleName'.

    [2/13/2016 6:12:21 PM] [2] Beginning processing.

    [2/13/2016 6:12:21 PM] [2] Ending processing.

    [2/13/2016 6:12:21 PM] [1] Executing 'get-service | where { $_.Name -ieq "HealthService" } | start-service', handleError = False

    [2/13/2016 6:12:21 PM] [2] Launching sub-task '$error.Clear(); get-service | where { $_.Name -ieq "HealthService" } | start-service'.

    [2/13/2016 6:12:21 PM] [1] Executing 'get-service | where { $_.Name -ieq "MOM" } | start-service', handleError = False

    [2/13/2016 6:12:21 PM] [2] Launching sub-task '$error.Clear(); get-service | where { $_.Name -ieq "MOM" } | start-service'.

    [2/13/2016 6:12:21 PM] [1] The following 1 error(s) occurred during task execution:

    [2/13/2016 6:12:21 PM] [1] 0.  ErrorRecord: Service 'MOM (MOM)' cannot be started due to the following error: Cannot start service MOM on computer '.'.

    [2/13/2016 6:12:21 PM] [1] 0.  ErrorRecord: Microsoft.PowerShell.Commands.ServiceCommandException: Service 'MOM (MOM)' cannot be started due to the following error: Cannot start service MOM on computer '.'. ---> System.InvalidOperationException: Cannot start service MOM on computer '.'. ---> System.ComponentModel.Win32Exception: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it

       --- End of inner exception stack trace ---

       at System.ServiceProcess.ServiceController.Start(String[] args)

       at Microsoft.PowerShell.Commands.ServiceOperationBaseCommand.DoStartService(ServiceController serviceController)

       --- End of inner exception stack trace ---

    [2/13/2016 6:12:21 PM] [1] [ERROR] Service 'MOM (MOM)' cannot be started due to the following error: Cannot start service MOM on computer '.'.

    [2/13/2016 6:12:21 PM] [1] [ERROR] Cannot start service MOM on computer '.'.

    [2/13/2016 6:12:21 PM] [1] [ERROR] The service cannot be started, either because it is disabled or because it has no enabled devices associated with it

    [2/13/2016 6:12:21 PM] [1] Setup is halting task execution because of one or more errors in a critical task.

    [2/13/2016 6:12:21 PM] [1] Finished executing component tasks.

    [2/13/2016 6:12:21 PM] [1] Ending processing.

    [2/13/2016 6:14:02 PM] [0] End of Setup

    [2/13/2016 6:14:02 PM] [0] **********************************************

    13 февраля 2016 г. 23:06
  • Я попробовал установить на вторую машину Exchange 2013, чтобы на неё перенести все ящики из сломанного 2007, но при установке 2013й говорит, что не видит никакой Exchange 2010 или более ранней версии и если я установлю эту 2013, то 2010 и более ранние версии не будут работать.

    Странно. Ведь в начале установки SP3 для Exchange 2007 но провёл подготовку домена и леса и сказал, что всё ок.

    Как считаете, может поставить на вторую машину 2007 SP3 и на неё всё перенести и настроить?

    Или всё таки сделать копию баз почтовых и попытаться восстановить виндовским бэкапом копию системы старого сервера? Может вернётся 2007 SP1 и будет ОК работать? Там уже буду думать в след выходные как перенести всё на Exch 2013 ?

    14 февраля 2016 г. 9:10
  • Вариантов к помощи, я так понимаю, ни у кого нет. Тогда просто пара умозаключений:

    1) Восстанавливать доменный контроллер на этой машине бесполезно, т.к. вся инфа всё равно прореплицируется с других машин. Они то всё это время общаются с поломанной машиной. Да и не похоже, что эта проблема связана с AD. Ошибок с AD или с доступом нет.

    2) Надо восстановить все файлы, которые поменял Exch 2007 SP3. Он точно всё менял в папке 'C:\Program Files\Microsoft\Exchange Server.
    Плюс, раз не работает OWA, значит он поменял файлы IIS. На technet нашёл такую статейку:
    h****://technet.microsoft.com/ru-ru/library/ee221147(v=exchg.80).aspx .
    Я посмотрел этот файл у себя. Дата последнего изменения не вчера(день появления проблемы после обновления Exch). Но он тоже из папки 'C:\Program Files\Microsoft\Exchange Server- (\ClientAccess\OWA\Auth).
    Значит получается надо восстановить этут папку целиком и, возможно, будет счастье. Смущает толька база данных почты. Все файлы
    Exchange Server я поменяю на момент вчерашнего утра. А база то работала с программой после этого - до момента восстановления(сейчас). 
    Захочет ли программа работать с более новой базой?!


    • Изменено romanvyudin 14 февраля 2016 г. 12:37
    14 февраля 2016 г. 12:29
  • КОМАНДА netdom query fsmo

    Старый сервер:
    C:\Documents and Settings\Administrator>netdom query fsmo
    Schema owner                oldservername.com
    Domain role owner           oldservername.com
    PDC role                    oldservername.com
    RID pool manager            oldservername.com
    Infrastructure owner        oldservername.com
    The command completed successfully.

    Новый сервер:
    C:\Windows\system32>netdom query fsmo
    Schema master               oldservername.com
    Domain naming master        oldservername.com
    PDC                         oldservername.com
    RID pool manager            oldservername.com
    Infrastructure master       oldservername.com
    The command completed successfully.


    КОМАНДА  dcdiag

    Старый сервер:

    C:\Documents and Settings\Administrator>dcdiag

    Domain Controller Diagnosis

    Performing initial setup:
       Done gathering initial info.

    Doing initial required tests

       Testing server: Default-First-Site-Name\OLDservername
          Starting test: Connectivity
             ......................... OLDservername passed test Connectivity

    Doing primary tests

       Testing server: Default-First-Site-Name\OLDservername
          Starting test: Replications
             ......................... OLDservername passed test Replications
          Starting test: NCSecDesc
             ......................... OLDservername passed test NCSecDesc
          Starting test: NetLogons
             ......................... OLDservername passed test NetLogons
          Starting test: Advertising
             ......................... OLDservername passed test Advertising
          Starting test: KnowsOfRoleHolders
             ......................... OLDservername passed test KnowsOfRoleHolders
          Starting test: RidManager
             ......................... OLDservername passed test RidManager
          Starting test: MachineAccount
             ......................... OLDservername passed test MachineAccount
          Starting test: Services
             ......................... OLDservername passed test Services
          Starting test: ObjectsReplicated
             ......................... OLDservername passed test ObjectsReplicated
          Starting test: frssysvol
             ......................... OLDservername passed test frssysvol
          Starting test: frsevent
             ......................... OLDservername passed test frsevent
          Starting test: kccevent
             ......................... OLDservername passed test kccevent
          Starting test: systemlog
             ......................... OLDservername passed test systemlog
          Starting test: VerifyReferences
             ......................... OLDservername passed test VerifyReferences

       Running partition tests on : ForestDnsZones
          Starting test: CrossRefValidation
             ......................... ForestDnsZones passed test CrossRefValidation

          Starting test: CheckSDRefDom
             ......................... ForestDnsZones passed test CheckSDRefDom

       Running partition tests on : DomainDnsZones
          Starting test: CrossRefValidation
             ......................... DomainDnsZones passed test CrossRefValidation

          Starting test: CheckSDRefDom
             ......................... DomainDnsZones passed test CheckSDRefDom

       Running partition tests on : Schema
          Starting test: CrossRefValidation
             ......................... Schema passed test CrossRefValidation
          Starting test: CheckSDRefDom
             ......................... Schema passed test CheckSDRefDom

       Running partition tests on : Configuration
          Starting test: CrossRefValidation
             ......................... Configuration passed test CrossRefValidation
          Starting test: CheckSDRefDom
             ......................... Configuration passed test CheckSDRefDom

       Running partition tests on : domainname
          Starting test: CrossRefValidation
             ......................... domainname passed test CrossRefValidation
          Starting test: CheckSDRefDom
             ......................... domainname passed test CheckSDRefDom

       Running enterprise tests on : domainname.com
          Starting test: Intersite
             ......................... domainname.com passed test Intersite
          Starting test: FsmoCheck
             ......................... domainname.com passed test FsmoCheck

    Новый сервер:
    C:\Windows\system32>dcdiag

    Directory Server Diagnosis

    Performing initial setup:
       Trying to find home server...
       Home Server = NEWservername
       * Identified AD Forest.
       Done gathering initial info.

    Doing initial required tests

       Testing server: Default-First-Site-Name\NEWservername
          Starting test: Connectivity
             ......................... NEWservername passed test Connectivity

    Doing primary tests

       Testing server: Default-First-Site-Name\NEWservername
          Starting test: Advertising
             ......................... NEWservername passed test Advertising
          Starting test: FrsEvent
             ......................... NEWservername passed test FrsEvent
          Starting test: DFSREvent
             ......................... NEWservername passed test DFSREvent
          Starting test: SysVolCheck
             ......................... NEWservername passed test SysVolCheck
          Starting test: KccEvent
             ......................... NEWservername passed test KccEvent
          Starting test: KnowsOfRoleHolders
             ......................... NEWservername passed test KnowsOfRoleHolders
          Starting test: MachineAccount
             ......................... NEWservername passed test MachineAccount
          Starting test: NCSecDesc
             ......................... NEWservername passed test NCSecDesc
          Starting test: NetLogons
             ......................... NEWservername passed test NetLogons
          Starting test: ObjectsReplicated
             ......................... NEWservername passed test ObjectsReplicated
          Starting test: Replications
             ......................... NEWservername passed test Replications
          Starting test: RidManager
             ......................... NEWservername passed test RidManager
          Starting test: Services
             ......................... NEWservername passed test Services
          Starting test: SystemLog
             ......................... NEWservername passed test SystemLog
          Starting test: VerifyReferences
             ......................... NEWservername passed test VerifyReferences


       Running partition tests on : ForestDnsZones
          Starting test: CheckSDRefDom
             ......................... ForestDnsZones passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... ForestDnsZones passed test
             CrossRefValidation

       Running partition tests on : DomainDnsZones
          Starting test: CheckSDRefDom
             ......................... DomainDnsZones passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... DomainDnsZones passed test
             CrossRefValidation

       Running partition tests on : Schema
          Starting test: CheckSDRefDom
             ......................... Schema passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... Schema passed test CrossRefValidation

       Running partition tests on : Configuration
          Starting test: CheckSDRefDom
             ......................... Configuration passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... Configuration passed test CrossRefValidation

       Running partition tests on : domainname
          Starting test: CheckSDRefDom
             ......................... domainname passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... domainname passed test CrossRefValidation

       Running enterprise tests on : domainname.com
          Starting test: LocatorCheck
             ......................... domainname.com passed test LocatorCheck
          Starting test: Intersite
             ......................... domainname.com passed test Intersite

    14 февраля 2016 г. 13:40
  • Я тут уже фигнёй занялся: т.к. POP3 Не стартует и ругается на файлы(C:\Program Files\Microsoft\Exchange Server\ClientAccess\PopImap\):
    Event Type: Error
    Event Source: .NET Runtime 2.0 Error Reporting
    Event Category: None
    Event ID: 1000
    Date: 2/14/2016
    Time: 12:34:53 AM
    User: N/A
    Computer: exchangeservername
    Description:
    Faulting application microsoft.exchange.pop3service.exe, version 8.3.83.0, stamp 4be1ecb2, faulting module kernel32.dll, version 5.2.3790.4480, stamp 49c51cdd, debug? 0, fault address 0x000000000000dd50.

    Я в другое место восстановил эти файлы и просто заменил те, что были системой заменены вчера.
    И на удивление POP3 стартанул. Не знаю работает или нет. Но сервис стартонул.


    Тоже самое провёл с папками:
    C:\Program Files\Microsoft\Exchange Server\ClientAccess\Sync
    и
    C:\Program Files\Microsoft\Exchange Server\ClientAccess\OWA.

    При попытке подключиться через OWA теперь не ошибка вылазит, а как обычно - окно для ввода пароля.
    Вот только не признаёт имя и пароль.
    При вводе имени и пароля просто обновляется и всё.

    В момент открытия странички OWA появляются две ошибки(в большом количестве). В момент ввода пароля ошибок нет.

    ------------------

    Event Type: Error
    Event Source: W3SVC-WP
    Event Category: None
    Event ID: 2268
    Date: 2/14/2016
    Time: 6:24:04 PM
    User: N/A
    Computer: exchangeservername
    Description:
    Could not load all ISAPI filters for site/service. Therefore startup aborted.

    For more information, see Help and Support Center at h***://go.microsoft.com/fwlink/events.asp.
    Data:
    0000: 05 00 00 00

    --------------------------

    Event Type: Error
    Event Source: W3SVC-WP
    Event Category: None
    Event ID: 2214
    Date: 2/14/2016
    Time: 6:24:04 PM
    User: N/A
    Computer: exchangeservername
    Description:
    The HTTP Filter DLL C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\auth\owaauth.dll failed to load. The data is the error.

    For more information, see Help and Support Center at h***://go.microsoft.com/fwlink/events.asp.
    Data:
    0000: 05 00 00 00


    • Изменено romanvyudin 14 февраля 2016 г. 16:40
    14 февраля 2016 г. 16:39
  • Как я понимаю у вас сейчас не работает только IIS на Exchange?

    Можно попробовать пересоздать все виртуальные директории.

    Делается так:

    http://www.exchangeranger.com/2011/03/how-to-recreate-all-virtual-directories.html

    Плюс для сосуществования с 2013 нужен не просто SP3, а Update Rollup 10 for Exchange 2007 Service Pack 3.

    После обновления виртуальных директорий, вы его поставьте сверху.

    И потом нужно будет мигрировать на 2013, как например здесь указано:

    https://technet.microsoft.com/en-us/library/jj898581(v=exchg.150).aspx

    14 февраля 2016 г. 18:08
  • Спасибо. Поздно я Ваше сообщение увидел.

    Но всё равно спасибо большое за помощь! Отмечу себе такой вариант, может пригодится ещё.

    А перейти на Exch2013 придётся конечно. Я скопирую себе Ваши ссылки. А то мне на другом сайте посоветовали выгрузить всё в pst и загрузить в 2013.

    В общем резюмирую,  чтобы решить последние проблемы перерыл я весь Internet, весь Exchange и всю IIS. По файлам разобрал всё.

    В итоге нашёл эту статейку:
    https://social.technet.microsoft.com/Forums/exchange/en-US/0b9d2ed2-b27b-41bc-8428-36f9957d89fe/issues-with-owa?forum=exchangesvrclientslegacy

    Хотя к тому моменту как я нашёл эту статью ошибки из логов вообще пропали. Типа всё хорошо. Но в почту не пущу через OWA(просто обновляет страницу и всё).

    Поколдовал с фильтрами ISAPI. Один старый оставил, а один из новых(от SP3)взял.
    Оказывается ещё один мне Exchange удалил. Я его нашёл и добавил. Про него тоже в статье есть.
    Поменял доступы как в статье просят и...

    Всё работает!

    p.s. хотя в итоге у меня в Exchange папке часть файлов от SP1, а часть от SP3. Сама exch 2007 считает, что она SP3 уже. Но для activsync и owa практически всё от sp1. И не прошла вторая половина установки. Сейчас страшновато пробовать доделывать - завтра раб.день(а я и так тут 2 дня живу).

    Но начну, как и посоветовали с установки всех обновлений. А там посмотрим. Предварительно все базы в pst выгружу, ан всякий случай )))
    • Помечено в качестве ответа romanvyudin 14 февраля 2016 г. 19:21
    14 февраля 2016 г. 19:20