网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

SQLServerAgent启动后自动停止,ODBC驱动丢失-创新互联

环境:
2台SQL Server 2012 Always ON服务

在南溪等地区,都构建了全面的区域性战略布局,加强发展的系统性、市场前瞻性、产品创新能力,以专注、极致的服务理念,为客户提供网站建设、网站制作 网站设计制作按需求定制开发,公司网站建设,企业网站建设,品牌网站设计,网络营销推广,外贸网站制作,南溪网站建设费用合理。

现象:
Always ON服务正常,同步正常,应用正常。

Second Server Server Agent 启动数秒后就自动停止。

处理过程:
1、查看Windows 系统日志,显示如下信息:

SQL Server Agent 启动后自动停止,ODBC驱动丢失

SQL Server Agent 启动后自动停止,ODBC驱动丢失

2、在SQL Studio 中查看当前Error Log

Date,Source,Severity,Message
09/25/2018 13:54:07,,Information,[098] SQLServerAgent terminated (normally)
09/25/2018 13:54:07,,Error,[382] Logon to server 'domain\SQLInstance' failed (DisableAgentXPs)
09/25/2018 13:54:07,,Error,[165] ODBC Error: 0 Data source name not found and no default driver specified [SQLSTATE IM002]
09/25/2018 13:54:07,,Error,[165] ODBC Error: 0 Data source name not found and no default driver specified [SQLSTATE IM002]
09/25/2018 13:54:07,,Error,[165] ODBC Error: 0 Data source name not found and no default driver specified [SQLSTATE IM002]
09/25/2018 13:54:07,,Error,[165] ODBC Error: 0 Data source name not found and no default driver specified [SQLSTATE IM002]
09/25/2018 13:54:07,,Error,[165] ODBC Error: 0 Data source name not found and no default driver specified [SQLSTATE IM002]
09/25/2018 13:54:07,,Error,[000] Unable to connect to server 'domain\SQLInstance'; SQLServerAgent cannot start
09/25/2018 13:54:07,,Error,[150] SQL Server does not accept the connection (error: 0). Waiting for Sql Server to allow connections. Operation attempted was: Verify Connection On Start.
09/25/2018 13:53:37,,Error,[150] SQL Server does not accept the connection (error: 0). Waiting for Sql Server to allow connections. Operation attempted was: Verify Connection On Start.
09/25/2018 13:53:07,,Error,[150] SQL Server does not accept the connection (error: 0). Waiting for Sql Server to allow connections. Operation attempted was: Verify Connection On Start.
09/25/2018 13:52:37,,Error,[150] SQL Server does not accept the connection (error: 0). Waiting for Sql Server to allow connections. Operation attempted was: Verify Connection On Start.
09/25/2018 13:52:07,,Error,[150] SQL Server does not accept the connection (error: 0). Waiting for Sql Server to allow connections. Operation attempted was: Verify Connection On Start.
09/25/2018 13:52:07,,Information,[495] The SQL Server Agent startup service account is domain\dbadmin.
09/25/2018 13:52:07,,Information,[100] Microsoft SQLServerAgent version 11.0.3000.0 (X64 unicode retail build) : Process ID 1008

3、结合以上错误,似乎都指向ODBC,打开ODBC,发现ODBC 64bit 中Driver为空

SQL Server Agent 启动后自动停止,ODBC驱动丢失

正常是应该有SQL Server和 SQL Native Client 11这两个驱动的。

4、在SQL Server 2012 安装包中找到sqlncli.msi 重新安装SQL Native Client 11(注意选择重装,而不是修复)。

5、再次在ODBC中查看,SQL Native Client 11已经有了。

6、重启SQL Agent ,观察几分钟后没有再出现自动停止的现象,问题解决。

后面有看到一篇介绍ODBC驱动丢失的文章:http://www.cnblogs.com/chinalantian/archive/2016/06/13/5581644.html

了解到可能是卸载某些软件的时候会把ODBC中的部分驱动也删除,咨询客户表示近期有删除一些软件。

特此记录!

另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


网页标题:SQLServerAgent启动后自动停止,ODBC驱动丢失-创新互联
网站路径:http://bjjierui.cn/article/joeeg.html

其他资讯