Link to home
Create AccountLog in
Avatar of Member_2_6492660_1
Member_2_6492660_1Flag for United States of America

asked on

SharePint 2016 Search Service Event 6398

SharePoint 2016  Farm    2 Nodes
Windows 2019 Data Center

I recently changed Node 1 to be Front End  Role

Now on Node 2 I get this event over and over again


Log Name:      Application
Source:        Microsoft-SharePoint Products-SharePoint Foundation
Date:          12/21/2019 5:40:03 PM
Event ID:      6398
Task Category: Timer
Level:         Critical
Keywords:      
User:          OUR\spfarm
Computer:      TGCS027-N2.our.network.tgcsnet.com
Description:
The Execute method of job definition Microsoft.Office.RecordsManagement.Preservation.PreservationJobDefinition (ID e908212d-9e9a-4bd4-a777-fa00693cd66b) threw an exception. More information is included below.

The search request was unable to connect to the Search Service.. (Correlation=afcc239f-385c-e0f1-2cc5-90894957dc69)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6fb7e0cd-52e7-47dd-997a-241563931fc2}" />
    <EventID>6398</EventID>
    <Version>16</Version>
    <Level>1</Level>
    <Task>12</Task>
    <Opcode>0</Opcode>
    <Keywords>0x2000000000000000</Keywords>
    <TimeCreated SystemTime="2019-12-21T22:40:03.018286200Z" />
    <EventRecordID>43000</EventRecordID>
    <Correlation ActivityID="{afcc239f-385c-e0f1-2cc5-90894957dc69}" />
    <Execution ProcessID="8436" ThreadID="5892" />
    <Channel>Application</Channel>
    <Computer>TGCS027-N2.our.network.tgcsnet.com</Computer>
    <Security UserID="S-1-5-21-3054588571-1341459584-784128302-3142" />
  </System>
  <EventData>
    <Data Name="string0">Microsoft.Office.RecordsManagement.Preservation.PreservationJobDefinition</Data>
    <Data Name="string1">e908212d-9e9a-4bd4-a777-fa00693cd66b</Data>
    <Data Name="string2">The search request was unable to connect to the Search Service.. (Correlation=afcc239f-385c-e0f1-2cc5-90894957dc69)</Data>
  </EventData>
</Event>

Open in new window

Avatar of Walter Curtis
Walter Curtis
Flag of United States of America image

(Quick answer, more to come as needed)

Is either node configured with min role to be search. In otherwords, is node two set as 'AppServer + Search' minrole.

And node one should be 'Frontend + Distributed Cache' min role.

Let me know if that is the way they are set up.

Thanks,
Avatar of Member_2_6492660_1

ASKER

Walter,

PS C:\Users\spadmin> get-spserver

Address                        Role                           Status
-------                        ----                           ------
InternalRelay.TGCSNET.COM      Invalid                        Online
TGCS014-N1-SQLS                Invalid                        Online
TGCS027-N1                     WebFrontEndWithDistributedC... Online
TGCS027-N2                     Application                    Online


PS C:\Users\spadmin> get-spserver | fl


Address                                           : InternalRelay.TGCSNET.COM
IsSqlAzure                                        : False
EncodedServerId                                   : 593606
CacheHostApproachingThrottlingThresholdPercentage : 85
ServiceInstances                                  : {}
Role                                              : Invalid
TypeName                                          : Server
CompliantWithMinRole                              :
CanUpgrade                                        : False
IsBackwardsCompatible                             : True
NeedsUpgradeIncludeChildren                       : True
NeedsUpgrade                                      : True
UpgradeContext                                    : Microsoft.SharePoint.Upgrade.SPUpgradeContext
ShouldDeferUpgradeActions                         : False
Name                                              : InternalRelay.TGCSNET.COM
DisplayName                                       : InternalRelay.TGCSNET.COM
Id                                                : 9794b79e-7832-4d20-9d99-c74968390ec6
Status                                            : Online
Parent                                            : SPFarm Name=SharePoint_Config
Version                                           : 18477
DeploymentLocked                                  : False
Properties                                        : {}
Farm                                              : SPFarm Name=SharePoint_Config
UpgradedPersistedProperties                       : {}

Address                                           : TGCS014-N1-SQLS
IsSqlAzure                                        : False
EncodedServerId                                   : 973010
CacheHostApproachingThrottlingThresholdPercentage : 85
ServiceInstances                                  : {SHAREPOINT}
Role                                              : Invalid
TypeName                                          : Server
CompliantWithMinRole                              :
CanUpgrade                                        : False
IsBackwardsCompatible                             : True
NeedsUpgradeIncludeChildren                       : True
NeedsUpgrade                                      : True
UpgradeContext                                    : Microsoft.SharePoint.Upgrade.SPUpgradeContext
ShouldDeferUpgradeActions                         : False
Name                                              : TGCS014-N1-SQLS
DisplayName                                       : TGCS014-N1-SQLS
Id                                                : 343b6eba-2a8e-43cf-8c9c-c98c5d8ed8d2
Status                                            : Online
Parent                                            : SPFarm Name=SharePoint_Config
Version                                           : 62547
DeploymentLocked                                  : False
Properties                                        : {}
Farm                                              : SPFarm Name=SharePoint_Config
UpgradedPersistedProperties                       : {}



Do I need to add the search role to Node 2?
ASKER CERTIFIED SOLUTION
Avatar of Walter Curtis
Walter Curtis
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Walter

Now Node 2 is ApplicationwithSearch Role

But when I go the Configure Service Application Association window I still to not see the Search Service

Am I missing a step here?
If you have not already done so, you will need to create the search service.

In central admin, go to 'Configuration Wizard'. That is found in the far left navigation, should be the button or link on the bottom.  That will run and when the page opens you will see several Service Applications can add. If search is unchecked, check the box and run the wizard. That should set up search for you.

If the box is checked, search should be visible also in Central Admin.
Walter,

I discovered that late last night on how to get the search service I needed to create one and I did.

I am having some other errors  displaying but I am going to clear the logs and start from today to see what happens.

I had to remove the distributed cache service to change the account that was assigned it had too many privilege's

Will post another question if events pop up again.

Thank you for your help

Tom
Really glad that helped. Have a great holidays.