Home > Uncategorized > FAST Search crawl doesnt crawl content

FAST Search crawl doesnt crawl content

If the crawl is running, but your crawls do not finish and you do not get results in the Crawl Log, look in the Windows Event Viewer to determine whether there is a problem. Open the Windows Event Viewer and view the log messages in Windows Logs > Application.

Fortunately event viewer had the following issue logged:

Failed to connect to ckollipara-lt.ba-insight.net:13391 Failed to initialize session with document engine: Unable to resolve Contentdistributor

After Bing found the following steps that worked like a charm:

Symptoms:

FAST and SharePoint 2010 have been working perfectly on this particular development server since installation.  Recently the content sources had stopped working and the crawl is stuck, yet nothing significant had changed on the server.

  • Content sources start crawling and never stop.
  • Manually stopping the content source crawl hangs on “Stopping” for a very long time.
  • No documents are ever actually crawled
  • Numerous errors on the SharePoint server under windows application log: ‘Failed to connect to SERVER.com:XXXX Failed to initialize session with document engine: Unable to resolve Contentdistributor‘.

Potential Cause:

During installation on development servers a self-signed certificate can be created for communication between FAST and SharePoint.  It turns out that the self-signed certificate is only valid for one year and when it expires the above problems will occur.  Unfortunately there is no mechanism making it obvious to the user that the certificate has expired, hence the potential for confusion.

Steps to validate this as a cause:

  • On the FAST Server, open the Microsoft Management Console (MMC). OnRun, type mmc or mmc.exeand hit <enter>.
  • Add the Snap-in for Certificates and choose local computer. When the Certificate store opens, check the FASTSearchCert certificate under Certificates (Local Computer) -> Personal -> Certificates.
  • If the FASTSearchCert’s Expiration date is before todays date, then the certificate has expired.

You have just validated the root cause for your problem. Please try the solution below,

Solution:

The fix is to generate and deploy new self-signed certificate and this can be achieved with the following steps:

  1. On the FAST Server, make sure the FAST Search for SharePoint & FAST Search for SharePoint Monitoring windows services are stopped.
  2. Open the Microsoft FAST Search Server for 2010 for SharePoint PowerShell on the FAST server as an Administrator.
  3. Navigate to the FAST directory (i.e. <FASTSearchFolder>\installer\scripts)
  4. Run the following command: .\ReplaceDefaultCertificate.ps1 -generateNewCertificate $true
  5. You may be asked to enter a password. Type a password and hit <enter>. Note – Keep this password handy, as it will be required in a later step.
  6. This will generate a new certificate, valid for one year in the following folder:<FASTSearchFolder>\data\data_security\cert\FASTSearchCert.pfx
  7. This certificate will need to be copied to the SharePoint server (if SharePoint is not hosted on the same server as FAST).
  8. Similarly copy the <FASTSearchFolder>\installer\scripts\SecureFASTSearchConnector.ps1script from the FAST server to the Sharepoint Server (if SharePoint is not hosted on the same server as FAST).
  9. Start the FAST Search for SharePoint & FAST Search for SharePoint Monitoring  windows services.
  10. Now the certificate needs to be loaded on the SharePoint server.
  11. On the SharePoint Server, Start –> All Programs –>Microsoft SharePoint 2010 Products –> right click on SharePoint 2010 Management Shell and Run as administrator.
  12. Navigate to the location where the SecureFASTSearchConnector.ps1 script (this script may need to be copied from the FAST server as mentioned in step 7) exist.
  13. Run the following command (userName should reflect the details of the user running the SharePoint Server Search 14 (OSearch14) windows service):.\SecureFASTSearchConnector.ps1 –certPath “path of the certificate\FASTSearchCert.pfx” –ssaName “name of your content SSA” –username “domain\username”
  14. You may be asked to enter a password. Please enter the password from step 5 and hit <enter>. Your powershell command prompt should look likethis.

Assuming there were no errors when running the PowerShell scripts the SharePoint server certificate has been deployed and will be valid for another year. The content sources should begin working normally again and crawls should complete succeesfully.

Thought that would be end of my issues then got hit by another one:

Got hit by:

The FAST Search backend reported warnings when processing the item. Document conversion failed: ;Customer-supplied command failed:

Thought would be hard but when you have BING things are easy:

– Provide ‘Full Control’ rights on the ‘%FASTSEARCH%\bin’ and ‘%FASTSEARCH%\tmp’ folder for the user running FAST Search for Sharepoint 2010.

To set permissions for files and folders, follow these steps:
– In Windows Explorer, right-click the file or folder you want to work with.
– From the pop-up menu, select Properties, and then in the Properties dialog box click the Security tab.
– Users or groups that already have access to the file or folder are listed in the Name list box. You can change permissions for these users and groups
by doing the following:
– Select the user or group you want to change
– Use the Permissions list box to grant or deny access permissions

Finally if Query cannot connect and throws error “The search request was unable to connect to the Search Service”  do the following:

This section describes how to transfer a Microsoft SharePoint Server 2010 STS certificate (MOSS_STS) from SharePoint Server 2010 to all FAST Search Server 2010 for SharePoint query servers to provide security trimmed queries.

Security trimming, or item level security, limits user access to items in search results that the user who submitted the query is authorized to see.

On SharePoint Server 2010, export the SharePoint STS certificate:

  1. On the Start menu, click All Programs.
  2. Click Microsoft SharePoint 2010 Products.
  3. Right-click SharePoint 2010 Management Shell, and select Run as administrator.
  4. At the Windows PowerShell command prompt, type the following command(s):
    $stsCert = (Get-SPSecurityTokenServiceConfig).LocalLoginProvider.SigningCertificate
    $stsCert.Export("cert") | Set-Content  -encoding byte MOSS_STS.cer

    The file MOSS_STS.cer is created in the directory from which you run the commands.

  5. Copy MOSS_STS.cer to a location that is available to the FAST Search Server 2010 for SharePoint query servers.

On each FAST Search Server 2010 for SharePoint query server, import the SharePoint STS certificate:

  1. On the Start menu, click All Programs.
  2. Click Microsoft FAST Search Server 2010 for SharePoint.
  3. Right click Microsoft FAST Search Server 2010 for SharePoint shell and select Run as administrator.
  4. At the Windows PowerShell command prompt, browse to <FASTSearchFolder>\installer\scripts\, where <FASTSearchFolder>is the path of the folder where you have installed FAST Search Server 2010 for SharePoint, for example C:\FASTSearch. Type the following command:
    .\InstallSTSCertificateForClaims.ps1 -certPath <“full path of MOSS STS certificate”>

    Where:

    • <“full path of MOSS STS certificate”> is the path of the location where you copied the MOSS_STS.cer file.

After finishing these steps, you have completed the configuration of the FAST Search Server 2010 for SharePoint query server. Repeat for all query servers if you have more than one.

Advertisements
Categories: Uncategorized
  1. October 23, 2012 7:20 am at 7:20 am

    Have you ever considered creating an e-book or guest
    authoring on other blogs? I have a blog centered on the same ideas you discuss and would love to have you share some stories/information.
    I know my readers would value your work. If you
    are even remotely interested, feel free to send me an e-mail.

  2. October 23, 2012 7:33 am at 7:33 am

    Hello can I reference some of the material here in this entry if I reference you with a link back to your site?

  3. October 26, 2012 1:58 am at 1:58 am

    wow, this one is good, gonna use for another sport but i think it’ll be just as good, BIG thanks 🙂

  4. October 26, 2012 6:40 am at 6:40 am

    This is very fascinating, You’re an excessively skilled blogger. I’ve joined
    your feed and stay up for in quest of more of your great post.
    Also, I have shared your site in my social networks

  5. October 29, 2012 7:50 pm at 7:50 pm

    Its like you read my mind! You seem to know so much about this, like
    you wrote the book in it or something. I think that you could do with some pics to drive the message home a little bit, but other than that, this is wonderful blog.
    A fantastic read. I’ll certainly be back.

  6. November 2, 2012 3:44 pm at 3:44 pm

    Do you have any video of that? I’d like to find out more details.

  7. November 5, 2012 8:09 pm at 8:09 pm

    Hello Web Admin, I noticed that your On-Page SEO is is missing a few factors, for one you do not use all three H tags in your post, also I notice that you are not using bold or italics properly in your SEO optimization. On-Page SEO means more now than ever since the new Google update: Panda. No longer are backlinks and simply pinging or sending out a RSS feed the key to getting Google PageRank or Alexa Rankings, You now NEED On-Page SEO. So what is good On-Page SEO?First your keyword must appear in the title.Then it must appear in the URL.You have to optimize your keyword and make sure that it has a nice keyword density of 3-5% in your article with relevant LSI (Latent Semantic Indexing). Then you should spread all H1,H2,H3 tags in your article.Your Keyword should appear in your first paragraph and in the last sentence of the page. You should have relevant usage of Bold and italics of your keyword.There should be one internal link to a page on your blog and you should have one image with an alt tag that has your keyword….wait there’s even more Now what if i told you there was a simple WordPress plugin that does all the On-Page SEO, and automatically for you? That’s right AUTOMATICALLY, just watch this 4minute video for more information at. Seo Plugin

  8. December 27, 2012 2:24 am at 2:24 am

    Another important place you search for grants for single mothers
    is grants. The Public Housing Agency (PHA) Housing Choice Voucher.
    The HUD does not actually extend home loans for single moms, but it has programs in position that single mothers
    could take advantage of. Department of Housing and Urban Development could be a solution that could ease the responsibility to the
    home owner as well as the renter when it comes to not just staying inside your
    present home, but the ability to generate new living arrangements.
    Also, there is a lot of other things that should be accomplished by single parents.

  9. May 15, 2014 2:04 pm at 2:04 pm

    At the time of purchasing this product, make it sure you are consulting the right agency.
    Derma – Quest products are tested by them to make sure that they will give one of the best results.
    It contains a conditioning serum with a small brush from which you can treat your lashes all day long.

  10. June 29, 2014 2:11 pm at 2:11 pm

    I’m extremely impressed together wіth your writing talents and ɑlso
    with thе structure foг your blog. Іs that tҺіs ɑ paid theme օr did yоu modify іt yoսr self?
    Eitɦeг wаy keep up the nice quality writing, it’s rare tߋ look a great
    weblog lіke this оne these days..

  11. July 7, 2014 2:32 pm at 2:32 pm

    It promotes cellular regeneration and the production of
    collagen and elastin. These components are essential to skin health for the following
    reasons:. Joanna Vargas Salon, Skin Care Sanctuary is
    one of the best day spas in NYC and the only
    one that uses this unique and nourishing anti-aging serum of unsurpassed quality.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: