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!

2024 Splunk Career Impact Survey | Earn a $20 gift card for participating!

Hear ye, hear ye! The time has come again for Splunk's annual Career Impact Survey!  We need your help by ...

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...