net stop “Office SharePoint Server Search”
net start “Office SharePoint Server Search”
net stop “Windows SharePoint Services Search”
net start “Windows SharePoint Services Search”
net stop “Windows SharePoint Services Administration”
net start “Windows SharePoint Services Administration”
net stop “Windows SharePoint Services Timer”
net start “Windows SharePoint Services Timer”
iisreset /noforce
Change location of search index
stsadm -o editssp -title TestSP1 -indexlocation f:SharePoint_Search_Index
Obtain search status
stsadm -o osearch -action list
Farm contact e-mail: admin@lendlease.com
Farm service account: domain_serviceaccount
Farm performance level: PartlyReduced
*USATL01MT241:
Status: Online
Role: Index
USATL01MT243:
Status: Online
Role: Query
Enable the SharePoint search service
stsadm -o osearch -action start -role Index -farmserviceaccount
h_Index
Move the MOSS search index to a new drive
H:>stsadm -o editssp -title MOSS_SP1_SSP -indexlocation F:SharePoint_Search_In
dex
SharePoint search perpetually in "stopping" mode
Run these commands:
stsadm -o osearch -action stop
stsadm -o osearch -action start -role Index
Forcibly kill the Sharepoint Search service
taskkill /F /IM mssearch.exe /T
Find the database name that content db GUID is referring to
Execute the following query when you are connected to the SharePoint config database:
Select ID, Name from objects where properties like ‘%Microsoft.SharePoint.Administration.SPContentDatabase%m_nWarningSiteCount%’
This will yeild a table with the GUID matched to the database name.
Deploying a webpart by command line
stsadm -o addsolution -filename c:tempLogViewer.wsp
stsadm -o deploysolution -name LogViewer.wsp -immediate -allcontenturls
stsadm -o execadmsvcjobs
Sharepoint Crawler: "Access is denied"
Ensure the crawl account has Read access to the web application you wish to crawl. Open Central Admin -> Application Management –> Application Security section –> Policy for Web Application. Add the default crawl user here for All Zones for each web application you want to crawl. Be sure to specify the correct web application.
(Note: Find the default content access account in your SSP under Search –> Search Settings.)