Re: Transaction Log Failure
From: Wayne Snyder (wayne.nospam.snyder_at_mariner-usa.com)
Date: 12/15/04
- Next message: Wayne Snyder: "Re: Log backups"
- Previous message: Wayne Snyder: "Re: Blocking issue"
- In reply to: Joe K.: "Transaction Log Failure"
- Next in thread: AnthonyThomas: "Re: Transaction Log Failure"
- Reply: AnthonyThomas: "Re: Transaction Log Failure"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 15 Dec 2004 07:53:11 -0500
A maintenance plan can not create a log file, only back up an existing
file...
THe first thing to try to do, is to get the log file back in the same
location as it originally existed, then bring up sql server.
If that can not be done. Then try
copy the mdf file to another location , or copy it as another filename
( with SQL Server Down)
Then bring up SQL Server and try
sp_attach_single_file_DB newdbname, mdf filename
This will try to attach the data file and create a new log file.
If this does not work, you may simply have to restore from your most recent
backup.
-- Wayne Snyder, MCDBA, SQL Server MVP Mariner, Charlotte, NC www.mariner-usa.com (Please respond only to the newsgroups.) I support the Professional Association of SQL Server (PASS) and it's community of SQL Server professionals. www.sqlpass.org "Joe K." <JoeK@discussions.microsoft.com> wrote in message news:6933F018-DE9A-4AE8-96C5-7C159994842A@microsoft.com... > > The system I have is a SQL Server 2000 Enterprise edition with Windows 2003 > server with an Active/Active Cluster. The disks reside on a SAN environment. > One of the drives was dropped from the SAN that had the SQL Server Cluster > Resources in it's dependency list of drives. SQL Server failed because of > this. After SQL Server was restarted the database transaction logs started > failing at this point. The server was rebooted and I created new SQL Server > maintenance plan that would create a transaction log file every hour. After > server reboot and a new SQL Server maintenance plan the transcation log job > still aborted. Also checked the security on the output directory for problems. > > Please help me resolve this database tranasction log problem. > > Thanks, > > SQL Server Errorlog Transaction Log Failure > 2004-12-14 21:00:43.48 spid94 BackupDiskFile::OpenMedia: Backup device > 'T:\MTAR\MTAR_tlog_200412142100.TRN' failed to open. Operating system error = > 32(The process cannot access the file because it is being used by another > process.). > 2004-12-14 21:00:43.51 backup BACKUP failed to complete the command > BACKUP LOG [STARPRD] TO DISK = N'T:\MTAR\MTAR_tlog_200412142100.TRN' WITH > INIT , NOUNLOAD , NOSKIP , STATS = 10, NOFORMAT > 2004-12-14 21:30:27.62 backup BACKUP failed to complete the command > BACKUP LOG [STARPRD] TO DISK = N'T:\MTAR\MTAR_tlog_200412142130.TRN' WITH > INIT , NOUNLOAD , NOSKIP , STATS = 10, NOFORMAT > 2004-12-14 22:30:06.05 spid141 The backup data in > 'T:\MTAR\MTAR_tlog_200412142230.TRN' is incorrectly formatted. Backups cannot > be appended, but existing backup sets may still be usable. >
- Next message: Wayne Snyder: "Re: Log backups"
- Previous message: Wayne Snyder: "Re: Blocking issue"
- In reply to: Joe K.: "Transaction Log Failure"
- Next in thread: AnthonyThomas: "Re: Transaction Log Failure"
- Reply: AnthonyThomas: "Re: Transaction Log Failure"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|