搜索服务无法正常工作 - 各种错误消息 [英] Search service not working - various error messages

查看:110
本文介绍了搜索服务无法正常工作 - 各种错误消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有一个WFE和一个APP服务器的SP2013服务器场。

I have a SP2013 farm with one WFE and one APP server.

搜索服务工作正常,直到应用了jan 2018补丁(11月)。现在搜索不起作用。

The Search Service was working fine until the jan 2018 patch was applied (in november). now search doesnt work.

没有错误的相关ID。没有结果

there are no correlation ids from errors. there just are no results

这是我从抓取日志中获得的消息:

this is the message I get from the crawl logs:

访问被拒绝。验证默认内容访问帐户是否有权访问此存储库,或添加爬网规则以对此存储库进行爬网。如果正在爬网的存储库是SharePoint存储库,请验证您使用
的帐户是否具有"完全读取"权限。正在抓取的SharePoint Web应用程序的权限。

事件查看器错误:

同步' 7c781514-9b19-4d18-8a8d-3db62e54645a(搜索服务应用程序)'失败。事件237

Synchronizing '7c781514-9b19-4d18-8a8d-3db62e54645a(Search Service Application)' failed. event 237

w3wp.exe:所有查询处理组件都处于"失败"状态。事件223

w3wp.exe: All query processing components are in 'Failed' status. event 223

发生数据库错误。来源:.Net SqlClient数据提供者代码:229发生0次(s)描述: 错误序号:1消息:对象'proc_MSS_CrawlAdmin',数据库'Search_Service_Application_new_DB_c7e2bfdba8e94ae7b1b039aedb665796',
架构'dbo'。,Class:14,Number:229,State:5   上的EXECUTE权限被拒绝在System.Data.SqlClient.SqlConnection.OnError(SqlException异常,Boolean breakConnection,Action`1 wrapCloseInAction)

  在System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj,Boolean callerHasConnectionLock,Boolean asyncClose)

  在System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior,SqlCommand cmdHandler,SqlDataReader dataStream,BulkCopySimpleResultSet bulkCopyHandler,TdsParserStateObject stateObj,Boolean& dataReady)

  在System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds,RunBehavior runBehavior,String resetOptionsString,Boolean isInternal,Boolean forDescribeParameterEncryption,Boolean shouldCacheForAlwaysEncrypted)

   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior,RunBehavior runBehavior,Boolean returnStream,Boolean async,Int32 timeout,Task& task,Boolean asyncWrite,Boolean inRetry,SqlDataReader ds,Boolean describeParameterEncryptionRequest)

   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior,RunBehavior runBehavior,Boolean returnStream,String method,TaskCompletionSource`1 completion,Int32 timeout,Task& task,Boolean& usedCache,Boolean asyncWrite,
Boolean inRetry)

   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion,String methodName,Boolean sendToPipe,Int32 timeout,Boolean& usedCache,Boolean asyncWrite,Boolean inRetry)

  在System.Data.SqlClient.SqlCommand.ExecuteNonQuery()

  在Microsoft.Office.Server.Data.SqlSession.ExecuteNonQuery(SqlCommand命令)

  在Microsoft.Office.Server.Search.ManagedSqlSession.ExecuteNonQuery()
EVent 1357

A database error occurred. Source: .Net SqlClient Data Provider Code: 229 occurred 0 time(s) Description:  Error ordinal: 1 Message: The EXECUTE permission was denied on the object 'proc_MSS_CrawlAdmin', database 'Search_Service_Application_new_DB_c7e2bfdba8e94ae7b1b039aedb665796', schema 'dbo'., Class: 14, Number: 229, State: 5    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.Office.Server.Data.SqlSession.ExecuteNonQuery(SqlCommand command)
   at Microsoft.Office.Server.Search.ManagedSqlSession.ExecuteNonQuery() EVent 1357

我已完成以下操作:


  •  用新dbs创建新的SSA - 无变化
  •  所有搜索组件都有绿色复选标记

推荐答案

你做了很多分析boddy Kudos !!,我希望那些来到这个论坛的所有问题应该是这样的...非常好的分析。

你能试一试,让我知道......:)

禁用LoopBackR equest在注册表中。为此,请按照我的指示操作:


  1. 转到命令窗口并键入regedit.exe
  2. 一旦打开注册表编辑器,只需导航到"HKEY_LOCAL_MACHINE \SYSTEM \ CurrentControlSet \ Control \ Lsa"
  3. 右键单击"Lsa"并创建一个新的32位DWORD值
  4. 将其重命名为" DisableLoopbackCheck" (注意:您无法实际重命名。因此,一旦创建了DWORD值,直接粘贴/键入"DisableLoopbackCheck"。
  5. 然后再将"DisableLoopbackCheck"的值修改为"1"
  6. 关闭注册表编辑器。
  7. 现在开始抓取内容。
  1. Go to command window and type regedit.exe
  2. Once opened the registry editor, just navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa"
  3. Right click on "Lsa" and create a new 32bit DWORD value
  4. Rename it as "DisableLoopbackCheck" (Note: you cannot rename it actually. so, once created the DWORD value, directly paste/type as "DisableLoopbackCheck".
  5. Then again modify the value of "DisableLoopbackCheck" as "1"
  6. Close the registry editor.
  7. Now start to crawl the content.


希望这有帮助......

---- -------------------------------------------------- -------------------------------------------------- -

请不要忘记"标记回复作为答案 "
如果他们帮助,还设置"喜欢",这对我们来说是一个促进博客$ b的推动力$ b
J

Please don't forget to "mark the replies as answers" if they helped, also set "like" it’s a boost for us to keep blogging J





这篇关于搜索服务无法正常工作 - 各种错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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