<?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 Why are there error messages in Splunkd: &amp;quot;ERROR ExecProcessor - message from &amp;quot;python...splunk_app_infrastructure\bin\em_entity_manager.py&amp;quot;? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-are-there-error-messages-in-Splunkd-quot-ERROR-ExecProcessor/m-p/434889#M3679</link>
    <description>&lt;P&gt;The messages below appear in splunkd.log from splunk_app_infrastructure. The splunk_app_infrastructure is running fine. Searching is also fine, only indexing lags so only old data is found. &lt;/P&gt;

&lt;P&gt;Additionally, when I try to upgrade an app, I get "Oops" and a drawing of a horse and "500 Internal Server Error". &lt;BR /&gt;
Here are the messages in splunkd.log - it seems to be an intense app so it prevents indexing (I think, but know not): &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ERROR ExecProcessor - message from "python D:\Programs\Splunk\etc\apps\splunk_app_infrastructure\bin\em_entity_manager.py"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Prepended to all the lines below &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Traceback (most recent call last): 
File "D:\Programs\Splunk\Python-2.7\Lib\logging\handlers.py", line 77, in emit 
self.doRollover() 
File "D:\Programs\Splunk\Python-2.7\Lib\logging\handlers.py", line 142, in doRollover 
os.rename(self.baseFilename, dfn) 
WindowsError: [Error 32] The process cannot access the file because it is being used by another process 
Logged from file em_model_entity.py, line 77 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 30 Sep 2020 00:18:33 GMT</pubDate>
    <dc:creator>dkolekar_splunk</dc:creator>
    <dc:date>2020-09-30T00:18:33Z</dc:date>
    <item>
      <title>Why are there error messages in Splunkd: "ERROR ExecProcessor - message from "python...splunk_app_infrastructure\bin\em_entity_manager.py"?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-are-there-error-messages-in-Splunkd-quot-ERROR-ExecProcessor/m-p/434889#M3679</link>
      <description>&lt;P&gt;The messages below appear in splunkd.log from splunk_app_infrastructure. The splunk_app_infrastructure is running fine. Searching is also fine, only indexing lags so only old data is found. &lt;/P&gt;

&lt;P&gt;Additionally, when I try to upgrade an app, I get "Oops" and a drawing of a horse and "500 Internal Server Error". &lt;BR /&gt;
Here are the messages in splunkd.log - it seems to be an intense app so it prevents indexing (I think, but know not): &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ERROR ExecProcessor - message from "python D:\Programs\Splunk\etc\apps\splunk_app_infrastructure\bin\em_entity_manager.py"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Prepended to all the lines below &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Traceback (most recent call last): 
File "D:\Programs\Splunk\Python-2.7\Lib\logging\handlers.py", line 77, in emit 
self.doRollover() 
File "D:\Programs\Splunk\Python-2.7\Lib\logging\handlers.py", line 142, in doRollover 
os.rename(self.baseFilename, dfn) 
WindowsError: [Error 32] The process cannot access the file because it is being used by another process 
Logged from file em_model_entity.py, line 77 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:18:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-are-there-error-messages-in-Splunkd-quot-ERROR-ExecProcessor/m-p/434889#M3679</guid>
      <dc:creator>dkolekar_splunk</dc:creator>
      <dc:date>2020-09-30T00:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why are there error messages in Splunkd: "ERROR ExecProcessor - message from "python...splunk_app_infrastructure\bin\em_entity_manager.py"?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-are-there-error-messages-in-Splunkd-quot-ERROR-ExecProcessor/m-p/434890#M3680</link>
      <description>&lt;P&gt;The messages "The process cannot access the file because it is being used by another process" could be caused by straggling process that still has a file open and we've spawned another process that trying to roll the logs going by: "File "D:\Programs\Splunk\Python-2.7\Lib\logging\handlers.py", line 142, in doRollover os.rename(self.baseFilename, dfn)". &lt;/P&gt;

&lt;P&gt;Try: Stop splunk, check with Task Manager that there are no processes from the splunk directories left (like those python ones) and restart splunk after. &lt;BR /&gt;
More on "WindowsError: [Error 32] The process cannot access the file because it is being used by another process" Kindly check &lt;A href="https://github.com/grangier/python-goose/issues/78"&gt;https://github.com/grangier/python-goose/issues/78&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 14:04:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-are-there-error-messages-in-Splunkd-quot-ERROR-ExecProcessor/m-p/434890#M3680</guid>
      <dc:creator>dkolekar_splunk</dc:creator>
      <dc:date>2019-04-30T14:04:36Z</dc:date>
    </item>
  </channel>
</rss>

