Loading
ERROR: Unable to create temporary directory "/root/ndtrack.1373.12007.120703"

We are using Light inventory scanner on Linux.

We need to change the temp folder location of the extracted binaries, to a custom folder

 

Because "/" is often Read-Only

 

What file or value controls this temp folder location?

In our third party tool, ndtrack.sh and ndtrack.ini are being deployed to custom folder

 

//servername/opt/flexera/inventory

However, we are receiving error on some systems

 

ERROR: Unable to create temporary directory "/root/ndtrack.1373.12007.120703".

 

Info Ndtrack EC: 104: Execution failed.

Below is from Flex Inventory documentation:

 

"During Light inventory scanner deployment

 

You may execute ndtrack.sh as root (recommended),

At each invocation, ndtrack.sh:

 

First determines the current operating system, and extracts the binaries appropriate to that platform to a unique folder under the home directory of the current user, provided that this has sufficient space and is not the root

 

directory (/)."

  • ChrisG (Flexera Software)

    The documentation information you've found is accurate (with the addition that /var/tmp is also checked in addition to the current user's home directory). Unfortunately the directory used by the ndtrack.sh script for temporarily extracting the files used for gathering inventory cannot be overridden.

    To elaborate: the logic the script uses for choosing the extraction directory is to check the following two directories in order:

    1. $HOME
    2. /var/tmp

    The script uses the first directory found where there is sufficient free space on the filesystem to hold the extracted content.

    The script assumes that it has write access to the chosen location.

    Expand Post
    Selected as Best
  • ChrisG (Flexera Software)

    The documentation information you've found is accurate (with the addition that /var/tmp is also checked in addition to the current user's home directory). Unfortunately the directory used by the ndtrack.sh script for temporarily extracting the files used for gathering inventory cannot be overridden.

    To elaborate: the logic the script uses for choosing the extraction directory is to check the following two directories in order:

    1. $HOME
    2. /var/tmp

    The script uses the first directory found where there is sufficient free space on the filesystem to hold the extracted content.

    The script assumes that it has write access to the chosen location.

    Expand Post
    Selected as Best

Related  Product Forums


                     â†’ Flexera One



                      â†’ Snow Atlas



                      â†’ FlexNet Manager



                      â†’ Snow License Manager



                       â†’ App Broker


       Need help finding an answer?


        Ask a Question →


Loading
ERROR: Unable to create temporary directory "/root/ndtrack.1373.12007.120703"