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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...