<?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: Why am I receiving errors when attempting to start Splunk in the Windows CLI? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-errors-when-attempting-to-start-Splunk-in-the/m-p/340046#M62725</link>
    <description>&lt;P&gt;When restarting splunk from CLI, did you open the Command prompt as Administrator?&lt;/P&gt;</description>
    <pubDate>Tue, 17 Apr 2018 20:42:24 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2018-04-17T20:42:24Z</dc:date>
    <item>
      <title>Why am I receiving errors when attempting to start Splunk in the Windows CLI?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-errors-when-attempting-to-start-Splunk-in-the/m-p/340043#M62722</link>
      <description>&lt;P&gt;I was getting connection refused in the browser (localhost:8000/en-US/app/launcher/home). I was able to start splunk in Windows Services, but received the following Access Denied errors when attempting to start the service in the CLI. Any idea why? I was not logged in as a system admin in case that matters.&lt;/P&gt;

&lt;P&gt;C:\Program Files\Splunk\bin&amp;gt;splunk start&lt;/P&gt;

&lt;P&gt;Splunk&amp;gt; Like an F-18, bro.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Checking prerequisites...
Checking http port [8000]: open
Checking mgmt port [8089]: open
Checking appserver port [127.0.0.1:8065]: open
ERROR - Failed opening "C:\Program Files\Splunk\var\log\splunk\splunkd-utility.log": Access is denied.
Checking configuration... Done.
Failed to open splunk.secret 'C:\Program Files\Splunk\etc\auth\splunk.secret' file. Some passwords will not work. errno=Access is denied.
Unable to read 'C:\Program Files\Splunk\etc\auth\splunk.secret' file.
Checking critical directories... Done
ERROR - Failed opening "C:\Program Files\Splunk\var\log\splunk\splunkd-utility.log": Access is denied.
Checking indexes...
homePath='C:\Program Files\Splunk\var\lib\splunk\audit\db' of index=_audit on unusable filesystem.
Validating databases (splunkd validatedb) failed with code '1'. If you cannot resolve the issue(s) above after consulting documentation, please file a case online at splunk.com/page/submit_issue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Apr 2018 17:57:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-errors-when-attempting-to-start-Splunk-in-the/m-p/340043#M62722</guid>
      <dc:creator>mjscoggins</dc:creator>
      <dc:date>2018-04-17T17:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving errors when attempting to start Splunk in the Windows CLI?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-errors-when-attempting-to-start-Splunk-in-the/m-p/340044#M62723</link>
      <description>&lt;P&gt;That very much reads like a permissions problem. Using the account from which you tried to start Splunk, can you access those files?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;C:\Program Files\Splunk\var\log\splunk\splunkd-utility.log
C:\Program Files\Splunk\etc\auth\splunk.secret
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Apr 2018 18:08:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-errors-when-attempting-to-start-Splunk-in-the/m-p/340044#M62723</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2018-04-17T18:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving errors when attempting to start Splunk in the Windows CLI?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-errors-when-attempting-to-start-Splunk-in-the/m-p/340045#M62724</link>
      <description>&lt;P&gt;I can open the first, but receive access denied on the second when running the CLI with a non-admin account. Ran as Admin and was able to open both.  Newbie B-P&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 20:19:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-errors-when-attempting-to-start-Splunk-in-the/m-p/340045#M62724</guid>
      <dc:creator>mjscoggins</dc:creator>
      <dc:date>2018-04-17T20:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving errors when attempting to start Splunk in the Windows CLI?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-errors-when-attempting-to-start-Splunk-in-the/m-p/340046#M62725</link>
      <description>&lt;P&gt;When restarting splunk from CLI, did you open the Command prompt as Administrator?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 20:42:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-errors-when-attempting-to-start-Splunk-in-the/m-p/340046#M62725</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-04-17T20:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving errors when attempting to start Splunk in the Windows CLI?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-errors-when-attempting-to-start-Splunk-in-the/m-p/340047#M62726</link>
      <description>&lt;P&gt;try setting this &lt;/P&gt;

&lt;P&gt;$SPLUNK_HOME/etc/splunk-launch.conf:&lt;BR /&gt;
OPTIMISTIC_ABOUT_FILE_LOCKING = 1&lt;/P&gt;

&lt;P&gt;This error should encounter when installing splunk on mac0s &lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/600702/problem-installing-splunk-enterprise-on-macos-1013-1.html" target="_blank"&gt;https://answers.splunk.com/answers/600702/problem-installing-splunk-enterprise-on-macos-1013-1.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:07:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-errors-when-attempting-to-start-Splunk-in-the/m-p/340047#M62726</guid>
      <dc:creator>ssadanala1</dc:creator>
      <dc:date>2020-09-29T19:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving errors when attempting to start Splunk in the Windows CLI?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-errors-when-attempting-to-start-Splunk-in-the/m-p/340048#M62727</link>
      <description>&lt;P&gt;Not at first, but that was the problem. Ran Command prompt as Administrator and no more errors received.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 23:38:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-errors-when-attempting-to-start-Splunk-in-the/m-p/340048#M62727</guid>
      <dc:creator>mjscoggins</dc:creator>
      <dc:date>2018-04-17T23:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving errors when attempting to start Splunk in the Windows CLI?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-errors-when-attempting-to-start-Splunk-in-the/m-p/340049#M62728</link>
      <description>&lt;P&gt;So that you can close this out, I'll post this as an answer:&lt;/P&gt;

&lt;P&gt;That very much reads like a permissions problem. Try running Splunk as an admin-level user. That should give you permissions to read and write the appropriate files.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 01:55:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-errors-when-attempting-to-start-Splunk-in-the/m-p/340049#M62728</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2018-04-18T01:55:25Z</dc:date>
    </item>
  </channel>
</rss>

