SharePoint User Group UK

Share the knowledge!

Welcome to SharePoint User Group UK Sign in | Join | Help
in
Home Blogs Forums Photos Files Roller

Search Service Error

Last post 10-03-2008, 11:28 AM by Cimares. 7 replies.
Sort Posts: Previous Next
  •  08-04-2008, 5:16 PM 12628

    Search Service Error

    Hi,

    We are having some trouble with our search service just now with the following errors:

    Your search cannot be completed because of a service error. Try your search again or contact your administrator for more information.

    http://ssp1/ssp/admin/_layouts/searchsspsettings.aspx
    Propagation status: Query server not responding (TDCSMOSSP03)


    Content index on Portal_Content could not be initialized. Error The content index is corrupt.   0xc0041800.Component: 953c2910-529d-4b6e-9faf-36bf17699a6b

    Content index on AnchorProject could not be initialized. Error The content index is corrupt.   0xc0041800.Component: 453f1ca4-56c3-47c9-a8d9-1270aa6d8838

    Any suggestions will be welcome.
    Many thanks
    Hannah

    Hannah Scott
    http://bytelab.blogspot.com
  •  08-05-2008, 12:19 PM 12696 in reply to 12628

    Re: Search Service Error

    Hi Hannah,

     

    Ok there are 2 places I would start:

    1. Go to SharePoint Central admin > Application Management > Manage the search service and check what that says - are there any errors?

    2. How many servers have you got in the farm and what are there roles? Central admin > Operations > Services on server

     

    Hopefully that information should give us a better idea of what you have an where exactly the issue lies.

    Jenny


    http://www.sharepointblogs.com/jennyeverett
  •  08-07-2008, 10:04 AM 12799 in reply to 12696

    Re: Search Service Error

    Hi Jenny,

    Our farm is a MOSS SP1 3x server environment. The server roles are as follows:

    MOSS01 - Index Server
    MOSS02 - Web Server
    MOSS03 - Query Server & Central Admin

    The error is as above (Propagation status: Query server not responding (MOSS03) ) - This is the same error for each of the SSPs (we have 4). Prior to this everything was running smoothly.

    I understand that obviously the query server is not working - but im just really hesitant to start mucking around with the services. There are quite a few posts on the web about this but none certain of the answer. Need to get this resolved though sice search is not working and its affecting other stuff like audience targeting etc as well.

    Thanks for the help!
    Hannah





    Hannah Scott
    http://bytelab.blogspot.com
  •  09-05-2008, 9:03 AM 13457 in reply to 12628

    Re: Search Service Error

    Hey Hannah,

    What have you tried so far?

    Have you reset crawled content & run the crawls again?
    Removed and reinstalled the search service?


    MCTS WSS3.0
    MCTS MOSS2007
    blog:
    http://mosscentral.blogspot.com/
  •  09-15-2008, 5:33 PM 13722 in reply to 13457

    Re: Search Service Error

    Hi Steve,

    I have set up a new SSP with some test web apps and the search and all other functionality is working as it should. Looks like the existing SSPs are corrupted somehow - the trouble is this has affected the log files as well so i can't examine any errors.

    It's so frustrating! Looks like we'll have to recreate all the SSPs and then redeploy all the customisations.

    Hannah

    Hannah Scott
    http://bytelab.blogspot.com
  •  09-27-2008, 4:22 PM 14010 in reply to 13722

    Re: Search Service Error

    Hi

    I have been going around in circles from error to error but finally by recreating the index propagation location and then reconnecting each SSP to the index server i have finished with 2 SSPs working and 2 SSPs not working.

    The two SSPs that don't work are stuck on the propagation status: 'Propagating to new query server MOSS01'

    They have been showing this message for a couple of hours now. Both are also currently working their way through a full crawl.

    Has anyone else experienced this state? Im not sure if they are corrupt or if they are will start functioning again?

    Thanks
    Hannah

    Hannah Scott
    http://bytelab.blogspot.com
  •  09-29-2008, 2:36 PM 14032 in reply to 14010

    Re: Search Service Error

    This is now fixed. For anyone interested this is what i did...

    To resolve the search and related errors i follwed these steps:

    Attempt 1

    1. Reboot Index server
    2. Reboot Query server
    3. Propagate the Index file to a new location using STSADM
      stsadm -o osearch -propagationlocation <directory>
    Result: Index moved to new location sucessfully. Search not working.

    Attempt 2
    1. Start the Indexing service on the MOSS Index server using Computer Management / Services
    2. Stop the Search Services (Index & Query) using STSADM
      stsadm -o osearch -action stop
    3. Start the Search Services (Index & Query) using STSADM
      stsadm -o osearch -action start
    Result: Search not working.

    Attempt 3
    1. Reset the Indexer in each SSP to the Index server via Central Admin SSP Proerties page
    2. Add the process accounts to each SSP on the Edit Properties page - http://ssp/admin/_layouts/searchsspsettings.aspx 
    3. Set the security for C:\Windows\Tasks to read & write for the WSS_WPG account:
      1. On the Index server make sure that you can see the Sharing and Security tab in the Windows tasks folder (usually C:\Windows\Tasks) by open a command prompt and type attrib –s %windir% \tasks.
      2. Browse to C:\Windows\Tasks in explorer, right click and select properties.  Grant the WSS_WPG group Read and Write permissions on the tasks folder.
      3. Open a command prompt and type attrib +s %windir% \tasks to reset the tasks folder to its default view.
    4. Delete the content index in each SSP
    5. Start a full crawl in each SSP
    Result: Search now returning results correctly in 2/4 SSPs. MOSS event logs are now populating.
    • SSP1 status - Propagating to new Query server. Search index status 'Computing ranking'. Search not working. When I manually started a crawl, there's a pop up message saying 'Crawling might be paused because a backup or an index move operation is in progress.  Are you sure you want to resume this crawl?' Selected 'Yes'.
    • SSP2 status - Propagating to new Query server - Search not working
    • SSP3 status - Propagating - Search is working
    • SSP4 status - Idle - Search is working
    Attempt 4
    1. Reboot Index & Query servers
    2. Stop the Search Services (Index & Query) using Central Administration
    3. Recreate the Search Services (Index & Query) using Central Administration
    4. Reset the Indexer in each SSP to the Index server
    5. Set the security for C:\Windows\Tasks to read & write for the WSS_WPG account
    6. Reset the content index in each SSP
    7. Start a full crawl in each SSP
    Result: Search working in all SSPs.

    One remaining error in the event log is now: Tracing Service failed to create the trace log file directory 'D:\MOSS\12\LOGS'.  Error 3: The system cannot find the path specified.

    *******************************************************

    General Error List

    Some of the errors i have worked through are listed here:
    • Your search cannot be completed because of a service error. Try your search again or contact your administrator for more information
      • Reassociating the indexer and search service with the ssp under application management  on the central administration site
    • Content index on Portal_Content could not be initialized. Error The content index is corrupt.
    • Query server not responding
    • Could not create a database session
    • Error trying to access the SSP search settings page: http://ssp/admin/_layouts/searchsspsettings.aspx - 403 FORBIDDEN
    • Error when you try to edit the content source schedule in Microsoft Office SharePoint Server 2007: "Access is denied"
      • http://support.microsoft.com/kb/926959
        To work around this issue, you must add the WSS_WPG group to the Tasks folder. To do this, follow these steps:
        1. Use an account that has administrative permissions to log on to the computer that is running the Office SharePoint Server 2007 indexing service.
        2. Click Start, click Run, type cmd, and then click OK.
        3. At the command prompt, type the following command, and then press ENTER:
          attrib –s %windir%\tasks
          Note In this example, %windir% is the path of the Windows folder. For example, the path can be C:\Windows.
          Note If Windows Explorer is open when you make this change, you will not see the extra tab in Windows Explorer. If Windows Explorer is already open, close and then reopen it before you perform step 4.
        4. In Windows Explorer, right-click the Tasks folder, and then click Properties.
        5. In the Tasks Properties dialog box, click the Security tab, and then click Add
        6. In the Select Users, Computers, or Groups dialog box, type WSS_WPG in the Enter object names to select box, and then click OK.
        7. Grant the following permissions for the WSS_WPG account, and then click OK:   Read & Write
        8. Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
        9. In Internet Information Services (IIS) Manager, right-click ComputerName (local computer), click All Tasks, and then click Restart IIS.
        10. Click Start, click Run, type cmd, and then click OK.
        11. At the command prompt, type the following command, and then press ENTER:
          attrib +s %windir%\tasks
          Note This resets the Tasks Property back to the default view.
    • The search service is currently offline. Visit the Services on Server page in SharePoint Central Administration to verify whether the service is  enabled. This might also be because an indexer move is in progress.
      • http://www.sharepointblogs.com/jasonmedero/archive/2008/09/15/moss-2007-error-when-moving-indexing-role-the-search-service-is-currently-offline-visit-the-services-on-server-page.aspx
        1. Stop and start search services on new index server and all servers running the query role
        2. Then restarted the search service via central administration under operations tab>>Services
        3. Went into Services.msc and found the Office Search Service and restarted it manually
        4. Checked to make sure that the search service account had correct rights to SQL.
      • None of the above worked so...
        1. Going into the SSP settings (clicking on SSP administration not the SSP link itself) within the left quick launch navigation from within central administration.
        2. Selecting the dropdown arrow next to the SSP where I was having the search issue
        3. Select edit properties
        4. Within the properties screen of the SSP look for the “Process accounts”
        5. Make sure that your search account is in there!
    • Test Shared Service Provider stuck on 'Unprovisioning' after trying to delete it and associated databases.
      • http://prequest01.wordpress.com/2008/08/16/unable-to-delete-shared-services/
        1. Login to SQL server.
        2. Open SQL Management Studio and expend Databases.
        3. Expand Configuration Database & Tables.
        4. Opened table for dbo.object.
        5. Executed following query in query analyzer:  SELECT * FROM [MOSS_CFG_CA_01].[dbo].[Objects]where name like ‘Name of the Shared Services’. 
        6. Copy the ID of object referenced in objects table of configuration database.
        7. Open command prompt and changed directory to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN> and executed following command to delete the Shared Services using the ID which was copied: Stsadm -o deleteconfigurationobject -id “id retrieved from object table”
    • The search request was unable to connect to the Search Service


    -----------------------------------
    Hannah Scott
    http://bytelab.blogspot.com



    Hannah Scott
    http://bytelab.blogspot.com
  •  10-03-2008, 11:28 AM 14150 in reply to 14032

    Re: Search Service Error

    Hannah, thanks very much for posting your findings, Hopefully this will help others with similar problems.

    Well done on getting it fixed!


    www.myfatblog.co.uk
    MCTS: WSS 3.0
    MCTS: MOSS 2007
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems