解决System center orchestrator更新KB4047356后遗症
发表于:2024-09-22 作者:千家信息网编辑
千家信息网最后更新 2024年09月22日,Fix System Center Orchestrator Runbook Service Error %%-2147467259 And HttpWebRequest_WebException_R
千家信息网最后更新 2024年09月22日解决System center orchestrator更新KB4047356后遗症
Fix System Center Orchestrator Runbook Service Error %%-2147467259 And HttpWebRequest_WebException_RemoteServer
现象及背景
- 更新了Orchestrator 2012 R2 KB4047356,同时应用了KB4058494
- 服务中
Orchestrator Runbook Service
无法启动,查看system 日志中发现下面报错:
Orchestrator Runbook Service 服务因下列错误而停止: %%-2147467259
- 根据Kb2702157 中的说明,应该可能是数据库连接不上的问题,所以我们看了下
C:\ProgramData\Microsoft System Center 2012\Orchestrator\RunbookService.exe\Logs
下的日志文件,发现下面错误。
Process ID: 25104Version : 7.2.239.0Computer : SC2012ORC01User : MSFUNDS\orchestratorService2018-05-27 11:40:01 [3752] 1 Exception caught in long __thiscall COpalisActionService2Module::PreMessageLoop(int) throw()OpalisActionService2.cpp(122):Opalis::Exception class std::basic_string,class std::allocator > __cdecl `anonymous-namespace'::getConnectionString(void)ActionServerRegistrar.cpp(31) _com_error 此计算机无法与提供服务器的计算机进行通信。-2147467235
解决办法
- 根据微软Forum 下面帖子中的信息,提示KB中提示要安装SQL Server native Client .因此我安装了
sql server native client
,下载安装2012 版的x64 ,然后发现重启Orchestrator Runbook Service
仍然报错。 - 参考上面帖子的另外一条信息:
"After the Orchestrator updates are installed, reconfigure the Orchestrator database by using the existing database according to these guidelines."
, 根据这篇文档重新配置数据库,输入数据库主机地址,选择使用现有数据库,然后选择覆盖现有数据。 然后启动Orchestrator Runbook Service
问题解决。
发现新问题
- 访问Orchesrtator web Console 提示
HttpWebRequest_WebException_RemoteServer
解决新问题
- 发现这篇文档重新配置数据库时,web 用的配置和本地应用用的配置不一样,web用的IIS连接字符串。我在iis 中发现现有连接字符串配置都是设置成了本地的SQLEXPRESS了。
- 解密webservice 中的数据库连接字符串
PS C:\> C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -pdf "connectionStrings" "C:\Program Files (x86)\Microsoft System Center 2012 R2\Orchestrator\Web Service\Orchestrator2012"Microsoft (R) ASP.NET RegIIS version 4.0.30319.36415Administration utility to install and uninstall ASP.NET on the local machine.Copyright (C) Microsoft Corporation. All rights reserved.Decrypting configuration section...Succeeded!
- 参考这篇文档修改webservice 的数据库连接字符串
4.改完把IIS的连接字符串加密回去。
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -pef "connectionStrings" "C:\Program Files (x86)\Microsoft System Center 2012 R2\Orchestrator\Web Service\Orchestrator2012"
- 按照类似上面步骤改web Console的网站的数据库连接字符串
############## 先解密字符串C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -pdf "connectionStrings" "C:\Program Files (x86)\Microsoft System Center 2012 R2\Orchestrator\Orchestration Console"############## 修改web Console 网站所用的数据库连接字符串################ 加密web Console 网站所用的数据库连接字符串C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -pef "connectionStrings" "C:\Program Files (x86)\Microsoft System Center 2012 R2\Orchestrator\Orchestration Console"
- 以上做了后,重启IIS和所有orchesrator 服务后,发现访问webconsole 仍然报错。在orchestrator 数据库上执行下面SQL命令后问题解决
GRANT EXECUTE ON object::[Microsoft.SystemCenter.Orchestrator].[GetSecurityToken] TO [Microsoft.SystemCenter.Orchestrator.Operators]GRANT SELECT ON object::[Microsoft.SystemCenter.Orchestrator.Internal].[Settings] TO [Microsoft.SystemCenter.Orchestrator.Operators]
最后总结
- KB4047356 这个RU有点做的不够用心啊,KB提示也不全面,重点都放在角落里。
数据
数据库
字符
字符串
问题
配置
提示
服务
文档
网站
信息
帖子
所用
日志
计算机
错误
加密
参考
应用
选择
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
河南计算机网络技术升本成功
数据库驱动中url命名方式
河北聚冀网络技术有限公司
关于网络安全的手抄报内容小学
网络技术训练营
贵州定制软件开发中心
我的世界中国服务器bug
教育软件开发的需求分析
网络安全拍手歌你拍一我拍一
芯片企业网络安全
云 服务器 免费
校园安全网络安全工作心得
成都云数据库找哪家
互联网保险平台科技型企业
服务器 文件 连接
驻马店软件开发公司电话
学校公共体育设施数据库营销
电脑数据库安装
如何更改服务器管理密码
建湖缀赂网络技术有限公司
军营网络安全分析会
计算机信息网络安全责任书
深圳网络技术招聘信息
网络安全课活动感受
服务器检查什么
数据库stuDB怎么做
有关语言测试数据库有哪些
ETC使用哪一种网络技术
数字通信与网络技术苏
专转本报名缴费时服务器异常