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.12.3 available

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

Deployment fail

This message i find at all packages on all Clients

Status: NOTIFIED (Tue Oct 14 15:15:07 2014)

Packages are activated and sorted to Clients. But no Package is deployed to a client. The ocsinventory.txt show me those lines:

==============================================================================
Starting OCS Inventory NG Agent on Tuesday, October 14, 2014 13:57:21.
AGENT => Running OCS Inventory NG Agent Version 2.1.1.1
AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.1
AGENT => Loading plug-in(s)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.1.1>
AGENT => Sending Prolog
AGENT => Prolog successfully sent
SUPPORT => No support detected, Registration key : N/A
AGENT => Inventory required
AGENT => Launching hardware and software checks
AGENT => Communication Server ask for IpDiscover

cacert.pem is installed in C:\Program Files (x86)\OCS Inventory Agent and C:\Users\All Users\OCS Inventory NG\Agent

The ocsinventory.ini (at clientside) shows me that information:

[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=0
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://myip/ocsinventory
SSL=1
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=0
PROLOG_FREQ=1
OLD_PROLOG_FREQ=24

System @ Ubuntu 14.04.1 Server, OCS inventory 2.1.2. Client on Windows 7 64 bit. Local Network /16

Ideas and help would be nice. Thanks
in OCS Inventory NG agent for Windows by (270 points)

3 Answers

0 votes
Forget download.ini

==============================================================================
Starting OCS Inventory NG Package Download and Setup Tool on Tuesday, October 14, 2014 15:47:24.
DOWNLOAD => Running OCS Inventory NG Download Version 2.1.1.1
DOWNLOAD => Using OCS Inventory NG FrameWork Version 2.1.1.1
DOWNLOAD => Using network connection with Communication Server
DOWNLOAD => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.1.1>
DOWNLOAD => Starting new period of 10 cycles
DOWNLOAD => Parsing directory <C:\ProgramData\OCS Inventory NG\Agent\download> for packages
DOWNLOAD => No package found, exiting
DOWNLOAD => Unloading communication provider
DOWNLOAD => Execution duration: 00:00:00.
by (270 points)

what is in your server conf deploy DOWNLOAD_URI_INFO ?

0 votes
if you want to deploy software, your ocsinventory server must be https no http.
by (300 points)
0 votes

Hi,

As I see in download.log, no package is affected to a machine. => DOWNLOAD => No package found, exiting

Verify these points:

  • a copy of the server certificate must be present on the client
  • https is valided on the ocs server and @ip_server_ocs/download url can be reached
  • a package has been affected to a machine

Regards

by (90.2k points)

Hi Frank and Juan,

thanks for reply!

Frank:

- A certificate is on each client

- https://myip/download:

Forbidden

You don't have permission to access /download on this server.

- i tried a testpackage (just make a .txt @ c:) but i didnt work.

I think my problem is the zertificate. I`m new at that. Today i read some about the cn must be correct in the certificate (domain or hostname). i think i did that part wrong and must build a new certifikate. I hate that part. Because you do not only build a certificate. You must edit 1000 other parts too and if you do just a single . wrong, you suck.

Most dokus i found arround ocs are obsolet and they gone confuse me.

Regards and thanks again

slicks, put ssl=0 in the ocsinventory agent (ocsinventory.ini)
 
Powered by Question2Answer
...