zoukankan      html  css  js  c++  java
  • UPA Sync Service启动之后立即自动停止

    通过查看ULS日志, 可以发现下面的记录

    ILM Configuration: The ValidateMiisEncryptionKey process returned True.
    Synchronization database was not previously initialized. Exporting the encryption key from the registry key to the database
    ILM Configuration: The ExportMiisEncryptionKey process completed successfully
    UserProfileApplication.SynchronizeMIIS: Failed to configure MOSS initial MAs, will attempt during next rerun. Exception: System.Management.ManagementException: Generic failure      
    at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)   
    at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()   
    at Microsoft.Office.Server.UserProfiles.Synchronization.ManagementAgent.ManagementAgentCollection.ManagementAgentEnumerator.MoveNext()   
    at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.IsMossMaConfigured(UserProfileApplication application)   
    at Microsoft.Office.Server.Administration.UserProfileApplication.SetupSynchronizationService(ProfileSynchronizationServiceInstance profileSyncInstance).

    解决方案

    $syncdb=Get-SPDatabase <SyncDBGUID>

    $syncdb.Unprovision()

    $syncdb.Status='Offline'

    $upa=Get-SPServiceApplication <UPSAppGUID>

    $upa.ResetSynchronizationMachine()

    $upa.ResetSynchronizationDatabase()

    $syncdb.Provision()

  • 相关阅读:
    线程
    进程2
    进程
    socketserver
    黏包
    初始网络编程
    模块
    super
    mro c3算法
    日志固定格式
  • 原文地址:https://www.cnblogs.com/awpatp/p/2267847.html
Copyright © 2011-2022 走看看