Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 SQL Server 2K8 r2 - Agent Backup Job Failure

Author  Topic 

olinmds
Starting Member

25 Posts

Posted - 2011-07-29 : 10:50:51
Trying to run a SSMS Agent backup job and drop the .BAK file onto another server (using FULL backup to DISK).

This is a new 2K8 clustered box for us and I continue to get the following error:

Executed as user: MC\ssis_agent_svc. Cannot open backup device '\\XXXXX\MCShared\XXXXXXX\backup\XXXXXX6.bak'. Operating system error 5(Access is denied.). [SQLSTATE 42000] (Error 3201) BACKUP DATABASE is terminating abnormally. [SQLSTATE 42000] (Error 3013). The step failed.


MC\ssis_agent_svc has local admin rights on both servers and we have been trying to troubleshoot for a couple of days now. Please know that any help is greatly appreciated!!!

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-07-29 : 11:42:33
Log onto the database server via RDP and use the MC\ssis_agent_svc account. Go to Start..Run: \\XXXXX\MCShared\. Then navigate to the backup folder. Create a test txt file in there with a couple of chars, verify you can save it and open it.

If any of the above fails, you've got an access or path issue. Let us know.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

olinmds
Starting Member

25 Posts

Posted - 2011-07-29 : 13:22:02
Hi Tara,
Thanks for your reply!!!

I can get in fine as MC\ssis_agent_svc and create file with no issues.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-07-29 : 13:45:54
How do you have the SQL Server service account configured? Is it with the MC\ssis_agent_svg account? To be clear, I'm asking about the main service and not the Agent service.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

olinmds
Starting Member

25 Posts

Posted - 2011-07-29 : 13:59:32
SQL Agent Service is with SSIS_Agent_Srv account. SQL Server (MSSQLSERVER)Service is with different SQL account.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-07-29 : 14:01:45
Grant the account that is being used for MSSQLSERVER service read/write access to the share/path. Run your test again.

There are ways to get this to work for just the agent service, but I don't recall those steps and they were a bit elaborate IIRC.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

olinmds
Starting Member

25 Posts

Posted - 2011-08-02 : 14:19:33
Hi Tara! THANKS!!!!!

It worked beautifully once we granted the rights to the other service account!

I appreciate your time and help!!!!!!
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-08-02 : 15:22:12
You're welcome, glad to help.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -