• 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()

  • 相关阅读:
    forEach方法的实现
    经典笔试题
    Js中的filter()方法
    arguments参数对象
    随机验证码实现
    DB2 字符串比较
    博客园那篇文章,怎么被“注入”的?
    DB2存储过程创建临时表,返回临时表集合
    Struts的一些关键词
    DB2使用笔记生成存储过程ID
  • 原文地址:https://www.cnblogs.com/awpatp/p/2267847.html
Copyright © 2020-2023  润新知