Quantcast
Channel: Ocsinventory Q&A - Recent questions
Viewing all articles
Browse latest Browse all 4376

Agent cannot update to server

$
0
0
Hi all,
Here my case
ocs server 2.6 on Centos 7 Apache PHP 5.4 mariadb 5.5
ocs agent 2.1.1.1 on windows 10
They worked fine before, suddenly, on 18 Jan 2022, agents on our windows workstations cannot update to server anymore, here error in C:\ProgramData\OCS Inventory NG\Agent\
Starting OCS Inventory NG Agent on Wednesday, February 23, 2022 09:47:09.
AGENT => Running OCS Inventory NG Agent Version 2.1.1.1
AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.1
AGENT => Loading plug-in(s)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.1.1>
AGENT => Sending Prolog
AGENT => Prolog successfully sent
SUPPORT => No support detected, Registration key : N/A
AGENT => Inventory required
AGENT => Launching hardware and software checks
AGENT => Sending Inventory
INVENTORY => Inventory changed since last run
ERROR *** AGENT => Failed to send Inventory <HTTP Status Code #500>
AGENT =>  Communication Server ask for Package Download
DOWNLOAD => Download and setup tool successfully started
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:11.

I have checked z-ocsinventory-server.conf , mysql username and password are correct
I changed PerlSetEnv OCS_OPT_DBI_PRINT_ERROR to 1 , then view Apache error log and see many of:
DBD::mysql::st execute failed: Table 'ocsweb.software' doesn't exist at /usr/local/share/perl5/Apache/Ocsinventory/Server/Inventory/Software.pm line 59.
DBD::mysql::st execute failed: Table 'ocsweb.software' doesn't exist at /usr/local/share/perl5/Apache/Ocsinventory/Server/Inventory/Software.pm line 59.

I test z-ocsinventory-server.conf syntax and it return
apachectl -t
ocsinventory-server: Bad setting. `IPDISCOVER_LINK_TAG_NETWORK` is not set. Default: `0`
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable

Please give me some advice, thank you very much.

Viewing all articles
Browse latest Browse all 4376

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>