积极答复者
关于SharePoint数据库

问题
-
好吧,很倒霉,上周EXCHANGE服务器挂了,悲催的是正好SharePoint的数据库装在这台服务器上。安装SharePoint得人真是天才!
环境是这样的:
原先:A服务器(SharePoint2010)
B服务器(SQL2008 R2)
B服务器挂了,我从新安装了服务器(C服务器)SQL2008R2,但是计算机名称和IP和原来都不一样,我吧原先数据库文件取出后挂上C服务器。理论上数据库应该好了。
问题是我通过什么方法操作A服务器让他的数据库从新指向C服务器。(尝试着用SharePoint的向导,但是失败,最后给了我一个超级长的日志文件),C服务器 数据库我还要做什么设置?
请各位大侠江湖救急!
- 已编辑 小蛋壳 2011年9月26日 13:53
答案
-
您好,管理中心进不去,是由于你的Farm管理员帐号换了,或者说密码发生改变。
请尝试使用如下的命令修改管理员帐号:
stsadm-o updatefarmcredentials-userlogin <var>DomainName</var> \ <var>UserName</var> 的密码 <var>NewPassword</var>
<var>当然其他应用服务或者Web前端的帐号或者密码也需要修改:http://support.microsoft.com/kb/934838</var>
- 已标记为答案 Wayne Fan 2011年10月6日 5:02
全部回复
-
您好!
你需要做的是迁移数据库的操作。其中涉及到管理中心数据,内容数据库,配置数据库以及应用程序数据库。微软的官方文档对此都有详细的说明,请参考:
-
经过一天的实验
第一个错误:
Failed to connect to the configuration database.
An exception of type System.Security.AccessControl.PrivilegeNotHeldException was thrown. Additional exception information: The process does not possess the 'SeSecurityPrivilege' privilege which is required for this operation.
System.Security.AccessControl.PrivilegeNotHeldException: The process does not possess the 'SeSecurityPrivilege' privilege which is required for this operation.
at System.Security.AccessControl.Win32.GetSecurityInfo(ResourceType resourceType, String name, SafeHandle handle, AccessControlSections accessControlSections, RawSecurityDescriptor& resultSd)
at System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
at System.Security.AccessControl.DirectorySecurity..ctor(String name, AccessControlSections includeSections)
at Microsoft.SharePoint.Administration.SPProvisioningAssistant.ResetAcl(FileSystemInfo fi, Boolean append)
at Microsoft.SharePoint.Administration.SPServer.StaticProvision(SPConfigurationDatabase configurationDatabase)
at Microsoft.SharePoint.Administration.SPFarm.Join()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()这个问题解决,需要用GPO的策略分配权限
现在卡在这个错误上,很莫名!
Failed to connect to the configuration database.
An exception of type System.ArgumentNullException was thrown. Additional exception information: Value cannot be null.
Parameter name: service
System.ArgumentNullException: Value cannot be null.
Parameter name: service
at Microsoft.SharePoint.Administration.SPServiceInstance..ctor(String name, SPServer server, SPService service)
at Microsoft.SharePoint.Administration.SPFarm.Join()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()这个应该是服务器名称和IP变更后的问题,但是目前无解阶段!
-
您好,管理中心进不去,是由于你的Farm管理员帐号换了,或者说密码发生改变。
请尝试使用如下的命令修改管理员帐号:
stsadm-o updatefarmcredentials-userlogin <var>DomainName</var> \ <var>UserName</var> 的密码 <var>NewPassword</var>
<var>当然其他应用服务或者Web前端的帐号或者密码也需要修改:http://support.microsoft.com/kb/934838</var>
- 已标记为答案 Wayne Fan 2011年10月6日 5:02