我的服务器的环境是这样,有两服务器,一台做AD ,一台做sharepoint2007,之前已经把站点搭建起来了,由于AD这台机器的硬件问题,最近换了一台新的机器,现在这台机器的域名,IP , 机器名字和之前那台是一样的,AD里面的用户也一样(不是从之前的机器导过去,是自己手动新建的),现在出现问题打开不了管理中心和之前建立的站点,我们尝试修复sharepoint也不行,删除sharepoint也出错(删除出错的界面在附件中),请问有什么方法可以解决该问题呢?
解决方案:
出现该问题的原因就是因为重建了AD,所有用户的SID都被改变了。尽管将新的域控制器的域名,IP ,机器名,以及AD里的用户和之前是完全一样,但是AD用户的SID已经改变。MOSS的服务帐户以及所有相关的帐户仍使用的原来的AD用户,去匹配原来AD用户的SID,所以导致服务无法启动。
对于这样的问题,如果以下更新密码的步骤不能解决问题,我们建议完全卸载MOSS并重新安装。需要使用SQL备份MOSS原来所有的内容数据库,以用于还原到新的服务器(MOSS不支持还原配置数据库)。可以参考下面的步骤:
stsadm.exe -o updatefarmcredentials -userlogin <DOMAIN/username> -password <password>
然后运行iisreset /noforce
参照下面知识库文档更新其他密码:
How to change service accounts and service account passwords in SharePoint Server 2007 and in Windows SharePoint Services 3.0
http://support.microsoft.com/kb/934838/en-us
How to change service accounts and service account passwords in SharePoint Server 2007 and in Windows SharePoint Services 3.0
http://support.microsoft.com/kb/934838/en-us
卸载MOSS
=======
=======
步骤1. 如果无法通过添加删除程序卸载MOSS,我们可以手动卸载。
注意: 请备份下面提到的所有注册表键值。
注意: 请备份下面提到的所有注册表键值。
1. 从下面的链接里下载Windows Installer Cleanup工具:
http://support.microsoft.com/kb/290301
http://support.microsoft.com/kb/290301
2. 禁用和停止以下服务:
-Microsoft Single Sign-on Service
-Office SharePoint Server Search
-Windows SharePoint Services Administration
-Windows SharePoint Services Search
-Windows SharePoint Services Timer
-Windows SharePoint Services Tracing
-Windows SharePoint Services VSS Writer
-Microsoft Single Sign-on Service
-Office SharePoint Server Search
-Windows SharePoint Services Administration
-Windows SharePoint Services Search
-Windows SharePoint Services Timer
-Windows SharePoint Services Tracing
-Windows SharePoint Services VSS Writer
3. 记录以下注册表键值:
HKLM/Software/Microsoft/Office Server/12.0
-InstallPath (默认是C:/Program Files/Microsoft Office Servers/12)
HKLM/Software/Microsoft/Office Server/12.0
-InstallPath (默认是C:/Program Files/Microsoft Office Servers/12)
HKLM/Software/Microsoft/Shared Tools/Web Server Extensions/12.0
-Location (默认是C:/Program Files/Common Files/Microsoft Shared/Web Server Extensions/12)
-Location (默认是C:/Program Files/Common Files/Microsoft Shared/Web Server Extensions/12)
删除以下注册表键值:
HKLM/Software/Microsoft/Office Server/12.0
HKLM/Software/Microsoft/Shared Tools/Web Server Extensions/12.0
[x32] - HKLM/Software/Microsoft/Windows/CurrentVersion/Uninstall/OSERVER
[x64] - HKLM/SOFTWARE/Wow6432Node/Microsoft/Windows/CurrentVersion/Uninstall/OSERVER
HKLM/Software/Microsoft/Office Server/12.0
HKLM/Software/Microsoft/Shared Tools/Web Server Extensions/12.0
[x32] - HKLM/Software/Microsoft/Windows/CurrentVersion/Uninstall/OSERVER
[x64] - HKLM/SOFTWARE/Wow6432Node/Microsoft/Windows/CurrentVersion/Uninstall/OSERVER
4. 删除以下文件夹:
-MOSS安装目录
-C:/%CommonProgramFiles%/Microsoft Shared/SERVER12
-MOSS安装目录
-C:/%CommonProgramFiles%/Microsoft Shared/SERVER12
5. 打开一个命令提示符窗口,并且定位到C:/Program Files/Windows Installer Clean Up目录。执行以下命令:
MSIZAP TW {90120000-1080-0409-0000-0000000FF1CE}
MSIZAP TW {90120000-1015-0409-0000-0000000FF1CE}
MSIZAP TW {90120000-10EB-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-10FC-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-10F5-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-10FD-0409-0000-0000000FF1CE}
MSIZAP TW {90120000-104E-0409-0000-0000000FF1CE}
MSIZAP TW {90120000-10F8-0409-0000-0000000FF1CE}
MSIZAP TW {90120000-1103-0409-0000-0000000FF1CE}
MSIZAP TW {90120000-10D8-0409-0000-0000000FF1CE}
MSIZAP TW {90120000-1104-0409-0000-0000000FF1CE}
MSIZAP TW {90120000-1088-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-1014-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-107F-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-10FB-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-104B-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-10F7-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-10F6-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-10D7-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-110D-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-1080-0409-0000-0000000FF1CE}
MSIZAP TW {90120000-1015-0409-0000-0000000FF1CE}
MSIZAP TW {90120000-10EB-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-10FC-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-10F5-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-10FD-0409-0000-0000000FF1CE}
MSIZAP TW {90120000-104E-0409-0000-0000000FF1CE}
MSIZAP TW {90120000-10F8-0409-0000-0000000FF1CE}
MSIZAP TW {90120000-1103-0409-0000-0000000FF1CE}
MSIZAP TW {90120000-10D8-0409-0000-0000000FF1CE}
MSIZAP TW {90120000-1104-0409-0000-0000000FF1CE}
MSIZAP TW {90120000-1088-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-1014-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-107F-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-10FB-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-104B-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-10F7-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-10F6-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-10D7-0000-0000-0000000FF1CE}
MSIZAP TW {90120000-110D-0000-0000-0000000FF1CE}
6. 从IIS管理器里删除所有的SharePoint 相关的站点以及应用程序池。
7. 重新启动服务器。
步骤2. 完成以上卸载步骤后,重新安装MOSS。
步骤3. 完成MOSS的配置,包括创建新的共享服务。
步骤4. 创建新的Web应用程序,不要添加网站集。
步骤5. 向Web应用程序中添加之前的内容数据库。
1. 打开SharePoint管理中心,并选择应用程序管理。
2. 从“SharePoint Web 应用程序管理”下选择“内容数据库”。
3. 单击添加数据库,提供相关的信息,添加以前的内容数据库。
2. 从“SharePoint Web 应用程序管理”下选择“内容数据库”。
3. 单击添加数据库,提供相关的信息,添加以前的内容数据库。
重复步骤4和步骤5添加其他的内容数据库