Warning to non-ubergeeks: Here we go again.
Our Windows SharePoint Services server faith5 was not yielding any search results, so I checked logs and found this error:
Retry of query machine ‘FAITH5′ has failed with error: The system cannot find the file specified. 0×80070002. It will be retried again in 30 seconds. Component: d7211c6d-9cab-4268-81f7-5ef3c8455bf8
Searching for numerous queries produced nothing. I finally found the following information from someone who apparently had the same problem…in Czech Republic:
O lala. Tak jsem si s tím trochu pohrál a pustil jsem se do toho “po administrátorsku”.
) Odisnstalovat jsem tu vyhledávací službu příkazem:
stsadm.exe -o spsearch -action stop
a znova ji nainsaloval:stsadm.exe -o spsearch -action start
Následně jsem jí přes Centrální správu nastavil uživatelské přístupy. Nicméně výsledek byl stejný. Stále stejná chyba. Kouknul jsem se teda na stav služby přes příkaz:
stsadm.exe -o spsearch -action list
a zjistil jsem, že v databázích obsahu indexovaných serverem mám pouze databázi SharePoint_AdminConted_[sid] a vůbec tam není databáze obsahu. Přidal jsem jí tam tedy zadáním příkazu:stsadm.exe -o spsearch -action attachcontentdatabase -databasename WSS_Content
Po zadání tohoto příkazu chyba zmizela a vyhledávání začalo fungovat. Bohužel ale s tím, že se nic nenacházelo. Výsledek vyhledávání byly včdycky prázdný. Došlo mi, že asi není zindexovaná vyhledávací databáze. Spustil jsem tedy příkaz:
stsadm.exe -o spsearch -action fullcrawlstarta hle, po chvíli hledání fungovalo a začalo vyhledávat. Hurá! Hurá!
![]()
Takže zatím to běží, jsem zvědav jak dlouho to vydrží. Uvidíme zítra.
) [Source]
I said “apparently” for I know nothing of Czech. It wasn’t offered in my high-school as a language elective. But this guy definitely made progress (note the smiley faces, and “Hurá!” looks suspiciously exuberant). After wishing for an available Babelfish and backing up the WSS database, I launched my expedition into the world of WSS search recovery.
Based on the commands listed, I decided to start with stopping the service and trying a restart. I checked here for stsadm.exe location. “stsadm.exe -o spsearch -action stop” actually uninstalled the search function on faith5, which I expected from my earlier pokings. “stsadm.exe -o spsearch -action start” threw an error, so I was ready for more info, in English preferably. This discussion on Microsoft.com communities was the final link I needed to restart the search service and attach it to our MSDE (SQL Server Express Edition) database. Back to my Czech friend for the “stsadm.exe -o spsearch -action fullcrawlstart” command, and we’re in business!
Thanks, axl! Here’s my Czech rescuer’s avatar:
All quiet on the home front!
/ubergeek
August 13, 2007 at 2:20 pm
Hi, I was wondering how did u fixed the error throw by “stsadm.exe -o spsearch -action start” ?
Thanks