Installation

UF not installing apps with error - "splunkd is down" when it is up and running

sylim_splunk
Splunk Employee
Splunk Employee

I am completing the process of installing the credentials package to our universal forwarders to send data to the cloud like we did with our application service servers and I ran into an issue on the majority of the machines where I would get the following error:

/opt/splunkforwarder/bin/./splunk install app /tmp/splunkclouduf.spl
This command [POST /services/apps/local/] needs splunkd to be up, and splunkd is down.

Splunkd was definitely running. I even restarted it for good measure. Thirty percent of the machines executed the command fine, prompted me for UF credentials, and confirmed the installation was completed. Is this something you’ve run into before?

Labels (1)
0 Karma
1 Solution

sylim_splunk
Splunk Employee
Splunk Employee

It turned out that some UFs have mgmt port disabled due to the port scanning.  This has been worked around by enabling the port.


[httpServer]
disableDefaultPort = false (to enable mgmt)

There's a better solution for the annoying port scanner - acceptFrom = 127.0.0.1 - we deleted "disableDefaultPort = true" from "[httpServer]" stanza and added "acceptFrom" so that it only accepts connections from localhost. And we can issue splunk commands on the servers.

 

View solution in original post

sylim_splunk
Splunk Employee
Splunk Employee

It turned out that some UFs have mgmt port disabled due to the port scanning.  This has been worked around by enabling the port.


[httpServer]
disableDefaultPort = false (to enable mgmt)

There's a better solution for the annoying port scanner - acceptFrom = 127.0.0.1 - we deleted "disableDefaultPort = true" from "[httpServer]" stanza and added "acceptFrom" so that it only accepts connections from localhost. And we can issue splunk commands on the servers.

 

Get Updates on the Splunk Community!

Splunk Edge Processor | Popular Use Cases to Get Started with Edge Processor

Splunk Edge Processor offers more efficient, flexible data transformation – helping you reduce noise, control ...

3 Ways to Make OpenTelemetry Even Better

My role as an Observability Specialist at Splunk provides me with the opportunity to work with customers of ...

What's New in Splunk Cloud Platform 9.2.2406?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2406 with many ...