3

Windows Infrastructure team last night restarted our Lower end servers. Post re-boot we have now encountered error in 2 app server who is hosting Query and Index processing services of Search Application.

Troubleshooting Steps:

  • restarted Windows Search service 15 service
  • rebooted server

that resulted in No success. Weird thing is it hasn't effected search at all, Contents are being crawled fine and search is working as expected.

In CA-->Manage Services in Server, i see Error Stopping status.

Aside from the above troubleshooting steps I have applied community seems to advise using

Stop-SPServiceInstance -Identity

And finally:

Start-SPServiceInstance -Identity

If I would go ahead and do this, but i want to know what exactly would this cmdlet do behind the pictures.

Will my index would be wiped out? Will this malfunction my search services?

3
Stop-SPServiceInstance

This cmdlet will Stops the service instance for a service on the specified server or for the farm.

Use the Start-SPServiceInstance cmdlet to start the service instance for a service on a specific server or on the farm.

This will not wipe index

  • 1
    My Service is stuck in Error Stopping Status, but my search is working as expected. Shoudl i first stop it then start ? – allegro octopus Oct 20 '14 at 18:30
  • Yes there is no harm executing Stop even if the service is in stopped state. – Amal Hashim Oct 20 '14 at 18:31
  • Is their a technet document for the reference. – allegro octopus Oct 20 '14 at 18:34
  • 1
    Didnt work it gave following error"Invalid search service unprovisioning: application 'SearchServiceApp' still has a ready component 'in search service instance' on server " – allegro octopus Oct 20 '14 at 20:21
1

Stopping and Starting the services application on a specific services will not hurt the Search services applications.

Only draw back is, if any crawl is running then it will wait for services come online but if it take too much time( i can say 1 hour) then crawl will timed out, then it will cause issue and as per my experience(1 instance in last 5 years) where we have to rebuild the index.

So stop the crawl then do this.

I read your comment about invalid search service.....In this case you have to run this command:

psconfig.exe -cmd secureresources

Read this for more info.http://spmasters.blogspot.com/2011/10/troubleshooting-search-service-stuck-in.html

http://blog.jaey.ca/post/Get-out-of-Stopping-Status-from-SharePoint-Search2.aspx

  • Thanks for your responce Waqas, But will Psconfig in any way update my database. i am always doubtful about using psconfig commands? – allegro octopus Oct 21 '14 at 12:17
  • What are the consequences of using the following command. – allegro octopus Oct 21 '14 at 15:32
  • Also What Security will be enforced on files, folders and registry keys due to psconfig.exe -cmd secureresources – allegro octopus Oct 21 '14 at 15:39
  • it will not update the databases, This command is helpful in order to make sure that all the sharepoint resources are secure & user accounts have correct access previleges. – Waqas Sarwar MVP Oct 21 '14 at 16:21
  • Thank you i will run that command first then stop crawl and stop the service using powershell command and finally start again. – allegro octopus Oct 21 '14 at 17:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.