環境描述sql
Windows 2012 R2,SharePoint 2013(沒有sp1補丁),sql server 2012session
錯誤描述dom
搜索服務正常,可是爬網一直在Crawling Full,可是爬不到任何東西,並且不會中止,爬了一宿什麼都沒有爬到:fetch
爬網不止,爬了一宿什麼都沒有爬到,錯誤以下:ui
去15/logs裏面找日誌; Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|domain\user, ClaimsCount=125 b5b2d49c-feb7-e08b-ecf7-28204da68508
UserAgent not available, file operations may not be optimized. at Microsoft.SharePoint.SPFileStreamManager.CreateCobaltStreamContainer(SPFileStreamStore spfs, ILockBytes ilb, Boolean copyOnFirstWrite, Boolean disposeIlb) at Microsoft.SharePoint.SPFileStreamManager.SetInputLockBytes(SPFileInfo& fileInfo, SqlSession session, PrefetchResult prefetchResult) at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferFactory.CreateFromDocumentRowset(Guid databaseId, SqlSession session, SPFileStreamManager spfstm, Object[] metadataRow, SPRowset contentRowset, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres) at Microsoft.SharePoint.SPSqlClient.GetDocumentContentRow(Int32 rowOrd, Object ospFileStmMgr, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres...
The crawler could not communicate with the server. Check that the server is available and that the firewall access is configured correctly.
事件查看器報錯; WebHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/63363381 Exception: System.ServiceModel.ServiceActivationException: The service '/90ac4adbb96a4e89892b2ad7ab02da51/MetadataWebService.svc' cannot be activated due to an exception during compilation. The exception message is: The farm is unavailable.. ---> System.InvalidOperationException: The farm is unavailable. at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceManager.get_Local() at Microsoft.SharePoint.IdentityModel.SPServiceIssuerNameRegistry..ctor() at Microsoft.SharePoint.SPServiceHostOperations.Configure(ServiceHostBase serviceHost, SPServiceAuthenticationMode authenticationMode) at Microsoft.SharePoint.Taxonomy.MetadataWebServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) --- End of inner exception stack trace --- at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity) Process Name: w3wp Process ID: 6004.net
解決方法日誌
事件查看器錯誤,參考下面link解決,可是沒有解決爬網的問題:orm
通過一天的掙扎,終於決定刪掉搜索服務,重建!通過重建,發現報錯更嚴重了,搜索主機控制服務連不上了;而後,查看搜索主機控制服務,發現和搜索服務運行帳號不是一個,更新成一個之後,搜索服務正常了,爬網也沒有問題了!blog
其餘參考
解決過程當中,發現其餘人遇到過相似問題,跟本身緣由不一樣,備註下面給你們一個參考;
http://blog.csdn.net/abrahamcheng/article/details/11216087
******************************************************************************
做者:霖雨 出處:http://www.cnblogs.com/jianyus 本文版權歸 霖雨和博客園共有,歡迎轉載,但請註明出處。