Hi guys :)
I`m new to ocsinventory and i have a problem now:
first of all, I`ve successfully set up the OCS Server and deployed over 250 Agents, all these agents are working fine.
but recently I reinstalled the agent on my PC and deleted the host on the server, then here comes the problem.
I kept receiving errors in Windows log, as I posted here:
Service encounter error <Failed to load/parse last inventory state>.
I`m not sure if this is the reason but I do cannot see the same mistake on other computers that is working fine.
and also, I`ll POST part of ocsinventory.log :
INVENTORY => XML Update 5 Printer(s)
INVENTORY => XML Update 457 Software
INVENTORY => XML Update 0 Registry Value(s)
INVENTORY => XML Update Administrative Information(s)
INVENTORY => XML Update common Device properties
COM SERVER => Initializing cURL library for sendRequest
COM SERVER => Using cURL without server authentication
COM SERVER => Disabling cURL proxy support
COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
COM SERVER => Sending HTTP Post request to URL <http://10.243.16.76:8080/ocsinventory>
COM SERVER => HTTP Post response received <HTTP Status Code #500>
COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Inventory <HTTP Status Code #500>
AGENT => Communication Server ask for Package Download
DOWNLOAD => Package history file successfully cleaned for duplicate IDs
DOWNLOAD => Download disabled by server
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:15.
as you can see I have a HTTP Status Code #500 error here. So I`ll just Also POST Apache Error.log here :)
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=10.243.16.83;port=3306 at C:/xampp/perl/site/lib/Apache/Ocsinventory.pm line 64.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=10.243.16.83;port=3306 at C:/xampp/perl/site/lib/Apache/Ocsinventory.pm line 64.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=10.243.16.83;port=3306 at C:/xampp/perl/site/lib/Apache/Ocsinventory.pm line 64.
I can see thousands of the same error above.
But since all other agents are working fine(Saying working fine, I mean I can even see these computers still contacting server just now.),I believe there is something wrong with my computer istead of the server.
ahmmm...I almost forget, here is my ocsinventory.ini :)
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=1
Local=
NoSoftware=0
HKCU=0
NoTAG=1
IpDisc=
[HTTP]
Server=http://10.243.16.76:8080/ocsinventory
SSL=1
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
PROLOG_FREQ=1
OLD_PROLOG_FREQ=1
TTO_WAIT=900
any advice will be helpful.
Thanks all you guys in advance!
:)