Oct 19

SQL Server 2005 Replication agent checkup 登录错误 不指定

kcao , 14:39 , 技术 , 评论(0) , 引用(0) , 阅读(1533) , Via 本站原创 | |

 今天收到一封信,是从ATOS数据库服务器代理那儿发来的,说发现服务器运行有错误:

The job failed. Unable to determine if the owner (域\用户) of job Replication agents checkup has server access (reason: Could not obtain information about Windows NT group/user '域\用户', error code 0x5. [SQLSTATE 42000] (Error 15404)).

I did not find any login by the name 域\用户 on the server, but there was user on database PVTxxxx05 by the same name and it mapped on to login mySQLLOGINNAME which had dbo rights on the database.

The error [SQLSTATE 42000] (Error 15404) most likely means the machine account doesn't have permission to query the Active directory, cause generally the local service does not have any rights to query / check the identity of the connecting user.

Changing the job owner to sa might solve the issue.

Kindly look into it and suggest on it.

查了一下服务器的EVENT VIEWER,这个错误原来从开始使用起就一直存在,只不过没有发现而已,这个错误并不影响REPLICATION的运行.
 
 
打开SQL Server管理器,在SQL SERVER AGENT节点下,打开JOB节点下有一项"Replication Agents checkup", 正是这项JOB出错了.原来的OWNER是WINDOWS域用户,错误既然是说原来的OWNER不能正常工作,那就把原来的OWNER从域用户改为本地SQL登录名再试.
 
修改以后,发现此错误不再出现了. 
 
其实还有一套方案,那就是直接把这项JOB的ENABLE复选框取消,反正这项工作并不影响REPLICATION.
 
发表评论
Please log on to continue. Thanks!
打开HTML 打开UBB 打开表情 隐藏 记住我 [登入] [注册]