Community
Command Central
MVP Program
Monthly Mission
Blogs
Groups
Events
Media Vault
Products
Observability
Network Management
Application Management
IT Security
IT Service Management
System Management
Database Management
Content Exchange
SolarWinds Platform
Server & Application Monitor
Database Performance Analyzer
Server Configuration Monitor
Network Performance Monitor
Network Configuration Manager
SQL Sentry
Web Help Desk
Free Tools & Trials
Store
Home
Products
Network Configuration Manager (NCM)
Scheduled Job Failing
pguenther
I have a scheduled job to run every night to back up our BPS 2000 switches. 90% of the switches fail either when the scheduled job runs or if you manually run the job. However, if I just test the job everything works perfect. Any ideas why the scheduled job fails all the time, but the test always works?
Find more posts tagged with
Accepted answers
All comments
jedi755
Check your Windows event log under applications, I am getting a crash message from Cirrus when this happens. I recently upgraded to 3.5. I have not heard anything from SW regarding this.
pguenther
I don't see anything in the Application log, but I am getting DCOM errors in the System log when this job runs.
Event Type: Error
Event Source: DCOM
Event Category: None
Event ID: 10016
Date: 4/18/2007
Time: 11:53:01 PM
User: SARCOM\solarwinds
Computer: VCOLSW01
Description:
The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID
{717180BD-09C9-40FA-91FE-DE7A2D00C729}
to the user SARCOM\solarwinds SID (S-1-5-21-1436549215-1041072123-1520766640-26896). This security permission can be modified using the Component Services administrative tool.
For more information, see Help and Support Center at
go.microsoft.com/.../events.asp.
Haley
The security error appears to be related to the account you are using to launch the jobs within Cirrus not having sufficient rights. The user needs to have local launch and activation rights. The following steps should help resolve the issue.
Open Component Services from Administrative Components, drill down to My Computer, right click and select Properties.
On the COM Security tab, click the Edit Default button within the Launch and Activation Permissions section.
If SARCOM\solarwinds is listed, simply check the boxes for Local Launch and Local Activiation. If SARCOM\solarwinds is not listed, click the Add button and add the user. Then check the Local Launch and Local Activation checkboxes. Click OK a several times to exit Component Services.
pguenther
Apparently the user account I was using didn't have admin rights to the box. Once I added that the errors went away and the job runs smoothly now. Thanks.
bleearg13
I've found the following needs to be done, possibly in addition to Haley's instructions above, in order to get scheduled jobs to work in Windows 2003 with a non-administrator account:
1. Create account.
2. Add 'Log on as a service' and 'Log on as a batch job' permissions in the Local Security Policy.
3. Add the account to the Read and Read/Execute permissions on 'cmd.exe' in C:\Windows\System32.
4. Add the account to the Read and Read/Execute permissions on the task's Security tab within in the Task Scheduler Control Panel.
5a. If you are using Windows NT Integrated Security for SQL server access , ensure that the account is setup within SQL Server and has access to the database when attaching to the DB. This is done when the Cirrus database is either first set up or re-attached to.
5b. If you are using SQL Authentication for SQL server access, ensure that the right account is used when attaching to the DB. As mentioned above, this is done when Cirrus is first configured.
I always caution those who just assign Administrator permissions to any account just to get it to work. That may be the quick and easy way to get things done, but it's a security problem. I personally believe that Cirrus should use its own internal task scheduler rather than relying on the terrible Windows Task Scheduler, for the permissions reasons alone.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Best Of