Service restarts on some hosts.
Looked into automating some periodic restarts. One app vendor suggests using SQL Agent. I donâ€™t really like the idea of using SQL Agent for non-database tasks. Found an interesting exercise in CMD batch file writing in a Microsoft script to restart IIS services. Powershell is another possibility.
Problems with SharePoint search service.
Greg worked on the problem, but emailed me on his day off that the problem continues. Given that the message indicates â€œaccess denied,â€ it seems worthwhile to verify that the gatherer is running with sufficient credentials. But starting with a google search, I found:
I checked SharePoint Central Administration, App Management, and â€œManage Search Service,â€ but I receive an error indicating that the search service isnâ€™t running. I have verified that the â€œWindows SharePoint Services Searchâ€ service is running, and checked the account under which it is running.
Checking logs at C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12LOGS. Looking at the log file corresponding to the warning event time, SHAREPOINT1-20090225-1002.log. Looks like a search process kicked off at 10:16:38.
There are some errors indicating â€œNo administration site found for SSP SharedServices.â€ But later, the gather is committing changes to the admin site. Nothing leaps out at me, here. Except a ton of errors like this:
02/25/2009 11:32:55.43Â Â Â Â w3wp.exe (0x0E58)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â 0x0AF4Â Â Â Windows SharePoint ServicesÂ Â Â Â Â Â GeneralÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â 8e1fÂ Â Â HighÂ Â Â Â Â Â Â Failed to find the XML file at location ’12TemplateFeaturesBatchSiteManagerLinksfeature.xml’
I also see a message about the Search Service being disabled. It now makes sense to me that the normal windows indexing service is disabled, and thus the â€œManage Search Serviceâ€ option is disabled. I found the Microsoft Search Server program group, but when I launch the Administrator app, I see an icon appear briefly on the task bar, and then it vanishes. Checking the command-line, I see it runs a STSADM.EXE command. Perhaps I can run that command from a command prompt.
Z:>”C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12BINSTSADM.EXE” -o osearch -action showdefaultsspadmin
‘showdefaultsspadmin’ action failed. Additional information: The site with the id [GUI] could not be found.
So maybe there really is a problem with the administration site. I tried stopping and restarting the Windows SharePoint Services Search service, but that didnâ€™t appear to change anything.
However, it is clear that I donâ€™t know much about Microsoft Search Service and the way it has been deployed.
Getting started with Search Server 2008
File locked issue
Examining a reported locked file, I see that it is held open by sa_ss_srchserv. Related to our search problem above?
Problem with Canon Printer Job codes
Printer is installed correctly, and â€œGet Device Statusâ€ successfully returns information, including Job Code setting. Created footprint 43362 from email thread.
Back to restarting services
A one-line powershell script:
Run as a scheduled task in the early morning. Found some good pointers on starting a powershell script.