Monitoring Splunk

How to resolve the socket error I am getting when I try to start Splunk from Bash(Linux Virtual Machine running on Windows 10)

deepak02
Path Finder

Hi,

Server/VM Used: Linux VM ver3.4.0+ (via Bash utility running on windows 10)

I am installing a universal forwarder(Splunk Enterprise)

Steps Completed:
Step 1 (Successful): Install Splunk Enterprise using the command - tar xvzf splunkforwarder-6.5.2-67571ef4b87d-linux-2.6-x86_64 -C /opt
Step 2 (Error): Start Splunk Enterprise using ./splunk start --accept-license

The error is:

This appears to be your first time running this version of Splunk.

Splunk> Like an F-18, bro.

Checking prerequisites...
        Checking mgmt port [8089]: open
                Creating: /mnt/c/Users/xxxx/Splunk/opt/splunkforwarder/var/lib/splunk
                Creating: /mnt/c/Users/xxxx/Splunk/opt/splunkforwarder/var/run/splunk
                Creating: /mnt/c/Users/xxxx/Splunk/opt/splunkforwarder/var/run/splunk/appserver/i18n
                Creating: /mnt/c/Users/xxxx/Splunk/opt/splunkforwarder/var/run/splunk/appserver/modules/static/css
                Creating: /mnt/c/Users/xxxx/Splunk/opt/splunkforwarder/var/run/splunk/upload
                Creating: /mnt/c/Users/xxxx/Splunk/opt/splunkforwarder/var/spool/splunk
                Creating: /mnt/c/Users/xxxx/Splunk/opt/splunkforwarder/var/spool/dirmoncache
                Creating: /mnt/c/Users/xxxx/Splunk/opt/splunkforwarder/var/lib/splunk/authDb
                Creating: /mnt/c/Users/xxxx/Splunk/opt/splunkforwarder/var/lib/splunk/hashDb
terminate called after throwing an instance of 'ProcessRunnerException'
  what():  cannot set up ProcessRunner fd passing socket: Socket type not supported
Dying on signal #6 (si_code=-6), sent by PID 120 (UID 0). Attempting to clean up pidfile
ERROR: pid 120 terminated with signal 6 (core dumped)
SSL certificate generation failed.

Please help me resolve the above.

Tags (1)
0 Karma
1 Solution

deepak02
Path Finder

This is related to the question: Socket not supported error while installing universal forwarder on Bash (Virtual machine on windows).

You can find the answer in the link.
Hence closing.

https://answers.splunk.com/answers/492773/socket-not-supported-error-while-installing-univer.html

View solution in original post

0 Karma

deepak02
Path Finder

This is related to the question: Socket not supported error while installing universal forwarder on Bash (Virtual machine on windows).

You can find the answer in the link.
Hence closing.

https://answers.splunk.com/answers/492773/socket-not-supported-error-while-installing-univer.html

0 Karma

jkat54
SplunkTrust
SplunkTrust

Are you opening command prompt as an administrator? Open command prompt, then right click on command prompt icon in the taskbar, then right click on "command prompt" in the dialog that opens up, and then click on "run as administrator" in the dialog that opens. Finally, go to your splunk_home/bin directory and try your commands.

0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...