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

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

官方提示:

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>
  • 开始菜单右键选择事件查看器

  • 点开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
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 13
    评论
评论 13
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值