Installation

Request to remove Splunkforwarder9.X version force request tty env restriction

ShawnC
Observer

When I doing splunkforwarder version upgrade to 9.X which always failed due to below error

- Migration information is being logged to '/opt/splunkforwarder/var/log/splunk/migration.log.2024-03-25.18-09-26' --
Error calling execve(): No such file or directory
Error launching  command: No such file or directory

 

As per the discussion on the link:   https://community.splunk.com/t5/Installation/Upgrading-Universal-Forwarder-8-x-x-to-9-x-x-does-not-w...  who said we have to enable the tty env option on the docker runtime to successfully bring up Splunkforward9.X

Indeed I added the tty config on my docker compose file and it works. But I would say it is werse, bad workaround way to bring up splunkforwarder9.X. 

Why the forwarder9.X version force ask for the tty terminal env to run up?  Can we remove this restriction? In many case, we have to bring up splunkforwarder instance within a background program but not in a terminal, and for some case we have to use process manager to control splunkforwarder start resume...

Anyway, can we remove the tty restriction for newer splunkforwarder9.X just like what it did on 8.X and 7.X

 

0 Karma

splunkuser23409
New Member

Did you ever find an answer or a solution other than adding tty?

0 Karma

ShawnC
Observer

@isoutamo any one could help to take a look

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...