| Posted by: andrewt2m - 11 January 2022 11:13:28 |
|---|
|
We are having issues with searching on our SharePoint app - is this related to it?
Log Name: Application
Source: Microsoft-SharePoint Products-SharePoint Foundation
Date: 11/01/2022 08:55:00
Event ID: 6398
Task Category: Timer
Level: Critical
Keywords:
User: domain\ADMIN
Computer: SQL1.domain.local
Description:
The Execute method of job definition Microsoft.Office.Server.UserProfiles.LMTRepopulationJob (ID 0ff30af9-d371-414c-a8a3-d83e7615133e) threw an exception. More information is included below.
Unexpected exception in FeedCacheService.IsRepopulationNeeded: Cache cluster is down, restart the cache cluster and Retry.. (Correlation=5da815a0-6ead-5011-b9d2-ed0634c800e6)
Event Xml:
|
| Posted by: andrewt2m - 11 January 2022 11:38:24 |
|---|
| It seems this may be a permissions problem, but when we try and add them, we see: Grant-CacheAllowedClientAccount : Object reference not set to an instance of an object. At line:1 char:1 + Grant-CacheAllowedClientAccount -Account "domain\admin" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Grant-AFCacheAllowedClientAccount], NullReferenceException + FullyQualifiedErrorId : System.NullReferenceException,Microsoft.ApplicationServer.Caching.Commands.GrantAFCacheA llowedClientAccountCommand |
| Posted by: andrewt2m - 11 January 2022 11:58:03 |
|---|
| Sorry I was being really dumb and running this in the SharePoint powershell instead of the AppFabric one ](*,) |
| Posted by: andrewt2m - 11 January 2022 12:03:04 |
|---|
| Just as an aside, this was all changed by a service pack that was run a while back on Windows and when logging into AppFabric PowerShell for the first time since the Search on SharePoint had been broken I saw: File C:\Program Files\AppFabric 1.1 for Windows Server\PowershellModules\DistributedCacheAdministration\Microsoft.ApplicationServer.Caching.ManagementPS.format.ps1xml is published by CN=Microsoft Corporation, OU=MOPR, O=Microsoft Corporation, L=Redmond, S=Washington, C=US and is not trusted on your system. Only run scripts from trusted publishers. [V] Never run [D] Do not run [R] Run once [A] Always run [?] Help (default is "D"): Do you want to run software from this untrusted publisher? File C:\Program Files\AppFabric 1.1 for Windows Server\PowershellModules\DistributedCacheAdministration\DistributedCacheAdministration.psm1 is published by CN=Microsoft Corporation, OU=MOPR, O=Microsoft Corporation, L=Redmond, S=Washington, C=US and is not trusted on your system. Only run scripts from trusted publishers. [V] Never run [D] Do not run [R] Run once [A] Always run [?] Help (default is "D"): Perhaps it is related? We allowed them to run as they appeared to be Microsoft scripts anyhow. |