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.

The Agent don´t Execute the Packages.

Hello,

i can activate packages and deploy them with no errors, the Agent downloade them and try to Execute them, but then nothing happens.

The Download log shows the following:

""

Starting OCS Inventory NG Package Download and Setup Tool on Monday, January 14, 2019 11:31:04.
DOWNLOAD => Running OCS Inventory NG Download Version 2.4.0.0
DOWNLOAD => Using OCS Inventory NG FrameWork Version 2.4.0.0
DOWNLOAD => Using network connection with Communication Server
DOWNLOAD => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.4.0.0>
DOWNLOAD => Starting new period of 10 cycles
DOWNLOAD => Parsing directory <C:\ProgramData\OCS Inventory NG\Agent\download> for packages
DOWNLOAD => Package <1547460519> verified and added to process queue
DOWNLOAD => High priority 0 package found, removing lower priority package from queue
DOWNLOAD => Executing action <LAUNCH> for package <1547460519>
""

Has anyone a Solution for this Problem? I tried it with different Commands, Files (.exe/.bat/.ini) and still staying at that point with nothing more. He shows me no Errors, too, so that i dont know what the Problem is.

Best Regards

BreDennis
in OCS Inventory NG agent for Windows by (640 points)
reshown by

16 Answers

0 votes
Try to disable antivirus software, firewall...check also uac

Also, try to force deployement

Regards
by (5.7k points)
0 votes
Turning off the Antivirus Programm and Firewall, doens´t work either.

Best Regards
by (640 points)
0 votes

server 2.5 windows client 2.4

same problem .

Starting OCS Inventory NG Package Download and Setup Tool on Tuesday, March 19, 2019 13:05:34.

DOWNLOAD => Running OCS Inventory NG Download Version 2.4.0.0

DOWNLOAD => Using OCS Inventory NG FrameWork Version 2.4.0.0

DOWNLOAD => Using network connection with Communication Server

COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>

DOWNLOAD => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.4.0.0>

DOWNLOAD => Starting new period of 10 cycles

DOWNLOAD => Flushing package queue

DOWNLOAD => Parsing directory <C:\ProgramData\OCS Inventory NG\Agent\download> for packages

DOWNLOAD => Verifying package <C:\ProgramData\OCS Inventory NG\Agent\download\1552991565>

DOWNLOAD => Package <1552991565> verified and added to process queue

DOWNLOAD => Processing packages for cycle 1 on Tuesday, March 19, 2019 13:05:34

DOWNLOAD => Pausing for cycle latency (15 seconds)

DOWNLOAD => Processing packages for cycle 2 on Tuesday, March 19, 2019 13:05:49

DOWNLOAD => Pausing for cycle latency (15 seconds)

DOWNLOAD => Processing packages for cycle 3 on Tuesday, March 19, 2019 13:06:04

DOWNLOAD => Pausing for cycle latency (15 seconds)

DOWNLOAD => Processing packages for cycle 4 on Tuesday, March 19, 2019 13:06:19

DOWNLOAD => Pausing for cycle latency (15 seconds)

DOWNLOAD => Processing packages for cycle 5 on Tuesday, March 19, 2019 13:06:34

DOWNLOAD => Executing action <EXECUTE> for package <1552991565>

PACKAGE => Executing command <C:\activation.bat> for package <1552991565> on <Tuesday, March 19, 2019 13:06:34>

PACKAGE => Package <1552991565> successfully executed. Command exit code is <1>. Package return code is <EXIT_CODE_1>

PACKAGE => No post execution command provided for package <1552991565>

ERROR *** DOWNLOAD => Will not register package <1552991565> in history: result <EXIT_CODE_1> not a success

DOWNLOAD => Sending result code <EXIT_CODE_1> for package <1552991565>

DID_CHECK => Read DeviceID <VOVKA-2019-02-26-16-19-37> and MACs <BC:AE:C5:21:25:8F30:9C:23:ED:53:D420:CF:30:81:53:7500:19:5B:86:D6:0F> 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 <cacert.pem>

COM SERVER => Sending HTTP Post request to URL <http://ocs-server.tk.sat.ua/ocsinventory>

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

COM SERVER => Cleaning cURL library

DOWNLOAD => Result code request successfully sent

DOWNLOAD => Pausing for fragment latency (5 seconds)

DOWNLOAD => Pausing for cycle latency (15 seconds)

DOWNLOAD => Processing packages for cycle 6 on Tuesday, March 19, 2019 13:06:54

DOWNLOAD => Pausing for cycle latency (15 seconds)

DOWNLOAD => Processing packages for cycle 7 on Tuesday, March 19, 2019 13:07:09

DOWNLOAD => Pausing for cycle latency (15 seconds)

DOWNLOAD => Processing packages for cycle 8 on Tuesday, March 19, 2019 13:07:24

DOWNLOAD => Pausing for cycle latency (15 seconds)

DOWNLOAD => Processing packages for cycle 9 on Tuesday, March 19, 2019 13:07:39

DOWNLOAD => Pausing for cycle latency (15 seconds)

DOWNLOAD => Processing packages for cycle 10 on Tuesday, March 19, 2019 13:07:54

DOWNLOAD => Pausing for cycle latency (15 seconds)

DOWNLOAD => Pausing for period latency (1 seconds)

DOWNLOAD => Starting new period of 10 cycles

DOWNLOAD => Flushing package queue

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:02:37.

on old server Ver. 2.0.5 win client 2.05 everything works fine.

eny solution ?

by (800 points)
0 votes
The same trouble :(   Do you find any solution ?
by (140 points)
0 votes
how do you trigger the package download ?

are you waiting for download or do you doubleklick on OCSInventory.exe ?

If you doublelick on OCSInventory.exe it happens that the agent trys to install the program under user context - which doesn't work

Kind regards
by (24.4k points)
0 votes
Hi,

Have you try to create again your ZIP packages with another log (thinking similar problem with zip software) ?

To isolate your problem, you can try this too :

Make 2 packages : First one package_A who write only file for your script on the client and a second package_B who execute script.

When; deploy package_A, result ? deploy package_B, result ?

Regard.
by (5.7k points)
 
Powered by Question2Answer
...