When I was working on getting the search working on my SharePoint 2010 Farm I ran into 2 problems. Both problems caused the same error:
Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has “Full Read” permissions on the SharePoint Web Application being crawled.
This is quite a clear error, but there might be a couple of solutions that are less obvious.
Disable loopback check.
- Click Start, click Run, type regedit, and then click OK
- In Registry Editor, locate and then click the following registry key:
- Right-click Lsa, point to New, and then click DWORD Value
- Type DisableLoopbackCheck, and then press ENTER
- Right-click DisableLoopbackCheck, and then click Modify
- In the Value data box, type 1, and then click OK
- Quit Registry Editor, and then restart your computer
Specifically when you’re crawling the people search (sps). Make sure that the default content access account (crawl account) has access to the User Profile Service
- Open the Central Administration and go to Application Management
- Click Manage service application in the Service Application section
- Select the User Profile Service Application and click on Administrators
- Add your content access account and give it the Retrieve People Data for Search Crawlers permission
Hope this helps you!