<?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 Re: Getting errors messages Health Check: msg=&amp;quot;A script exited abnormally with exit status:1&amp;quot; input=&amp;quot;../c in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Getting-errors-messages-Health-Check-msg-quot-A-script-exited/m-p/604100#M10898</link>
    <description>&lt;P&gt;In your case the error message seems to be linked to a specific script, in a specific stanza, in a specific app. I would look into that particular input script, "&lt;SPAN&gt;duo_input.py&lt;/SPAN&gt;". Perhaps it's using unsupported Python 2 (as opposed to Python 3)?&lt;/P&gt;</description>
    <pubDate>Fri, 01 Jul 2022 10:00:37 GMT</pubDate>
    <dc:creator>hettervik</dc:creator>
    <dc:date>2022-07-01T10:00:37Z</dc:date>
    <item>
      <title>Getting errors messages Health Check: msg="A script exited abnormally with exit status:1" input="../configuration_chekc.py" after upgrading from Splunk Enterprise Security 5.1.1 to 6.1.0</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Getting-errors-messages-Health-Check-msg-quot-A-script-exited/m-p/483775#M7881</link>
      <description>&lt;P&gt;We have upgraded Splunk Enterprise recently to 8.0.2.1 and all the apps in our environment to the latest version. One of them is the Splunk Enterprise Security app to 6.1.0. We started receiving errors messages  as "Health Check: msg="A script exited abnormally with exit status:1" input="opt/splunk/etc/apps/SA-Utils/bin/configuration_check.py stanza="configuration_check://confcheck_escorrelationmigration"  .&lt;BR /&gt;
Similar errors are popping for all the input stanzas in SplunkEnterpriseSecuritySuite configuration_check://&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:09:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Getting-errors-messages-Health-Check-msg-quot-A-script-exited/m-p/483775#M7881</guid>
      <dc:creator>schandrasekar</dc:creator>
      <dc:date>2020-09-30T05:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Getting errors messages Health Check: msg="A script exited abnormally with exit status:1" input="../configuration_chekc.py" after upgrading from Splunk Enterprise Security 5.1.1 to 6.1.0</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Getting-errors-messages-Health-Check-msg-quot-A-script-exited/m-p/483776#M7882</link>
      <description>&lt;P&gt;Hi @schandrasekar, in Splunk 8.0 more items have been added to warning/error alerts, check to make sure you don't leave everything active as it could be overwhelming. &lt;BR /&gt;
Also could you please have a look in your internal logs and share additional errors related to this issue ? &lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 05:26:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Getting-errors-messages-Health-Check-msg-quot-A-script-exited/m-p/483776#M7882</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2020-04-28T05:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Getting errors messages Health Check: msg="A script exited abnormally with exit status:1" input="../configuration_chekc.py" after upgrading from Splunk Enterprise Security 5.1.1 to 6.1.0</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Getting-errors-messages-Health-Check-msg-quot-A-script-exited/m-p/483777#M7883</link>
      <description>&lt;P&gt;Hi David , Thanks for your response . &lt;STRONG&gt;Here is the python_modular_input.log&lt;/STRONG&gt;&lt;BR /&gt;
&lt;EM&gt;2020-04-28 01:09:28,980+0000 ERROR pid=32226 tid=MainThread file=base_modinput.py:execute:773 | Execution failed: [HTTP 401] Client is not authenticated&lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
  File "/opt/splunk/etc/apps/SplunkEnterpriseSecuritySuite/lib/SplunkEnterpriseSecuritySuite/modinput/base_modinput.py", line 764, in execute&lt;BR /&gt;
    always_run=always_run)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/SplunkEnterpriseSecuritySuite/lib/SplunkEnterpriseSecuritySuite/modinput/base_modinput.py", line 315, in do_run&lt;BR /&gt;
    self.run(stanzas)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/SplunkEnterpriseSecuritySuite/bin/ess_content_importer.py", line 199, in run&lt;BR /&gt;
    exec_status, exec_status_msg = should_execute(session_key=self.&lt;EM&gt;input_config.session_key)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/SplunkEnterpriseSecuritySuite/lib/SplunkEnterpriseSecuritySuite/pooling.py", line 186, in should_execute&lt;BR /&gt;
    if is_cluster_member(session_key):&lt;BR /&gt;
  File "/opt/splunk/etc/apps/SplunkEnterpriseSecuritySuite/lib/SplunkEnterpriseSecuritySuite/pooling.py", line 53, in is_cluster_member&lt;BR /&gt;
    r, c = splunk.rest.simpleRequest(uri, sessionKey=session_key, getargs=getargs)&lt;BR /&gt;
  File "/opt/splunk/lib/python3.7/site-packages/splunk/rest/&lt;/EM&gt;&lt;EM&gt;init&lt;/EM&gt;&lt;EM&gt;.py", line 553, in simpleRequest&lt;BR /&gt;
    raise splunk.AuthenticationFailed&lt;BR /&gt;
splunk.AuthenticationFailed: [HTTP 401] Client is not authenticated&lt;BR /&gt;
2020-04-28 01:09:29,057+0000 INFO pid=32351 tid=MainThread file=base_modinput.py:execute:718 | Execute called&lt;BR /&gt;
2020-04-28 01:09:29,218+0000 ERROR pid=32351 tid=MainThread file=base_modinput.py:execute:773 | Execution failed: [HTTP 401] Client is not authenticated&lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
  File "/opt/splunk/etc/apps/SA-Utils/lib/SolnCommon/modinput/base_modinput.py", line 764, in execute&lt;BR /&gt;
    always_run=always_run)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/SA-Utils/lib/SolnCommon/modinput/base_modinput.py", line 315, in do_run&lt;BR /&gt;
    self.run(stanzas)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/DA-ESS-ThreatIntelligence/bin/threat_intelligence_manager.py", line 890, in run&lt;BR /&gt;
    self._stanza_name)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/DA-ESS-ThreatIntelligence/bin/threat_intelligence_manager.py", line 690, in getStanzaNamespace&lt;BR /&gt;
    response, content = splunk.rest.simpleRequest(uri, getargs=getargs, sessionKey=session_key)&lt;BR /&gt;
  File "/opt/splunk/lib/python3.7/site-packages/splunk/rest/&lt;/EM&gt;&lt;EM&gt;init&lt;/EM&gt;_.py", line 553, in simpleRequest&lt;BR /&gt;
    raise splunk.AuthenticationFailed&lt;BR /&gt;
splunk.AuthenticationFailed: [HTTP 401] Client is not authenticated&lt;BR /&gt;
2020-04-28 01:10:28,836+0000 INFO pid=1547 tid=MainThread file=base_modinput.py:execute:718 | Execute called&lt;BR /&gt;
2020-04-28 01:10:29,027+0000 INFO pid=1685 tid=MainThread file=base_modinput.py:execute:718 | Execute called&lt;BR /&gt;
2020-04-28 01:10:29,082+0000 INFO pid=1695 tid=MainThread file=base_modinput.py:execute:718 | Execute called&lt;BR /&gt;
2020-04-28 01:10:29,107+0000 INFO pid=1656 tid=MainThread file=base_modinput.py:execute:718 | Execute called&lt;BR /&gt;
2020-04-28 01:10:29,126+0000 ERROR pid=1685 tid=MainThread file=base_modinput.py:execute:773 | Execution failed: [HTTP 401] Client is not authenticated&lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
  File "/opt/splunk/etc/apps/SplunkEnterpriseSecuritySuite/lib/SplunkEnterpriseSecuritySuite/modinput/base_modinput.py", line 764, in execute&lt;BR /&gt;
    always_run=always_run)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/SplunkEnterpriseSecuritySuite/lib/SplunkEnterpriseSecuritySuite/modinput/base_modinput.py", line 315, in do_run&lt;BR /&gt;
    self.run(stanzas)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/SplunkEnterpriseSecuritySuite/bin/app_permissions_manager.py", line 214, in run&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Here is the configuration_check.log&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;2020-04-25 12:42:30,124+0000 INFO pid=17198 tid=MainThread file=configuration_check.py:run:135 | status="retrieved task" task="confcheck_app_exports"&lt;BR /&gt;
2020-04-25 12:42:30,241+0000 ERROR pid=17198 tid=MainThread file=configuration_check.py:run:277 | status="Authentication exception when executing configuration check" exc="[HTTP 401] Client is not authenticated"&lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
  File "/opt/splunk/etc/apps/SA-Utils/bin/configuration_check.py", line 139, in run&lt;BR /&gt;
    entity_id, sessionKey=self.&lt;EM&gt;input_config.session_key)&lt;BR /&gt;
  File "/opt/splunk/lib/python3.7/site-packages/splunk/models/base.py", line 572, in get&lt;BR /&gt;
    return SplunkRESTManager(cls, sessionKey=sessionKey).get(id)&lt;BR /&gt;
  File "/opt/splunk/lib/python3.7/site-packages/splunk/models/base.py", line 552, in get&lt;BR /&gt;
    entity = self._get_entity(id, host_path=host_path)&lt;BR /&gt;
  File "/opt/splunk/lib/python3.7/site-packages/splunk/models/base.py", line 468, in _get_entity&lt;BR /&gt;
    return self._fix_entity(splunk.entity.getEntity(self.model.resource, None, sessionKey=self.sessionKey, uri=id))&lt;BR /&gt;
  File "/opt/splunk/lib/python3.7/site-packages/splunk/entity.py", line 276, in getEntity&lt;BR /&gt;
    serverResponse, serverContent = rest.simpleRequest(uri, getargs=kwargs, sessionKey=sessionKey, raiseAllErrors=True)&lt;BR /&gt;
  File "/opt/splunk/lib/python3.7/site-packages/splunk/rest/&lt;/EM&gt;&lt;EM&gt;init&lt;/EM&gt;&lt;EM&gt;.py", line 553, in simpleRequest&lt;BR /&gt;
    raise splunk.AuthenticationFailed&lt;BR /&gt;
splunk.AuthenticationFailed: [HTTP 401] Client is not authenticated&lt;BR /&gt;
2020-04-25 12:42:30,243+0000 INFO pid=17198 tid=MainThread file=configuration_check.py:run:299 | status="exiting" exit_status="2"&lt;BR /&gt;
2020-04-25 12:43:30,108+0000 INFO pid=18332 tid=MainThread file=configuration_check.py::304 | status="starting"&lt;BR /&gt;
2020-04-25 12:43:30,110+0000 INFO pid=18332 tid=MainThread file=configuration_check.py:run:129 | status="executing"&lt;BR /&gt;
2020-04-25 12:43:30,110+0000 INFO pid=18332 tid=MainThread file=configuration_check.py:run:135 | status="retrieved task" task="confcheck_app_exports"&lt;BR /&gt;
2020-04-25 12:43:30,220+0000 ERROR pid=18332 tid=MainThread file=configuration_check.py:run:277 | status="Authentication exception when executing configuration check" exc="[HTTP 401] Client is not authenticated"&lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
  File "/opt/splunk/etc/apps/SA-Utils/bin/configuration_check.py", line 139, in run&lt;BR /&gt;
    entity_id, sessionKey=self._input_config.session_key)&lt;BR /&gt;
  File "/opt/splunk/lib/python3.7/site-packages/splunk/models/base.py", line 572, in get&lt;BR /&gt;
    return SplunkRESTManager(cls, sessionKey=sessionKey).get(id)&lt;BR /&gt;
  File "/opt/splunk/lib/python3.7/site-packages/splunk/models/base.py", line 552, in get&lt;BR /&gt;
    entity = self._get_entity(id, host_path=host_path)&lt;BR /&gt;
  File "/opt/splunk/lib/python3.7/site-packages/splunk/models/base.py", line 468, in _get_entity&lt;BR /&gt;
    return self._fix_entity(splunk.entity.getEntity(self.model.resource, None, sessionKey=self.sessionKey, uri=id))&lt;BR /&gt;
  File "/opt/splunk/lib/python3.7/site-packages/splunk/entity.py", line 276, in getEntity&lt;BR /&gt;
    serverResponse, serverContent = rest.simpleRequest(uri, getargs=kwargs, sessionKey=sessionKey, raiseAllErrors=True)&lt;BR /&gt;
  File "/opt/splunk/lib/python3.7/site-packages/splunk/rest/&lt;/EM&gt;&lt;EM&gt;init&lt;/EM&gt;_.py", line 553, in simpleRequest&lt;BR /&gt;
    raise splunk.AuthenticationFailed&lt;BR /&gt;
splunk.AuthenticationFailed: [HTTP 401] Client is not authenticated&lt;BR /&gt;
2020-04-25 12:43:30,222+0000 INFO pid=18332 tid=MainThread file=configuration_check.py:run:299 | status="exiting" exit_status="2"&lt;BR /&gt;
2020-04-25 12:44:30,066+0000 INFO pid=19331 tid=MainThread file=configuration_check.py::304 | status="starting"&lt;BR /&gt;
2020-04-25 12:44:30,067+0000 INFO pid=19331 tid=MainThread file=configuration_check.py:run:129 | status="executing"&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:09:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Getting-errors-messages-Health-Check-msg-quot-A-script-exited/m-p/483777#M7883</guid>
      <dc:creator>schandrasekar</dc:creator>
      <dc:date>2020-09-30T05:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Getting errors messages Health Check: msg="A script exited abnormally with exit status:1" input="../c</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Getting-errors-messages-Health-Check-msg-quot-A-script-exited/m-p/533299#M9561</link>
      <description>&lt;P&gt;Hi. Did you find out why you are getting these error messages? We too are getting a lot of errors related to "a&lt;SPAN class="t h"&gt;uthentication&lt;/SPAN&gt; &lt;SPAN class="t"&gt;exception&lt;/SPAN&gt; &lt;SPAN class="t"&gt;when&lt;/SPAN&gt; &lt;SPAN class="t"&gt;executing&lt;/SPAN&gt; &lt;SPAN class="t"&gt;configuration&lt;/SPAN&gt; &lt;SPAN class="t"&gt;check&lt;/SPAN&gt;&lt;SPAN&gt;" and "[&lt;SPAN class="t"&gt;HTTP&lt;/SPAN&gt; &lt;SPAN class="t"&gt;401&lt;/SPAN&gt;] &lt;SPAN class="t"&gt;Client&lt;/SPAN&gt; &lt;SPAN class="t"&gt;is&lt;/SPAN&gt; &lt;SPAN class="t"&gt;not&lt;/SPAN&gt; &lt;SPAN class="t"&gt;authenticated&lt;/SPAN&gt;" from the&amp;nbsp;&lt;SPAN class="t"&gt;configuration_check&lt;/SPAN&gt;.&lt;SPAN class="t"&gt;py. We can't figure out why.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 09:09:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Getting-errors-messages-Health-Check-msg-quot-A-script-exited/m-p/533299#M9561</guid>
      <dc:creator>hettervik</dc:creator>
      <dc:date>2020-12-16T09:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Getting errors messages Health Check: msg="A script exited abnormally with exit status:1" input="../c</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Getting-errors-messages-Health-Check-msg-quot-A-script-exited/m-p/604090#M10896</link>
      <description>&lt;P&gt;Hi, I am also facing the same issue post Splunk upgrade, is there any solution..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Health Check: msg="A script exited abnormally with exit status: 1" input="./opt/splunk/etc/apps/duo_splunkapp/bin/duo_input.py" stanza="duo_input://PureConnectCloud Splunk Logs"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 08:23:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Getting-errors-messages-Health-Check-msg-quot-A-script-exited/m-p/604090#M10896</guid>
      <dc:creator>sruthimadhu</dc:creator>
      <dc:date>2022-07-01T08:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting errors messages Health Check: msg="A script exited abnormally with exit status:1" input="../c</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Getting-errors-messages-Health-Check-msg-quot-A-script-exited/m-p/604100#M10898</link>
      <description>&lt;P&gt;In your case the error message seems to be linked to a specific script, in a specific stanza, in a specific app. I would look into that particular input script, "&lt;SPAN&gt;duo_input.py&lt;/SPAN&gt;". Perhaps it's using unsupported Python 2 (as opposed to Python 3)?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 10:00:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Getting-errors-messages-Health-Check-msg-quot-A-script-exited/m-p/604100#M10898</guid>
      <dc:creator>hettervik</dc:creator>
      <dc:date>2022-07-01T10:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Getting errors messages Health Check: msg="A script exited abnormally with exit status:1" input="../c</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Getting-errors-messages-Health-Check-msg-quot-A-script-exited/m-p/604109#M10899</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/245840"&gt;@sruthimadhu&lt;/a&gt;&amp;nbsp;Two questions :&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Share your Splunk versions - previous and updated.&lt;/LI&gt;&lt;LI&gt;What is the version of duo_splunk app in use and the monitoring stanza content for&amp;nbsp;&lt;SPAN&gt;duo_input://PureConnectCloud Splunk Logs".&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The error clearly pointing out that there is an issue in executing your monitoring input stanza PureConnectCloud.&lt;/P&gt;&lt;P&gt;Refer this from Splunk.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/ES/7.0.1/Admin/Troubleshootscripterrors" target="_blank"&gt;Troubleshoot script errors in Splunk Enterprise Security - Splunk Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 11:23:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Getting-errors-messages-Health-Check-msg-quot-A-script-exited/m-p/604109#M10899</guid>
      <dc:creator>kkrises</dc:creator>
      <dc:date>2022-07-01T11:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Getting errors messages Health Check: msg="A script exited abnormally with exit status:1" input="../c</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Getting-errors-messages-Health-Check-msg-quot-A-script-exited/m-p/604116#M10900</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240183"&gt;@kkrises&lt;/a&gt;&amp;nbsp;&lt;SPAN&gt;Splunk versions - previous 7.2.1 and updated 8.2.6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And Duo connector app&amp;nbsp;previous 1.1.2 and&amp;nbsp;updated 1.1.9&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Stanza consists of inputs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[duo_input://PureConnectCloud Splunk Logs]&lt;BR /&gt;api_host = api-XXXXXXX&lt;BR /&gt;host = duo_XX_XXX&lt;BR /&gt;ikey = XXXXXXXXXX&lt;BR /&gt;index = duo&lt;BR /&gt;interval = 600&lt;BR /&gt;skey = XXXXXXXXXXX&lt;BR /&gt;sourcetype = json&lt;BR /&gt;source = duo&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 12:18:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Getting-errors-messages-Health-Check-msg-quot-A-script-exited/m-p/604116#M10900</guid>
      <dc:creator>sruthimadhu</dc:creator>
      <dc:date>2022-07-01T12:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting errors messages Health Check: msg="A script exited abnormally with exit status:1" input="../c</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Getting-errors-messages-Health-Check-msg-quot-A-script-exited/m-p/604120#M10902</link>
      <description>&lt;P&gt;We are using python 3.7 and multiple python versions are installed on the server, but in &lt;SPAN&gt;$SPLUNK_HOME/etc/system/local we set python.version = force_python3&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 12:30:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Getting-errors-messages-Health-Check-msg-quot-A-script-exited/m-p/604120#M10902</guid>
      <dc:creator>sruthimadhu</dc:creator>
      <dc:date>2022-07-01T12:30:06Z</dc:date>
    </item>
  </channel>
</rss>

