首页 > 数据库技术 > 详细

sqlserver2008 使用系统用户作为job owner执行失败的bug

时间:2014-12-02 17:33:35      阅读:377      评论:0      收藏:0      [点我收藏+]


最近频繁出现使用job执行备份均失败,修改job 的owner为sa以后执行就ok了,不知其原因为何,错误如下:

The job failed.  The owner (test-zuoqujia\Administrator) of job Job_test_FULLBACKUP does not have server access.


最近有时间做了下研究,来自微软官网的说明如下:

  • In SQL Server 2008 or SQL Server 2005, you create a job whose owner is a Windows user account.

  • You run the job and the job works well.

  • You restart the SQL Server Agent.

  • You run the job again.

In this scenario, you may receive the following error message:

The job failed. The owner () of job <Job Name> does not have server access.


When SQL Server Agent starts, the job details will be loaded into the cache. However, when the job owner is a Windows user account, the agent may fail to find the job owner details in the cache and does not refresh the cache. Therefore, the job fails.


然后就不用多说了,解决方法就是打补丁包或者使用其他用户作为job owner啦。


更多官网内容详见:

http://support.microsoft.com/kb/969611/en-us/

本文出自 “composer” 博客,请务必保留此出处http://zuoqujia.blog.51cto.com/9151800/1585439

sqlserver2008 使用系统用户作为job owner执行失败的bug

原文:http://zuoqujia.blog.51cto.com/9151800/1585439

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!