Getting error while downloading forwarder in Ubuntu, 20.04 LTS, amd64 focal image built on 2025-04-08
Reinstalled, tried a bunch of commands to check for any issues, but could not find any solution. Tried different versions of the ubuntu architecture, still the same. This is stopping my instance to run splunk [ Allowed http traffic, firewall port open..etc]
cd /opt/splunkforwarder/bin/ splunk validate files
Setting up splunkforwarder (9.4.1) ...
find: ‘/opt/splunkforwarder/lib/python3.7/site-packages’: No such file or directory
find: ‘/opt/splunkforwarder/lib/python3.9/site-packages’: No such file or directory
find: ‘/opt/splunkforwarder/lib/python3.7/site-packages’: No such file or directory
find: ‘/opt/splunkforwarder/lib/python3.9/site-packages’: No such file or directory
complete
FYI - I got the same problem installing on a ubuntu 22.04 VM.
Splunkd is up and running though so perhaps, as suggested above, this is a red herring?
Hi @Gururaj1
Splunk UF should not have a python site-packages as UF installation does not include Python.
Please can you confirm what manifest file you have in /opt/splunkforwarder? If you are using 64-bit version it should be called splunkforwarder-9.4.1-e3bdab203ac8-linux-amd64-manifest.
This manifest file does not contain reference to the Python libraries.
Please can you confirm the filename of the Splunk installation file you used to install the UF?
@kiran_panchavat please can you let me know the community posts you're referring to where people with Ubuntu are having issues with UF installs so I can see if there is an underlying common issue.
🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing
@livehybrid @kiran_panchavat PFA, this is so weird, i have seen few cases like this in the community with no solution. I tried multiple OS of Linux and older versions of forwarder, but its still the same.. Please find a solution as i tried a lot of versions here...
splunkforwarder-9.4.1-e3bdab203ac8-linux-amd64-manifest
older version 9.4.0 splunk forwarder - splunkforwarder-9.4.0-6b4ebe426ca6-linux-amd64-manifest
Even if I read of many problems using Ubuntu reported by the Community members.
I don't have special reccomandations: only follow all the installation steps documented at https://docs.splunk.com/Documentation/Splunk/9.0.5/Installation/InstallonLinux https://docs.splunk.com/Documentation/Forwarder/9.0.5/Forwarder/Installanixuniversalforwarder but it's a very simple procedure.
@kiran_panchavat @livehybrid Unfortunately , there seems to be no solution for this, i tried and followed the exact steps mentioned in the given below Splunk Doc, but i encounter the same error again and again. Do u know how to mitigate this scenarios or any further suggestions on why this is happening. I tried in few of the different settings of VMs where different platforms of linux were installed along with that i increased the capacity of the OS to ensure no issues on the other side. The issue seems to residing in unbundling of the downloaded packages.
I understand installation is being corrupted but the package is being downloaded from splunk site right?
it shows all files intact but unable to host forwarder in an instance
I am stuck here with no specific solutions...
FYI -Tried different linux OS/versions, tried downgrading the SF versions as well... increased capacity of OS
Hi @Gururaj1
Just to check - apart from the errors you mentioned - Does Splunk install correctly? Those errors dont necessarily mean there is an issue - its likely that part of the debian preinst script which calls a "temp_splunk-preinstall" file - this is looking for those locations to do *something* - "find" is usually used to "find" something (file/folder) and then do something to it like update permissions or something.
If the find returns no files the script looks to continue, finally finishing with "complete" - at this point I'd expect your install to be complete - Since you splunk validate command returned a success I thing these "errors" are benign.
The existence of them is either a mistake in that script - OR - it could be for something we arent necessarily aware of.
Either way, If the files get installed then I'm confident this isnt an issue.
🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing
Hello @livehybrid , thank you for the update,
I would have ignored this if I was able to access the splunk UF webpage. But the issue here the webpage timeout appears and I tested the exact scenario with splunk HF and Splunk Enterprise 9.4.1 and it works perfectly fine[No errors while installation]. Am i missing something here ?
However, thank you. If you find any resolution to this, please do let me know. As the issue is unknown, not sure how to tackle..
Hi @Gururaj1
The UF does not have a web UI.
Check /opt/splunkforwarder/var/log/splunk/splunkd.log to see if the server is running (it should update quite regularly)
🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing