[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

NTBackup:  Not running if not logged on..

Posted on 2004-10-24
17
Medium Priority
?
512 Views
Last Modified: 2008-01-09
Hi, Folks.  I've a client machine that running SBS2003 (Windows 2003 server).  

I've got a scheduled backup job that runs from a scheduled task - using a service account.  

If I don't have anyone logged into the server (either at the physical console -- or via RDP) the backup does not run.

If I have a second account (not the service account) logged on when the backup starts, the job runs just fine.

I can't find anything in the logs, nor can I find anything to indicate why the job failed.  (Maybe there's something other than the eventviewer to look at..?)  

The eventviewer does show the service account being unable to "unload your classes registry file" - then correctly unloading it ~60 seconds later..  30 minutes after the scheduled job begins.

So, I think the backup job is sitting around - twiddling its thumbs, waiting for something to happen -- which dosen't happen, and it quits..  RSM?  

Thanks, Folks.
-- Scott.
0
Comment
Question by:scdavis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
17 Comments
 
LVL 11

Expert Comment

by:WeHe
ID: 12394753
is the service account member of the local "backup operators" or "administrators" group?
0
 
LVL 8

Expert Comment

by:KerryG
ID: 12395042
I usually create an account called "backup" that I put into the backup operators group. I then use that account as the NTBackup authentication and have never had a problem.
0
 
LVL 11

Expert Comment

by:WeHe
ID: 12395099
the detailed eventlog entry would be helpfull.
like this:
Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1000
Description:
Windows cannot unload your registry class file. If you have a roaming profile, your settings are not replicated. Contact your administrator.
Details:
------------------------------
Access is denied
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 7

Author Comment

by:scdavis
ID: 12395108
Hey, guys.

Yes, both of the accounts in question are backup operators..  and administrators, and Exchange groups, and enterprise admins..

This isn't a security problem - I don't think.   That would report "no access to said files" or something similar.  


Thanks for the quick look - but please re-read what I posted.  The circumstances of having a user logged on has got to do something with the function that's failing..  

Thanks,
Scott.
0
 
LVL 11

Expert Comment

by:WeHe
ID: 12395151
the detailed eventlog entry would still be helpfull.
0
 
LVL 7

Author Comment

by:scdavis
ID: 12395185
Okay, WeHe.

I'm absolutely convinced that this logged error is irrelevant - but here ya go.  

First Event, 10/23/2004: 9:41:49 PM  (job ran at 9:00pm - preceeded by about 10 mins of FTPing)

Source: Userenv
Type:  Warning
EventID: 1524
User:  Domain\Username
Description:

Windows cannot unload your classes registry file - it is still in use by other applications or services.  The file will be unloaded when it is not longer in use.



Followed by the Second Event, 10/23/2004: 9:42:19PM.  (30 seconds later)

Informational, Event ID 1516.
Description:

Windows unloaded user <blah>_classes registry when it received a notifications that no other applications or services where using the proflile.



It's just logoff stuff.  The FAILURE - occured 30 minutes BEFORE that.  It's irrelevant.


Please look at the 30 minute delay - and think about that, folks.

What on earth is NTBackup doing sitting there for 30 minutes doing nothing?  It's got to be waiting for the RSM, I think.  Why?!  That's what I want to know.

I could be wrong about this diagnostic approach -- but I don't think so.


Thanks again,
Scott..
0
 
LVL 11

Expert Comment

by:WeHe
ID: 12395251
did you try to disable any virus scanner before starting ntbackup?
did you ever log into server with your service account and tried it manualy?
0
 
LVL 7

Author Comment

by:scdavis
ID: 12395328
No, I haven't attempted to disable my anti-virus scanner (Norton Corporate v9).  I won't do that.

If I run the job manually - I'm logged in, so it works just fine.

I'm really not going to accept that my anti-virus software is the problem.  Nor is turning it off for 2 hours viable - on a daily basis.

You're ignoring the 30 minute delay.  That can't possibly be related to Anti-Virus software.  


-- Scott.



0
 
LVL 11

Expert Comment

by:WeHe
ID: 12395359
what is logged into the backup.log file?
0
 
LVL 7

Author Comment

by:scdavis
ID: 12395373
Nothing.  Absolutely nothing in the backup(n).log file.

It's like the Backup program dosen't even start.  No "Starting Backup" stuff in the event log either.

The only thing I can think of that it's dependant on is the RSM.  

I'm going to switch it from Manual to Automatic startup - to ensure it's running..  before the NTBackup app calls for it..  and I think that just made one run work - but I'm not going to be comfortable with that until I re-test it.

Should be about an hour before I can try it..

- S.

0
 
LVL 11

Expert Comment

by:WeHe
ID: 12395415
does the sheduled job have a status after it runs?
0
 
LVL 7

Author Comment

by:scdavis
ID: 12395895
Looks to me like putting the RSM on "Automatic" and ensuring it's running before the backup job launches fixed my problem.  

I'll confirm that in 26 hours -- when the next scheduled run does its thing.

-- Scott.

0
 
LVL 7

Author Comment

by:scdavis
ID: 12430420
Looks like putting it on "automatic" dosen't matter.  When jobs finish, they shut the service down.

So, I started the RSM service (NTMSSVC) manually today - then logged all my sessions out of the server.

LO and behold -- the job ran.  

I've added a "net start NTMSSVC" to my backup job's batch file.  

Tomorrow, we'll see if that does the trick - automatically.  

If anyone can explain *WHY* this failure is happening, they can have the points -- otherwise, I guess this question and explaination will have to be killed off..  

Thanks, Everyone!

-- Scott.
0
 
LVL 7

Author Comment

by:scdavis
ID: 13849286
How do I close this -- since I solved my own problem..?

0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 14015128
>>How do I close this -- since I solved my own problem..?<<
Here's how:
I answered my question myself.  What do I do?
http://www.experts-exchange.com/Operating_Systems/Windows_Server_2003/help.jsp#hi70
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 14123732
PAQed with points refunded (250)

modulo
Community Support Moderator
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question