SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SharePoint Database Corruption - Source: Office Server Search


SharePoint Database Corruption - Source: Office Server Search

Author
Message
falisalaam
falisalaam
SSC Veteran
SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)

Group: General Forum Members
Points: 287 Visits: 25
For the second time this week, our MOSS 2007 SharePoint Intranet Service was unavailable. The first happened on Tuesday morning. In looking further, I can see that the issue is that there is database corruption in one or multiple databases. We have a two (2) server farm: THOR-095 is the MOSS 2007 server; THOR-094 is the SQL Server 2005 64-bit database server. Both are running on WIndows 2003 Enterprise Server.

I've disabled the Office Server Search Service for now, just so the server doesn't require another reboot in order to keep the SharePoint working.

Here is the event log from that time yesterday:
Event Type: Warning
Event Source: Office Server Search
Event Category: Gatherer
Event ID: 2442
Date: 8/18/2010
Time: 3:03:12 PM
User: N/A
Computer: THOR-095
Description:
The index was paused.

Context: Application 'SharedServices3', Catalog 'AnchorProject'

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

-----------------------------

Last Tuesday at around 2 AM, this is what was listed on the database server:
Event Type: Failure Audit
Event Source: MSSQLSERVER
Event Category: (4)
Event ID: 18452
Date: 8/16/2010
Time: 1:49:50 AM
User: N/A
Computer: THOR-094
Description:
Login failed for user ''. The user is not associated with a trusted SQL Server connection.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 14 48 00 00 0e 00 00 00 .H......
0008: 0c 00 00 00 52 00 47 00 ....R.G.
0010: 56 00 2d 00 42 00 4f 00 V.-.B.O.
0018: 53 00 2d 00 30 00 39 00 S.-.0.9.
0020: 34 00 00 00 07 00 00 00 4.......
0028: 6d 00 61 00 73 00 74 00 m.a.s.t.
0030: 65 00 72 00 00 00 e.r...
-------------------------
I have run both DBCC CHECKDB and DBCC CHECKCATALOG with no errors for each database. I am at a loss.

What should I do next?
David BAFFALEUF
David BAFFALEUF
UDP Broadcaster
UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)

Group: General Forum Members
Points: 1465 Visits: 712
falisalaam (8/19/2010)
In looking further, I can see that the issue is that there is database corruption in one or multiple databases. (...)
I have run both DBCC CHECKDB and DBCC CHECKCATALOG with no errors for each database.


How can you infer the problem is related to a corruption if checkdb returns no error ? (btw there is no need to run checkcatalog along with checkdb anymore since SQL Server 2005) Do you have an error message indicating there could be a corruption ? Maybe you mean logical corruption ?

The message "The user is not associated with a trusted SQL Server connection. " rather suggests you have a user / password problem.

David B.

David B.
falisalaam
falisalaam
SSC Veteran
SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)

Group: General Forum Members
Points: 287 Visits: 25
Here is another event report:

Event Type: Error
Event Source: Office Server Search
Event Category: Gatherer
Event ID: 10036
Date: 8/18/2010
Time: 7:01:08 AM
User: N/A
Computer: THOR-095
Description:
A database error occurred.

Source: Microsoft OLE DB Provider for SQL Server
Code: 15070 occurred 1 time(s)
Description: Object 'dbo.membership_updateRecursiveMemberships' was successfully marked for recompilation.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
-----------------
Event Type: Error
Event Source: Office Server Search
Event Category: Gatherer
Event ID: 10036
Date: 8/16/2010
Time: 7:59:51 AM
User: N/A
Computer: THOR-095
Description:
A database error occurred.

Source: Microsoft OLE DB Provider for SQL Server
Code: 1205 occurred 1 time(s)
Description: Transaction (Process ID 81) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

Context: Application 'SSP1'

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
falisalaam
falisalaam
SSC Veteran
SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)

Group: General Forum Members
Points: 287 Visits: 25
Hi again,

The user is the admin account for the MOSS. The username/password have not been changed.
So, I do not understand why this event even occurred.
David BAFFALEUF
David BAFFALEUF
UDP Broadcaster
UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)

Group: General Forum Members
Points: 1465 Visits: 712
The only database problem you may have is a deadlock situation at some point. You can turn on trace 1222 on the instance to check what objects and sessions are involved in the deadlock. In a query window:

dbcc traceon(1222,-1)
GO


Remember the setting is volatile and will be turned off in case the instance is restarted. For persistence you can add traceflag -T1222 as a startup parameter. This kind of trace is supposed to help you understanding the context in which the deadlock occurs, it is not supposed to remain active all the time. Once you've found what you were looking for, it is better to deactivate it. (dbcc traceoff(1222) or removing the traceflag)

Other error messages are more related to Sharepoint. Maybe you should post these messages on a sharepoint forum, you'd get probably better feedback there. If you can find any 'Divide by zero' event returned by Office Server Search, it may be related to a PDF iFilter problem. Just a guess, I'm not a sharepoint specialist.

HTH David B.

David B.
falisalaam
falisalaam
SSC Veteran
SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)

Group: General Forum Members
Points: 287 Visits: 25
Thanks you; This is the only message received from the trace:

DBCC execution completed. If DBCC printed error messages, contact your system administrator.

No error messages came up.
falisalaam
falisalaam
SSC Veteran
SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)SSC Veteran (287 reputation)

Group: General Forum Members
Points: 287 Visits: 25
Here is an erro that has just posted in the event viewer:

Event Type: Error
Event Source: Office Server Search
Event Category: Gatherer
Event ID: 10036
Date: 8/19/2010
Time: 7:05:19 AM
User: N/A
Computer: THOR-095
Description:
A database error occurred.

Source: Microsoft OLE DB Provider for SQL Server
Code: 15070 occurred 1 time(s)
Description: Object 'dbo.membership_updateRecursiveMemberships' was successfully marked for recompilation.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
David BAFFALEUF
David BAFFALEUF
UDP Broadcaster
UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)

Group: General Forum Members
Points: 1465 Visits: 712
Once the trace is set, the deadlock graph will show up in the ERRORLOG file. ( -> when it happens)

The second error looks to be more related to Sharepoint. There are a lot of posts out there dealing with a divide by zero + error 15070 (http://darrylclark.blogspot.com/2010/01/event-id-10036-divide-by-zero-error.html). As I said, you may consider posting these errors on Sharepoint forums like http://www.sharepointforum.com/en-US/Pages/default.aspx or http://social.msdn.microsoft.com/Forums/en/category/sharepoint/.

David B.

David B.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search