<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Health Check: msg=&amp;quot;A script exited abnormally with exit status: 1 issue in the ES SH. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Health-Check-msg-quot-A-script-exited-abnormally-with-exit/m-p/668260#M112011</link>
    <description>&lt;P&gt;Hi ,&lt;BR /&gt;&lt;BR /&gt;How we can fix this issue in ES SH "&lt;SPAN&gt;Health Check: msg="A script exited abnormally with exit status: 1" input=".$SPLUNK_HOME/etc/apps/splunk-dashboard-studio/bin/save_image_and_icon_on_install.py" stanza="default"&lt;BR /&gt;&lt;BR /&gt;Thanks..&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Nov 2023 17:12:30 GMT</pubDate>
    <dc:creator>AL3Z</dc:creator>
    <dc:date>2023-11-10T17:12:30Z</dc:date>
    <item>
      <title>Health Check: msg="A script exited abnormally with exit status: 1 issue in the ES SH.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Health-Check-msg-quot-A-script-exited-abnormally-with-exit/m-p/668260#M112011</link>
      <description>&lt;P&gt;Hi ,&lt;BR /&gt;&lt;BR /&gt;How we can fix this issue in ES SH "&lt;SPAN&gt;Health Check: msg="A script exited abnormally with exit status: 1" input=".$SPLUNK_HOME/etc/apps/splunk-dashboard-studio/bin/save_image_and_icon_on_install.py" stanza="default"&lt;BR /&gt;&lt;BR /&gt;Thanks..&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 17:12:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Health-Check-msg-quot-A-script-exited-abnormally-with-exit/m-p/668260#M112011</guid>
      <dc:creator>AL3Z</dc:creator>
      <dc:date>2023-11-10T17:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Health Check: msg="A script exited abnormally with exit status: 1 issue in the ES SH.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Health-Check-msg-quot-A-script-exited-abnormally-with-exit/m-p/668328#M112021</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/252275"&gt;@AL3Z&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;The cause depends on the output of&amp;nbsp;&lt;SPAN class=""&gt;save_image_and_icon_on_install&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;py.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Try this search:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;index=_internal sourcetype=splunkd&amp;nbsp;save_image_and_icon_on_install&lt;SPAN&gt;.&lt;/SPAN&gt;py&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Possible outcomes in Splunk Enterprise 9.1.1 / Dashboard Studio 1.11.6:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;1.&amp;nbsp;Unable to fetch kvstore status response: {}, content: {}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Check kvstore status, splunkd.log, and mongod.log.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2.&amp;nbsp;kvstore current status is {}. Exiting now.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Check kvstore status, splunkd.log, and mongod.log.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;3. Icons of {} version {} are already stored in kvstore collection. Skipping&amp;nbsp;now and exiting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;You can ignore this message; I'm not sure why Splunk used exit(1) in this case. You can configure the ES&amp;nbsp;&lt;SPAN&gt;Audit - Script Errors&lt;/SPAN&gt; health check to ignore the script failure, but you risk ignoring valid&amp;nbsp;save_image_and_icon_on_install&lt;SPAN&gt;.&lt;/SPAN&gt;py issues as well. See &amp;lt;&lt;A href="https://docs.splunk.com/Documentation/ES/latest/Admin/Troubleshootscripterrors#Customize_messages_about_specific_scripts" target="_self"&gt;https://docs.splunk.com/Documentation/ES/latest/Admin/Troubleshootscripterrors#Customize_messages_about_specific_scripts&lt;/A&gt;&amp;gt;. This specific save_image_and_icon_on_install&lt;SPAN&gt;.&lt;/SPAN&gt;py use case is even covered in the documentation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;4.&amp;nbsp;kvstore status is {}, exiting now.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;This exits with code 0 and won't generate a system message; however, check kvstore status, splunkd.log, and mongod.log.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;5. Failed to connect to splunkd.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;You're unlike to see this, but if you do, check splunkd.log and python.log.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;6.&amp;nbsp;Failed to save icons to kvstore due to an error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Check kvstore status, splunkd.log, and mongod.log.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Nov 2023 18:20:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Health-Check-msg-quot-A-script-exited-abnormally-with-exit/m-p/668328#M112021</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2023-11-11T18:20:55Z</dc:date>
    </item>
  </channel>
</rss>

