- Flexera Community
- :
- FlexNet Manager
- :
- FlexNet Manager Forum
- :
- ERROR: Unable to create temporary directory "/root/ndtrack.1373.12007.120703"
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 (/)."
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
- $HOME
- /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.
This thread has been automatically locked due to inactivity.
To continue the discussion, please start a new thread.
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
- $HOME
- /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.
