当前位置:   article > 正文

OCS inventory | agent 运行问题 | 系统日志 | exit code is 4 | error 500_ocs inventory agent

ocs inventory agent

以下错误是服务端数据库用户权限不够导致的,请参考官方文档

官方提示:

Error 500:

Solution: OCS engine can’t comunicate with mysql server. Probably due to a wrong mysql account. You have to check z-ocsinventory-server.conf exactly theses few lines

错误信息如下

Service encounter error <OCS Inventory NG Agent encounter an error (exit code is 4 => Failed to talk with Communication Server)>.

Failed to send Prolog <HTTP Status Code #500>
  • 1
  • 2
  • 3
  • 开始菜单右键选择事件查看器

  • 点开Windows日志-应用程序可以看到
    存在一个错误 Failed to load/parse last inventory state
    右下角OCS图标右键点击run OCS inventory NG Agent now
    虽然显示successfully,但是并没有收集到这个错误。
    日志中多出来一个错误Service encounter error <OCS Inventory NG Agent encounter an error (exit code is 4 => Failed to talk with Communication Server)>.

查看OCSInventory.log,错误信息如下:

Starting OCS Inventory NG Agent on Tuesday, October 08, 2019 21:16:40.
AGENT => Running OCS Inventory NG Agent Version 2.6.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.6.0.0
AGENT => Loading plug-in(s)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.6.0.0>
AGENT => Sending Prolog
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #500>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/335694
推荐阅读
相关标签
  

闽ICP备14008679号