andrewt2m
  • andrewt2m
  • 100% (Exalted)
  • Advanced Member Topic Starter
2 years ago
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:



6398
16
1
12
0
0x2000000000000000

557233


Application
SQL1.domain.local



Microsoft.Office.Server.UserProfiles.LMTRepopulationJob
0ff30af9-d371-414c-a8a3-d83e7615133e
Unexpected exception in FeedCacheService.IsRepopulationNeeded: Cache cluster is down, restart the cache cluster and Retry.. (Correlation=5da815a0-6ead-5011-b9d2-ed0634c800e6)

Sponsor

Want to thank us? Use: Patreon or PayPal or Bitcoins: bc1q4whppe29dw77rm4kv4pln0gqae4yjnxly0dny0hky6yhnafukzjsyrsqhk

All opinions expressed within these pages are sent in by members of the public or by our staff in their spare time, and as such do not represent any opinion held by sircles.net Ltd or their partners.


andrewt2m
  • andrewt2m
  • 100% (Exalted)
  • Advanced Member Topic Starter
2 years ago
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
andrewt2m
  • andrewt2m
  • 100% (Exalted)
  • Advanced Member Topic Starter
2 years ago
Sorry I was being really dumb and running this in the SharePoint powershell instead of the AppFabric one 😣
andrewt2m
  • andrewt2m
  • 100% (Exalted)
  • Advanced Member Topic Starter
2 years ago
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.