Maintenance plan transaction log backup hangs

We have a maintenance plan for transaction logs and it hangs on the same database every time for the last week.  I did DBCC CHECKDB and nothing came up wrong.  The log file for the maintenance plan is 0 bytes even with all the other db logs backing up.  Running a t-log backup manually in SQL Query Analyzer works fine.  The version is SQL 2000 Enterprise edition at sp 1.

The db is rather small (only 3 GB) compared to others on the same server.

I've tried everything I can think of short of a reboot, any ideas????
jhachmannAsked:
Who is Participating?
 
ptjcbCommented:
I would split the points between ScottPletcher, imran_fast and myself (ptjcb).
0
 
ptjcbCommented:
What is the recovery model for this database  - you can check in EM by right-clicking the database: properties:options
0
 
imran_fastCommented:
Check the recovery model as suggested by ptjcb it should be full or bulklog.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
jhachmannAuthor Commented:
Yep, it is FULL.  
0
 
ptjcbCommented:
Take it out of the group maintenance plan and create a new plan just for that one.

Is it being saved to a different folder than the other logs? Does SQLAgent have the necessary rights? Maybe change the location of that log to C:\ (or whatever) and see if it works.
0
 
ptjcbCommented:
Have you checked the error log for the SQLAgent and the server?
0
 
imran_fastCommented:
please ugrade your sql server with service pack 3a.
0
 
jhachmannAuthor Commented:
Thanks for all the responses.

I created a 2nd maintenance plan with just the one db and it still would hang, the other one now runs fine without this db.  The SQLAgent has the same authority to this directory as the other directories used for tran logs.  

There are no errors in the SQL logs, or any of the system logs.

One other thing to chew on, when attempting to backup the t-log of this db the maint job isn't creating the 0 byte backup file in the directory like it will for other db's.

0
 
ptjcbCommented:
Ok...just to test - you said that when you ran it through QA the backup would work for that db. Create a new job and tell it to run that query. See if that has the same issue.

If you can run the QA query and it works, but the SQLAgent fails that tells me that it may be a permission issue.
0
 
Scott PletcherSenior DBACommented:
You really do need to apply at least SP3a and apply MS03-031; that might solve the problem (and you are currently now open to Slammer and other viruses).
0
 
jhachmannAuthor Commented:
thanks ptjcb,
ok, tried that and it ran perfectly.  


0
 
ptjcbCommented:
Interesting - so a job that runs the query works, but a maintenance plan fails. Not a permissions issue.
0
 
jhachmannAuthor Commented:

It gets better, I assumed that the db backup job hung because the log backup hung in front of it.  That assumption was only half right, the db backup job is hanging on the same database.  It must be the database,  any other ideas?

0
 
jhachmannAuthor Commented:
Thanks for all your help.  This server is in Holland and I'm in the U.S. so some things get a little garbled when working with the staff over there.  The problem started when a couple maintenance jobs collided with each other and hung.  Instead of killing the processes the admin over there bounced the SQL Agent which stopped the jobs but left the processes hang so they continued to cause trouble.  At this point we're rebooting the machine.

As far as installing sp3a, that's on the schedule but distance, communication & corporate baloney sometimes get in the way.
0
 
ptjcbCommented:
Oh, yeah, I have worked with companies in Europe. You have to call first thing in the morning to talk to someone. I'm glad that you have an answer.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.