trying to forward logs from node process that runs on a raspberry pi model 3b
the error i get when i try ti run the splunk universal forwarder on my pi
running the file command on the splunk executable returns this result:
of course i downloaded the arm version of the universal forwarder.
any help will be much appreciated
First thing I notice is that you aren't passing in any arguments. Simply running the splunk binary won't have any effect. If you're trying to start it up for the first time try using:
Try adding execute permissions to the binary:
chmod +x $SPLUNK_HOME/bin/splunk
Also, who owns it? If it's owned by root be sure you are using sudo or log in as the root user.
sudo $SPLUNK_HOME/bin/splunk start
Really appreciate your helping!
As I said before as I suspect the issue here is that the OS cannot execute the file at all.
Tried you suggestion and got the same error, the file permissions are:
so no issue there.
Any other ideas? thanks again!
Who owns the binary? It looks like you have it installed at /home/pi so you'll need to either run it as root or as the "pi" user. Any user other than root or "pi" won't be able to execute it.
You might also check the reply by @hsesterhenn_spl on this topic: