lunes, 23 de febrero de 2009

Search Server in Stopping state

I have found some errors when trying to stop the search server when there is a bad configuration and the crawling never ends. This is how we solved it when the service hangs in a “Stopping” state.
Errors and solutions:
1.Try to stop and restart the service:
Net stop osearch
Net start osearch
2.Try to kill the current processes
Stsadm –o osearch –action stop
Stsadm –o osearch –action start
3.Try to kill the processes from task manager. The processes will be processing by the search service user.
4.Stop the service and kill the processes (1&2) and then go to your sqlServer and open the Activity job. Kill all processes which are using your crawling user which will be the processes which are hanging your server. Then restart the service.
Hope it helps!