Hi,
I have try this use the windows server 2012 INSATLL Windows-Server-Setup 2.1.1.0 and Windows 7 INSTALL Windows-Agent-2.1.1.3 join it domain.
I name a hostname of server as ocs
I have install OCS Server on Windows server 2012 succesfully and apache service run successfully as well as mysql service.
During installation page of Windows agent on Windows7. It ask for the name of server so I can't put http://ocs/ocsinventory and http://192.192.124.114/ocsinventory, but can to ping icmp and responce from server
I have turn off the firewall also and check mysql name and password is correctly include dbconfig.inc check.
I go to administer setup on ocs management and add new subnet already
However the agent don't send it inventory to server.
as below windows even log & OCS agent log.
1.Service encounter error <Failed to load/parse last inventory state>.
2.Service encounter error <OCS Inventory NG Agent encounter an error (exit code is 4 => Failed to talk with Communication Server)>.
OCS Log as below:
==============================================================================
Starting OCS Inventory NG Agent on Wednesday, September 07, 2016 07:52:24.
AGENT => Running OCS Inventory NG Agent Version 2.1.1.3
AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.3
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.1.1.3>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <DPC021-2016-09-01-10-38-12> and MACs <44:87:FC:D7:E1:31> 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:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
COM SERVER => Sending HTTP Post request to URL <http://192.192.124.114/ocsinventory>
WARNING *** COM SERVER => Failed to send HTTP Post request <Couldn't connect to server>
COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Prolog <Couldn't connect to server>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:21.
OCSINVENTORY .INI
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=1
Local=
NoSoftware=1
HKCU=0
NoTAG=1
IpDisc=
[HTTP]
Server=http://192.192.124.114/ocsinventory
SSL=0
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=0
How to solve this ? Thanks.