Hi All, i'm with dificulty with this and i'm certanlly that somebody in some moment too.
I have an OCS server 2.0.5 in ubuntu server. Apache and Mysql working with no problem. I can browser access OCS and login normally. I'm using Zabbix too in the same server (ubuntu).
I have been install OCS agent in a Windows 7 workstation 64 bits but the communication with the server isn't work. I google it and verify that in some situations i have to use agent with the same server version or previous. About mod_perl seems looks well.
I need help urgently because i have to inventory too much machines in a short time.
my ocsinventory.ini:
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=2
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://ipservidor/ocsinventory
SSL=1
CaBundle=C:\Users\thiago.costa\Downloads\OCS\cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=29100
agent log:
==============================================================================
Starting OCS Inventory NG Agent on Wednesday, December 16, 2015 11:48:01.
AGENT => Running OCS Inventory NG Agent Version 2.0.5.0
AGENT => Using OCS Inventory NG FrameWork Version 2.0.5.0
AGENT => Loading plug-in(s)
DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
DLL PLUGIN => 0 DLL Plug-in(s) succesfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.0.5.0>
AGENT => Sending getLabel request
COM SERVER => Initializing cURL library for getFile
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:\Users\thiago.costa\Downloads\OCS\cacert.pem>
COM SERVER => Sending fileGet request to URL <http://ipdoservidor/ocsinventory/deploy/label>
COM SERVER => fileGet response received <HTTP Status Code #404>
COM SERVER => Cleaning cURL library
AGENT => Failed to retrieve Label <HTTP Status Code #404>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <W7RJO030-2015-12-14-16-58-57> and MACs <F0:4D:A2:E2:A2:9300:00:00:11:02:0000:50:56:C0:00:0100:50:56:C0:00:08> in file <ocsinventory.dat>
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:\Users\thiago.costa\Downloads\OCS\cacert.pem>
COM SERVER => Sending HTTP Post request to URL <http://ipdoservidor/ocsinventory>
COM SERVER => HTTP Post response received <HTTP Status Code #404>
COM SERVER => Cleaning cURL library
================= TRACE START ===============
================= TRACE STOP ===============
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #404>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
My apologies about my english.
I have an OCS server 2.0.5 in ubuntu server. Apache and Mysql working with no problem. I can browser access OCS and login normally. I'm using Zabbix too in the same server (ubuntu).
I have been install OCS agent in a Windows 7 workstation 64 bits but the communication with the server isn't work. I google it and verify that in some situations i have to use agent with the same server version or previous. About mod_perl seems looks well.
I need help urgently because i have to inventory too much machines in a short time.
my ocsinventory.ini:
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=2
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://ipservidor/ocsinventory
SSL=1
CaBundle=C:\Users\thiago.costa\Downloads\OCS\cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=29100
agent log:
==============================================================================
Starting OCS Inventory NG Agent on Wednesday, December 16, 2015 11:48:01.
AGENT => Running OCS Inventory NG Agent Version 2.0.5.0
AGENT => Using OCS Inventory NG FrameWork Version 2.0.5.0
AGENT => Loading plug-in(s)
DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
DLL PLUGIN => 0 DLL Plug-in(s) succesfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.0.5.0>
AGENT => Sending getLabel request
COM SERVER => Initializing cURL library for getFile
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:\Users\thiago.costa\Downloads\OCS\cacert.pem>
COM SERVER => Sending fileGet request to URL <http://ipdoservidor/ocsinventory/deploy/label>
COM SERVER => fileGet response received <HTTP Status Code #404>
COM SERVER => Cleaning cURL library
AGENT => Failed to retrieve Label <HTTP Status Code #404>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <W7RJO030-2015-12-14-16-58-57> and MACs <F0:4D:A2:E2:A2:9300:00:00:11:02:0000:50:56:C0:00:0100:50:56:C0:00:08> in file <ocsinventory.dat>
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:\Users\thiago.costa\Downloads\OCS\cacert.pem>
COM SERVER => Sending HTTP Post request to URL <http://ipdoservidor/ocsinventory>
COM SERVER => HTTP Post response received <HTTP Status Code #404>
COM SERVER => Cleaning cURL library
================= TRACE START ===============
================= TRACE STOP ===============
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #404>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
My apologies about my english.