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

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

Error at starting command UNC path

Hy there,

I sucessfully installed and configured OCS Server 2.3.1 with Windows Agent 2.3.0.

Package Deployment is working flawless with one exception:

I´m trying to execute a setup file for VRED 2018 wich is located at a network location.

Here are the logs:

Download.log

==============================================================================
Starting OCS Inventory NG Package Download and Setup Tool on Thursday, July 20, 2017 09:46:52.
DOWNLOAD => Running OCS Inventory NG Download Version 2.3.0.0
DOWNLOAD => Using OCS Inventory NG FrameWork Version 2.3.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.3.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\1500536680>
DOWNLOAD => Package <1500536680> verified and added to process queue
    DOWNLOAD => Processing packages for cycle 1 on Thursday, July 20, 2017 09:46:52
    DOWNLOAD => Pausing for cycle latency (10 seconds)
    DOWNLOAD => Processing packages for cycle 2 on Thursday, July 20, 2017 09:47:02
    DOWNLOAD => Pausing for cycle latency (10 seconds)
    DOWNLOAD => Processing packages for cycle 3 on Thursday, July 20, 2017 09:47:12
    DOWNLOAD => Pausing for cycle latency (10 seconds)
    DOWNLOAD => Processing packages for cycle 4 on Thursday, July 20, 2017 09:47:22
    DOWNLOAD => Pausing for cycle latency (10 seconds)
    DOWNLOAD => Processing packages for cycle 5 on Thursday, July 20, 2017 09:47:32
DOWNLOAD => Executing action <EXECUTE> for package <1500536680>
    PACKAGE => Executing command <\\192.168.XXX.XXX\deployment\vred2018u1\Img\Setup.exe /qb /I \\192.168.XXX.XXX\deployment\vred2018u1\Img\VRED2018U1.ini /Trial /language en-US> for package <1500536680> on <Thursday, July 20, 2017 09:47:32>
    PACKAGE => Package <1500536680> successfully executed. Command exit code is <1>. Package return code is <EXIT_CODE_1>
    PACKAGE => No post execution command provided for package <1500536680>
ERROR *** DOWNLOAD => Will not register package <1500536680> in history: result <EXIT_CODE_1> not a success
DOWNLOAD => Sending result code <EXIT_CODE_1> for package <1500536680>
    DID_CHECK => Read DeviceID <VISIR27-2017-07-15-03-14-16> and MACs <78:AC:C0:3D:AE:1878:AC:C0:3D:AE:19> 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://192.168.1.61/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
================= TRACE START ===============

If I excute this command manually (\\192.168.XXX.XXX\deployment\vred2018u1\Img\Setup.exe /qb /I \\192.168.XXX.XXX\deployment\vred2018u1\Img\VRED2018U1.ini /Trial /language en-US) in a cmd it´s working.

Can OCS handle UNC-Paths? Are there any other log files I could consult? Maybe on the server side (Linux)?

Any help is much appreciated!

Greetings

Simon
asked Jul 20, 2017 in Package deployment by Humaer (120 points)

1 Answer

0 votes
Hi,

Use absolute path not UNC path.

Regards

Frank
answered Jul 23, 2017 by frankb (53,050 points)
 
Powered by Question2Answer
...