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

  • 相关阅读:
    hash联接算法
    Nginx实现WEB故障转移以及重定向
    MSSQL分区表
    SSO示例
    MSMQ 跨服务器读写队列
    利用Heartbeat完成Mysql主-主同步
    采用heartbeat做Redis的主从切换
    Redis的RDB AOF DATABASE
    Redis初试
    简单线性回归
  • 原文地址:https://www.cnblogs.com/awpatp/p/2267847.html
Copyright © 2011-2022 走看看