搜索服务无法连接到承载管理组件的计算机 [英] The search service is not able to connect to the machine that hosts the administration component

查看:66
本文介绍了搜索服务无法连接到承载管理组件的计算机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行Sharepoint 2013. 我删除了已损坏的搜索服务应用程序。 我通过管理中心和Powershell手动设置它,但是当我去管理搜索服务应用程序时,我得到了相同的结果:

Running Sharepoint 2013.  I removed the Search Service Application which was broken.  I set it up manually through Central Administration and Powershell but I get the same result when I go to manage the Search Service Application:

系统状态: 

管理状态搜索服务无法连接到承载管理组件的计算机。验证搜索应用程序"Search Service Application 2"中的管理组件"cb7d26ed-8075-48ed-9f2f-39a44ecbf419"是否为
状态良好,然后重试。

 

搜索应用程序拓扑:

无法检索拓扑组件运行状况。这可能是因为管理组件未启动并正在运行。

System Status: 
Administrative status The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component 'cb7d26ed-8075-48ed-9f2f-39a44ecbf419' in search application 'Search Service Application 2' is in a good state and try again.
 
Search Application Topology:
Unable to retrieve topology component health states. This may be because the admin component is not up and running.

我尝试了以下操作:

- 从SharePoint更改了应用池Web服务默认为SharePoint Web服务系统

- changed the app pool from SharePoint Web Services Default to SharePoint Web Services System

- 删除并重新创建搜索服务应用程序

- deleted and recreated Search Service Application

- 服务帐户可以访问搜索数据库

- The service account does have access to the search databases

- 使用一个帐户,domain \ spadmin,拥有我可以看到的所有必要权限

- one account is used, domain\spadmin, has all necessary permissions that I can see

此外,在检查Sharepoint服务器上的应用程序事件日志时,我看到错误,指示Sharepoint正在尝试访问已删除的搜索数据库。   SQL,Get-SPDatabase或CA\UpgradeAndMigration \ReviewDatabaseDtatus中未列出该数据库。 

Also, upon checking the Application Event Log on the Sharepoint server I see errors that indicate that Sharepoint is trying to access a deleted Search Database.  The database is not listed in SQL, Get-SPDatabase, or CA\UpgradeAndMigration\ReviewDatabaseDtatus. 

 

发生数据库错误。来源:.Net SqlClient数据提供者代码:4060发生0次(s)描述: 错误序号:1消息:无法打开数据库"Search_Service_Application_DB_deleted"登录请求。登录失败。

A database error occurred. Source: .Net SqlClient Data Provider Code: 4060 occurred 0 time(s) Description:  Error ordinal: 1 Message: Cannot open database "Search_Service_Application_DB_deleted" requested by the login. The login failed.

________________________

________________________



发生数据库错误。来源:.Net SqlClient数据提供者代码:18456发生0次(s)描述: 错误序数:2消息:用户'domain\user'登录失败。,等级:14,号码:18456,状态:1   在System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
exception,Boolean breakConnection,Action`1 wrapCloseInAction)


A database error occurred. Source: .Net SqlClient Data Provider Code: 18456 occurred 0 time(s) Description:  Error ordinal: 2 Message: Login failed for user 'domain\user'., Class: 14, Number: 18456, State: 1    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)

________________________

________________________



无法访问搜索数据库。尝试访问数据库以获取架构版本信息时发生一般错误。


Could not access the Search database. A generic error occurred while trying to access the database to obtain the schema version info.

上下文:应用程序'127eeac5-2939-4fae-8dba-15feae0a7307'

Context: Application '127eeac5-2939-4fae-8dba-15feae0a7307'

详情:

  (0x80131904)

Details:
  (0x80131904)

我是Sharepoint的新手,此时我已准备好重建它。 还没有用户,它仍在开发中,但我不想丢失任何网站集。 有什么建议吗?

I'm fairly new to Sharepoint and at this point I'm ready to rebuild it.  No users yet, it's still in development, but I don't want to lose any of the site collections.  Any suggestions?

推荐答案

您可以使用此脚本创建搜索服务应用程序并启动本地服务器上的所有服务。

You can use this script to create search service application and start all services on local server.

在执行之前,根据您的环境更改设置 - 索引位置,服务池设置以及数据库服务器名称。

Before execute, change settings based on your environment - index location, service pool settings, and also database server name.

Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
 
#Settings


IndexLocation =" C:\ Search" #RRE SCRIPT之前为索引创建文件夹! (位置必须为空,在此过程中将被删除!)
IndexLocation = "C:\Search" #CREATE FOLDER FOR INDEX BEFORE RUN SCRIPT! (Location must be empty, will be deleted during the process!)


SearchAppPoolName =" Services Pool" #ADD您的服务池名称!
SearchAppPoolName = "Services Pool" #ADD YOUR SERVICES POOL NAME!


这篇关于搜索服务无法连接到承载管理组件的计算机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆