I have try this use the windows server 2012 INSATLL Windows-Server-Setup 184.108.40.206 and Windows 7 INSTALL Windows-Agent-220.127.116.11 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://18.104.22.168/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 22.214.171.124
AGENT => Using OCS Inventory NG FrameWork Version 126.96.36.199
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 <188.8.131.52>
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://184.108.40.206/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.
[OCS Inventory Agent]
[OCS Inventory Service]
How to solve this ? Thanks.