Deployment Architecture

deployment server Application warning

saifuddin9122
Path Finder

Hello All

i am getting a warning AS

Application - There might be some btool errors in the app at /apps/splunk/etc/deployment-apps/rpt_inputs, Deployment Clients receiving this app might not start up. We recommend fixing these errors and reloading the serverclass

can any one help me understand what does it mean and how to solve it?

Thanks

jawaharas
Motivator

The error is due to missing *.conf.spec file under README folder of corresponding apps under /opt/splunk/etc/deployment-apps directory.

Try below steps to validate your apps under /opt/splunk/etc/deployment-apps

cd /opt/splunk/etc/
mkdir deployment-apps-for-btool
cd deployment-apps-for-btool
ln -s /opt/splunk/etc/deployment-apps apps
/opt/splunk/bin/splunk btool  check --dir=/opt/splunk/etc/deployment-apps-for-btool/ | grep 'No Spec file'

Reference:
https://docs.splunk.com/Documentation/Splunk/8.0.1/Troubleshooting/Usebtooltotroubleshootconfigurati...

0 Karma

sbbadri
Motivator

I guess corresponding UF is not up and running.

If UF is up and running try to reload the serverclass by issuing this command from your deployment servers

cd $SPLUNK_HOME/bin
./splunk reload deploy-server -class corresponding_server_class_app_name

0 Karma

adonio
Ultra Champion

probably some bad stanzas or syntax in the conf files of the apps.
can you share the content?
you can use the btool command to check the files in this app:
https://docs.splunk.com/Documentation/Splunk/6.6.2/Troubleshooting/Usebtooltotroubleshootconfigurati...
something like this:
./splunk cmd btool --app=rpt_inputs conf_file_prefix list --debug
hope it helps

0 Karma

saifuddin9122
Path Finder

./splunk cmd btool --app=/apps/splunk/etc/deployment-apps/rpt_inputs inputs list --debug when i ran this command it is giving me the following output "Application does not exist: rpt_inputs"

0 Karma

adonio
Ultra Champion

look at the syntax again
you placed the full path to application, i think you need to put only the app name

0 Karma

saifuddin9122
Path Finder

i tried both same out put for both commands (with full path and only app name)

0 Karma

adonio
Ultra Champion

navigate to /deployment-apps/ is the app there?

0 Karma

saifuddin9122
Path Finder

yes. the app exists

0 Karma

emikulic
Explorer

I have tried all these too and cannot seem to get deployment server apps checked. the btool output is simply silent.

0 Karma
Get Updates on the Splunk Community!

Improve Your Security Posture

Watch NowImprove Your Security PostureCustomers are at the center of everything we do at Splunk and security ...

Maximize the Value from Microsoft Defender with Splunk

 Watch NowJoin Splunk and Sens Consulting for this Security Edition Tech TalkWho should attend:  Security ...

This Week's Community Digest - Splunk Community Happenings [6.27.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...