Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Problem Deployment Package with OCS Inventory NG

Hello,

I successfully installed "OCS Inventory NG" on "Debian 9" and "agent 2.6" on "Windows 10", both on the same LAN, 192.168.2.x.

Inventory was done successfully, but the package deployment does not work.

I zipped and builded the 7zip package with action "Launh".

"c:\Program Files\OCS Inventory Agent\OCSInventory.exe" /force  -> OK

I have not logs on Server side in Apache Logs.

On pckage statistics i have: WAITING NOTIFICATION

ocsinventory.ini file

..........

[HTTP]

Server=https://aa.bb.com/ocsreports

SSL=1

CaBundle=cacert.pem

.........

Some Inventory Agent Logs on Windows:

Starting OCS Inventory NG Agent on Thursday, February 06, 2020 13:59:25.

AGENT => Running OCS Inventory NG Agent Version 2.6.0.0

AGENT => Using OCS Inventory NG FrameWork Version 2.6.0.0

AGENT => Loading plug-in(s)

DLL PLUGIN => Searching for Plug-in DLL(s) in folder <c:\Program Files\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\OCS Inventory Agent\ComHTTP.dll>

AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.6.0.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:\ProgramData\OCS Inventory NG\Agent\cacert.pem>

COM SERVER => Sending fileGet request to URL <https://aa.bb.com/ocsreports/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 <PC-TEST-2020-02-06-13-48-18> and MACs <> 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 <https://aa.bb.com/ocsreports>

COM SERVER => HTTP Post response received <HTTP Status Code #200>

COM SERVER => Cleaning cURL library

AGENT => Prolog successfully sent

ERROR *** AGENT => Failed to write Prolog Frequency <Error code 5 = Accès refusé.  >

ERROR *** AGENT => Failed to write inventory on startup value <Error code 5 = Accès refusé.  >

AGENT => Inventory forced by /FORCE option

AGENT => Launching hardware and software checks

INVENTORY => Loading Download history

INVENTORY => Operating System is <Microsoft Windows 10 Professionnel 10.0.18362 >, description <>

INVENTORY => Operating System uses 64 bits memory address width

INVENTORY => Computer domain or workgroup is <WORKGROUP>

INVENTORY => User domain is <PC-TEST>

INVENTORY => Reading last inventory state

WARNING *** INVENTORY => Failed to load/parse inventory state from file <C:\ProgramData\OCS Inventory NG\Agent\last_state>

WARNING *** INVENTORY => Failed to load/parse plugin state from file <C:\ProgramData\OCS Inventory NG\Agent\last_state>

EXECUTABLE PLUGIN => Searching for VBS script(s) in folder <c:\Program Files\OCS Inventory Agent\plugins>

EXECUTABLE PLUGIN => Searching for PS1 script(s) in folder <c:\Program Files\OCS Inventory Agent\plugins>

EXECUTABLE PLUGIN => Found executable plugin <Saas.ps1>

EXECUTABLE PLUGIN => Plugin <Saas.ps1> executed successfully

AGENT => Sending Inventory

INVENTORY => Checking last inventory state

INVENTORY => Hardware inventory state changed

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 <https://aa.bb.com/ocsreports>

COM SERVER => HTTP Post response received <HTTP Status Code #200>

COM SERVER => Cleaning cURL library

AGENT => Inventory successfully sent

INVENTORY => Writing new inventory state

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

AGENT => Execution duration: 00:00:13.

Starting OCS Inventory NG Agent on Thursday, February 06, 2020 14:03:01.

AGENT => Running OCS Inventory NG Agent Version 2.6.0.0

AGENT => Using OCS Inventory NG FrameWork Version 2.6.0.0

AGENT => Loading plug-in(s)

DLL PLUGIN => Searching for Plug-in DLL(s) in folder <c:\Program Files\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\OCS Inventory Agent\ComHTTP.dll>

AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.6.0.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:\ProgramData\OCS Inventory NG\Agent\cacert.pem>

COM SERVER => Sending fileGet request to URL <https://aa.bb.com/ocsreports/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 <PC-TEST-2020-02-06-13-48-18> and MACs <00:FF:9A:61:98:4134:E1:2D:A1:AB:840C:9D:92:3A:11:5700:FF:E7:6D:0A:21> 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 <https://aa.bb.com/ocsreports>

COM SERVER => HTTP Post response received <HTTP Status Code #200>

COM SERVER => Cleaning cURL library

AGENT => Prolog successfully sent

ERROR *** AGENT => Failed to write Prolog Frequency <Error code 5 = Accès refusé.  >

ERROR *** AGENT => Failed to write inventory on startup value <Error code 5 = Accès refusé.  >

AGENT => Inventory forced by /FORCE option

AGENT => Launching hardware and software checks

INVENTORY => Loading Download history

INVENTORY => Operating System is <Microsoft Windows 10 Professionnel 10.0.18362 >, description <>

INVENTORY => Operating System uses 64 bits memory address width

INVENTORY => Computer domain or workgroup is <WORKGROUP>

INVENTORY => User domain is <PC-TEST>

INVENTORY => System Manufacturer <ASUSTeK COMPUTER INC.>, System Model <VivoBook_ASUSLaptop X580GD_NX580GD>, System S/N <J7N0CV09N198313>, Bios Manufacturer <American Megatrends Inc.>, Bios Date <07/23/2018>, Bios Version <X580GD.306>, Motherboard Manufacturer <ASUSTeK COMPUTER INC.>, Motherboard Model <X580GD>, Motherboard S/N <N0CV1830MB0070823>

WARNING *** INVENTORY => Failed to retrieve system slots

EXECUTABLE PLUGIN => Searching for VBS script(s) in folder <c:\Program Files\OCS Inventory Agent\plugins>

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 <https://aa.bb.com/ocsreports>

COM SERVER => HTTP Post response received <HTTP Status Code #200>

COM SERVER => Cleaning cURL library

AGENT => Inventory successfully sent

INVENTORY => Writing new inventory state

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

AGENT => Execution duration: 00:00:13.

Thanks for your help.

in OCS Inventory NG server for Unix by (160 points)
edited by

2 Answers

0 votes
by (88.5k points)
0 votes
Hi,

Yes, i used the wiki for installation Server and Agent.

Regards
by (160 points)
 
Powered by Question2Answer
...