In my attempt to recover from a database restore to a new server I was able to get most of the functionality to work with the data that was in my restore. However Search service was not able to get connected and since it was a new install there should not have been much in the search database so it was not important enough to try and figure out the issue. So, I stopped the Foundation search service with no problem and then tried to stop the search service and it gave me the following message stating :
Removing the search service from a server must be done within the context of a search service application. To temporarily reclaim resources used by the search service, Vist the Content Sources page and select "Pause all Crawls." To unprovision
the search service from this machine, modify the topology of each search service application and remove all components from this server. Click OK to go to the Manage Service Applications page where you can select a Search Service Application to Configure.
deleted the service app and tried to reinstall the search service since this was a new install to begin with however I could never get the regular service to start correctly.
However there was no search service installed in the services section. It would not allow me to stop the service which is under the Central Administration "Manage services on server" area. I went to the Service application area and there was non listed due to the restore of the database.
My Question here is how to reset the search service to its original state without doing a new install of the software just to fix this issue. Since this may be in the configuration settings I was thinking I could go to the "C:\Program Files\Microsoft Office Servers\14.0\WebServices\SearchService" folder and fix the config file so that it allow me to create a new search service. But it does not specify any such setting of the database or service app. So I don't think this is where I should go.
Since I had no service app to start with I decided to restart the Foundation server service and it came up with another error:
A sharepoint database named WSS_Search_serverName already exist. You must supply another name for the new database.
Kind of silly since this was what the name was when I stopped the service but now it is asking me to create a new database which I thought it would find the original database and just connect to it.
Is this what anyone else experienced when they stop and start the service? Kind of interesting that it would ask me to create a new one so this is why I am thinking I need to find a way to wipe out the Search service either using powershell or some other means to set the search engine back on course.
Any help here would be appreciated.