zoukankan      html  css  js  c++  java
  • User Profile Synchronization Service–Hangs on Starting (I fixed it!) 用户配置文件同步服务卡在“正在启动”状态

    User Profile Synchronization Service–Hangs on Starting (I fixed it!) 

    用户配置文件同步服务卡在“正在启动”状态

    我有几个服务器(还好是开发用的)遇到这个问题...它经常发生,最后我决定修复这个问题。经过数百小时的调试,我最后决定寻求微软支持。我得到了这个:

    为了解决它,我需要做一下事情:
    1. 停止User Profile Synchronization Service。
    2. 打开IIS(inetmgr)。
    3. 点击服务器名,选择验证。
    4. 选择匿名验证,选择编辑。
    5. 点击特定用户,然后输入IUSR。
    6. 添加服务账户到服务器本地管理组。
    7. 添加服务账户到FIM组。
    8. 添加服务账户到WSS_WSP和WSS_Admin_WPG组。
    9. 执行IISRESET。
    10. 创建新的User Profile Synchronization Service。
    11. 启动User Profile Synchronization Service。

    Stop User Profile Synchronization Service

    首先你要打开SharePoint PowerShell。
    开始--Microsoft SharePoint 2010 产品--右击SharePoint 2010 Management Shell,选择作为管理员运行。

    输入Get-SPSserviceInstance。

    注意你有了GUID,输入 Stop-SPServiceInstance <GUID>如下:

    现在你的服务停止了。

    但是还有许多操作要做。

    Open ISS(inetmgr)

    开始--输入inetmgr,确定。

    Click on the server name and select Authentication

    点击服务器名,双击身份验证

    Selected Anonymous Authentication then choose Edit

    点击Anonymous Authentication点击编辑。

    Click the specific user, then enter"IUSR"

    添加IUSR到特定用户。

    Add the service account to Local Admin group on the server

    开始--输入compmgmt.msc;进入本地用户和组;进入组;双击Administrator。

    添加服务账户到你的电脑。

    点击确定,保持计算机管理窗口打开。

    Add the service account to all the FIM groups

    同上对所有FIM组做之前的操作。

    Add the service account to the WSS_WSP and WSS_Admin_WPG group

    同样,再次做相同操作除了WSS_WSP和WSS_Admin_WPG组。

    Perform an IISRESET

    开始--cmd--输入IISRESET。

    Create a new User Profile Synchronization Service Application


    选择User Profile Service Application

    添加下列域(我每个数据库表名都添加了2):

    点击创建。
    执行IISRESET
    确保你可以无错误的获得这个新的应用程序。

    Note: If still unable to get to the User Profile Application…

    如果你仍然不能访问User Profile Application service,你需要核查另一个东西。确保你的WCF services仍然在IIS Manager中运行,你将需要确保站点被启动。

    再次执行IISRESET,重新尝试一次。

    Open ULS Log Viewer to get ready…

    此时,你将要准备跟踪User Profiles logs。
    在ULS Log Viewer中,右击日志区域,选择筛选项目。选择类别并输入User Profiles。这将使你能够只筛选你需要的。

    Started the User Profile Synchronization Service

    现在你必须重新启动你的服务,新的user profile synchronization service application。
    导航到管理中心--在系统设置下,选择管理服务器上的服务。

    点击启动。

    输入系统账户密码两次,点击确定。

    现在在ULS Log Viewer中,你将注意到如下,它在创建FIM配置(正式被称为ILM,但是SharePoint从未更改过这个名字)。

    如果之前的你都正确完成了,你会看到

    别忘了配置你的MySIte信息。你需要重新运行所有profile synchronization。
    如果本文帮助了你,别忘了在评论中回复,希望得到你的支持。

    原文链接

    http://myspexp.com/2011/04/28/user-profile-synchronization-servicehangs-on-starting-i-fixed-it/
  • 相关阅读:
    GARP和GVRP
    VLAN间路由
    Voice VLAN
    VLAN
    SSH
    Telnet
    FTP
    DHCP
    STP
    交换机
  • 原文地址:https://www.cnblogs.com/crazygolf/p/3856769.html
Copyright © 2011-2022 走看看