SharePoint crawl problem, event id 2436 & 10036 and HTTP 401

I had the following warning message in the Windows application log.
Source: Office Server Search
Catagory: Gatherer
EventID: 2436
Type: Warning
Description: The start address <https://intranet.company.com> cannot be crawled.
Context: Application ‘SharedServices’, Catalog ‘Portal_Content’Details: Access is denied. Check that the Default Content Access Account has access to this content, or add a crawl rule to crawl this content. (0x80041205)

This message appears every time a crawl starts. I also can’t access my SharePoint site using Internet Explorer 7 localy on my SharePoint server. The site uses integrated authentication and the FQDN is listed in the local intranet zone in IE 7. When I try to access my SharePoint site I get promted for username and password. I can’t logon with my username & password. After a few tries I get HTTP 401.

I’m running Windos Server 2003 R2 SP2 and Office SharePoint Server 2007.

I found this KB: support.microsoft.com/kb/896861
Method 1 didn’t solve the problem, but method 2 did. I can now access my SharePoint site localy from my SharePoint server. I then started i crawl and got this messages in the Windows application log:

Source: Office Server Search
Catagory: Gatherer
EventID: 2436
Type: Warning
The start address <https://intranet.company.com> cannot be crawled.
Context: Application ‘SharedServices’, Catalog ‘Portal_Content’
Details: Element not found. (0x8002802b)

Source: Office Server Search
Catagory: Gatherer
EventID: 10036
Type: Error
Details:  A database error occurred.
Source: Microsoft OLE DB Provider for SQL Server
Code: 1205 occurred 1 time(s)
Description: Transaction (Process ID 59) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Context: Application ‘SharedServices’

After a quick search I found this hotfix: support.microsoft.com/default.aspx?scid=kb;EN-US;963022. I then noticed that I haden’t installed 2007 Microsoft Office Servers Service Pack 1 & Windows SharePoint Services 3.0 Service Pack 1. After installing SP1 the crawl started working again.