Linux Agent Install Error: Cannot create temporary file - mkstemp: No such file or directory
book
Article ID: 286547
calendar_today
Updated On:
Products
Carbon Black App Control (formerly Cb Protection)
Issue/Introduction
During installation of the Linux Agent the following error is returned:
Cannot create temporary file - mkstemp: No such file or directory
ERROR: Failed to install b9notifier, rolling back install.
Environment
- App Control Agent: All Supported Versions
- Linux OS: All Supported Versions
Resolution
Manually download and install the missing dependencies using the following steps:
- Use Terminal to change to the directory where the Agent installation package is extracted, example:
cd /home/usr/Downloads/HE-Desktop-redhat/
- Use the RPM command to determine the Failed Dependencies, example:
sudo rpm -ivh b9agentRedhat9.rpm
- Review the output for Failed Dependencies, example:
error: Failed dependencies:
initscripts is needed by b9agent-VERSION
unzip is needed by b9agent-VERSION
- Install the missing dependencies, example:
sudo yum install initscripts unzip
- If installing the Agent with the notifier, repeat the steps with the Notifier RPM, example:
sudo rpm -ivh b9notifierRedhat9.rpm
- After manual installation of the dependencies has completed, attempt the Agent installation again.
If the issue persists open a case with Support and provide:
- Output from the command:
uname -a
- The full install log and screenshots of all relevant error(s).
Feedback
thumb_up
Yes
thumb_down
No