I'm a newbie on OCS Inventory and have been helped by a friend to set up OCS Inventory on a LAMPP stack. Now that I'm installing the first Windows client I'm already getting in trouble with the communication of client and server.
Here some technical details:
SERVER system
- OS Name : Linux x86_64
- Version : 4.8.0-1-amd64
- RAM installed : 492 Mo
- Free RAM : 144 Mo
- CPU : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
- Distribution : Debian GNU/Linux 9 (stretch)
- PHP Version : 5.6.20-1 (apache2handler)
- Web Server : Apache/2.4.25 (Debian)
- Database Server : (Debian) version 5.6.30-1
- Version OCSReports: 2.3
Client System
- OS: Windows 7 Enterprise 64-bit SP1
- OCS Version: 2.3.0.0
OCSINVENTORY.INI
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=1
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://myserver:80/ocsinventory
SSL=0
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
PROLOG_FREQ=10
INVENTORY_ON_STARTUP=0
OLD_PROLOG_FREQ=10
TTO_WAIT=19740
The client is installed as service with Local System account and started. The systray app is running and I'm able to start the "OCS Inventory agent now" and also let me "Show inventory information".
A read a lot of FAQ, Q&A, WIKI, DOCS and forum but my problem seems to be a bit unique, because when I call "ocsinventory.exe /server:myserver /debug=2" I'm missing 'http://myserver:80/ocsinventory" in the line
"COM SERVER => Sending HTTP Post request to URL <>", see full debug log below.
==============================================================================
Starting OCS Inventory NG Agent on Wednesday, February 08, 2017 08:52:29.
AGENT => Running OCS Inventory NG Agent Version 2.3.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.3.0.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) successfully 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.3.0.0>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <EAC0395529-2017-02-07-11-40-23> and MACs <98:90:96:B1:34:5F> 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 => Disabling cURL SSL server validation support
COM SERVER => Sending HTTP Post request to URL <>
WARNING *** COM SERVER => Failed to send HTTP Post request <URL using bad/illegal format or missing URL>
COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Prolog <URL using bad/illegal format or missing URL>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
Does any of you have a small hint to help me.
Thanks a lot in advance
Heinz