Comments
9 comments
-
Just to add, I ran:
sc sdshow "SQL Backup Agent"
on the server and got this output:[SC] OpenService FAILED 1060: The specified service does not exist as an installed service.
However when I runnet start "SQL Backup Agent"
I get:The requested service has already been started. More help is available by typing NET HELPMSG 2182.
-
In the first example, you need to use the internal name (listed as "ServiceName"), so you would run:
sc sdshow "SqlBackupAgent"
A couple of questions:
- Are there other instances on the same machine, and what version of SQL Server are they.
- What account is the SQL Backup Agent account running as?
Jason -
Thanks Jason, when running
sc sdshow "SqlBackupAgent"
I getD:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
To answer your other questions
- There is only one default instance of SQL Server (2000 SP3)
- The SQL Backup Agent is running as a domain account called sa-SQLBackup and is in sysadmin server role in SQL Server. It is a normal account on the server (i.e. not a local admin). -
keymoo wrote:Thanks Jason, when running
sc sdshow "SqlBackupAgent"
I getD:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
To answer your other questions
- There is only one default instance of SQL Server (2000 SP3)
- The SQL Backup Agent is running as a domain account called sa-SQLBackup and is in sysadmin server role in SQL Server. It is a normal account on the server (i.e. not a local admin).
Just make it local admin and that will fix everything. -
brosato wrote:Just make it local admin and that will fix everything.
-
keymoo wrote:brosato wrote:Just make it local admin and that will fix everything.
I wasn't trying to be funny actually. That's what I had to do to get it working. Although I have another server that's set up identical and it works without being local admin. -
-
Great that fixed it - however I really don't want to run the SQL Backup service as a local admin.
red-gate: anything else for me to try? -
This issue is usually caused by security restrictions on the SQL Server service object. When you run sc sdshow, you should run it against the SQL Server service, not the SQL Backup Agent service. That should tell you the rights that have been assigned to the service.
Alternatively, you can download this app to check the DACL of the service.
Add comment
Please sign in to leave a comment.
I have a SQL Server 2000 SP3 machine running on Windows 2000 Server SP4. I get the following errors in the SQL Backup log:
In the registry I have set the SkipChecks key to 1 even though the SQLAgent account name is less than 30 chars. The SQL Backup Agent service is a sysadmin on the SQL Server and I have changed the format of the account to accountname@DOMAIN in the services.msc applet.
What else can I try?