<?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: Splunkd Warning: &amp;quot;C:\program files\...\local.meta already exists but with different casing: C:\Program Files\...\local.meta&amp;quot; in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunkd-Warning-quot-C-program-files-local-meta-already-exists/m-p/416516#M73577</link>
    <description>&lt;P&gt;I was able to resolve the warnings by uncommenting the line below in &lt;CODE&gt;$SPLUNK_HOME\etc\splunk-launch.cfg&lt;/CODE&gt;, capitalizing the P and F in &lt;CODE&gt;Program Files&lt;/CODE&gt;, and restarting the SplunkForwarder service.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;# SPLUNK_HOME=C:\program files\SplunkUniversalForwarder&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Alternatively, you can run the following command as the account that Splunk is running as on the Windows VM with the forwarder installed in an elevated cmd prompt (Run as Administrator).&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;SETX $SPLUNK_HOME "C:\Program Files\SplunkUniversalForwarder"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Whether or not this &lt;EM&gt;should&lt;/EM&gt; be done is another question (this is not a production environment).&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/quickstart/SP-CAAAFDH"&gt;http://dev.splunk.com/view/quickstart/SP-CAAAFDH&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jul 2019 18:16:55 GMT</pubDate>
    <dc:creator>jacobpevans</dc:creator>
    <dc:date>2019-07-29T18:16:55Z</dc:date>
    <item>
      <title>Splunkd Warning: "C:\program files\...\local.meta already exists but with different casing: C:\Program Files\...\local.meta"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunkd-Warning-quot-C-program-files-local-meta-already-exists/m-p/416515#M73576</link>
      <description>&lt;P&gt;Hello fellow Splunkers,&lt;/P&gt;

&lt;P&gt;We've been tracking down and resolving our Splunkd errors and warnings. This one has us perplexed:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;WARN ExecProcessor - message from ""C:\program files\SplunkUniversalForwarder\bin\splunk-regmon.exe"" BundlesUtil - C:\program files\SplunkUniversalForwarder\etc\system\metadata\local.meta already exists but with different casing: C:\Program Files\SplunkUniversalForwarder\etc\system\metadata\local.meta
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The difference is "program files" vs. "Program Files". I know it's just a warning and has no impact, but I'd still like to resolve it as it happens every minute on all of our forwarders filling up the splunkd logs. I also do not want to change the logging as ExecProcessor contains many useful warnings. The closest answer I've found online is &lt;A href="https://answers.splunk.com/answers/137700/when-trying-to-schedule-a-pdf-email-delivery-i-receive-the-following-error-in-handler-scheduledviews-could-not-find-writer.html"&gt;here*&lt;/A&gt;, although that one has to do with the case of the app name instead of the $SplunkHome full path.&lt;/P&gt;

&lt;P&gt;The only thing I can think of that may have caused this is that we upgrade our forwarders automatically. We are a 100% Windows environment. We achieve this with a scripted input that sends the value of  &lt;CODE&gt;%SPLUNK_HOME%&lt;/CODE&gt; to PowerShell via a command/batch file that uses msiexec to upgrade the forwarders. The value of  &lt;CODE&gt;%SPLUNK_HOME%&lt;/CODE&gt; is sent by Splunk to all scripted inputs (it is not an environment variable). I'm guessing that SPLUNK_HOME is lower()ed by Splunk which is causing some mismatch that Splunk later checks for some reason. However, I have no idea how to resolve the issue.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;* &lt;A href="https://answers.splunk.com/answers/137700/when-trying-to-schedule-a-pdf-email-delivery-i-receive-the-following-error-in-handler-scheduledviews-could-not-find-writer.html" target="test_blank"&gt;https://answers.splunk.com/answers/137700/when-trying-to-schedule-a-pdf-email-delivery-i-receive-the-following-error-in-handler-scheduledviews-could-not-find-writer.html&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 Jul 2019 14:19:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunkd-Warning-quot-C-program-files-local-meta-already-exists/m-p/416515#M73576</guid>
      <dc:creator>jacobpevans</dc:creator>
      <dc:date>2019-07-29T14:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splunkd Warning: "C:\program files\...\local.meta already exists but with different casing: C:\Program Files\...\local.meta"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunkd-Warning-quot-C-program-files-local-meta-already-exists/m-p/416516#M73577</link>
      <description>&lt;P&gt;I was able to resolve the warnings by uncommenting the line below in &lt;CODE&gt;$SPLUNK_HOME\etc\splunk-launch.cfg&lt;/CODE&gt;, capitalizing the P and F in &lt;CODE&gt;Program Files&lt;/CODE&gt;, and restarting the SplunkForwarder service.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;# SPLUNK_HOME=C:\program files\SplunkUniversalForwarder&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Alternatively, you can run the following command as the account that Splunk is running as on the Windows VM with the forwarder installed in an elevated cmd prompt (Run as Administrator).&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;SETX $SPLUNK_HOME "C:\Program Files\SplunkUniversalForwarder"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Whether or not this &lt;EM&gt;should&lt;/EM&gt; be done is another question (this is not a production environment).&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/quickstart/SP-CAAAFDH"&gt;http://dev.splunk.com/view/quickstart/SP-CAAAFDH&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 18:16:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunkd-Warning-quot-C-program-files-local-meta-already-exists/m-p/416516#M73577</guid>
      <dc:creator>jacobpevans</dc:creator>
      <dc:date>2019-07-29T18:16:55Z</dc:date>
    </item>
  </channel>
</rss>

