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


Strange case of Log Shipping failures


Strange case of Log Shipping failures

Author
Message
LerxtDBA
LerxtDBA
SSC Eights!
SSC Eights! (814 reputation)SSC Eights! (814 reputation)SSC Eights! (814 reputation)SSC Eights! (814 reputation)SSC Eights! (814 reputation)SSC Eights! (814 reputation)SSC Eights! (814 reputation)SSC Eights! (814 reputation)

Group: General Forum Members
Points: 814 Visits: 623
I feel like a noob asking this but has anyone encountered a case where the Restore DB job in log shipping fails due with "Unable to acquire exclusive access" even though you've checked the box (and confirmed in the table) that you want all connections closed prior to restoring?

I know the account that's running it has permissions to close the connections because I've written a job that does just that as a stop-gap.

I've tried to search for people having this problem in Google but when you search for things like "sql server 2012 log shipping close all connections fail" you get a bunch of pages telling you to check the close all connections option. So not only am I baffled by this behavior in SQL Server 2012, I apparently have reached the limits of my Google skills. It's making for a humbling day. ;-)

Actual SQL version: 11.0.3000
TheSQLGuru
TheSQLGuru
SSC-Dedicated
SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)

Group: General Forum Members
Points: 32848 Visits: 8679
When it is hung, run sp_whoisactive to see if some peculiar wait shows up.

Also, can you restore the log file MANUALLY?

Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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