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
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'
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
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
./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"
look at the syntax again
you placed the full path to application, i think you need to put only the app name
i tried both same out put for both commands (with full path and only app name)
navigate to /deployment-apps/ is the app there?
yes. the app exists
I have tried all these too and cannot seem to get deployment server apps checked. the btool output is simply silent.