<?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: bad index path in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/bad-index-path/m-p/84535#M17554</link>
    <description>&lt;P&gt;See; &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/admin/indexesconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/admin/indexesconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You should find your new one in $SPLUNK_HOME/etc/system/local/indexes.conf.&lt;BR /&gt;
Just open the conf and delete the lines relevant to the faulty index and restart splunk and all should be well again, you can then add it via the conf file (as per the link) or have another go through the UI &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Sep 2011 23:29:24 GMT</pubDate>
    <dc:creator>Drainy</dc:creator>
    <dc:date>2011-09-30T23:29:24Z</dc:date>
    <item>
      <title>bad index path</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/bad-index-path/m-p/84534#M17553</link>
      <description>&lt;P&gt;So I added a new index and without thinking I hit submit without changed db info.  I restarted and now I can get splunk up as you can see below.  Anyone know how to remove an index reference with splunk not running?&lt;/P&gt;

&lt;P&gt;root@atpscld1&amp;gt;/opt/splunk/bin/splunk start&lt;/P&gt;

&lt;P&gt;Splunk&amp;gt; 4TW&lt;/P&gt;

&lt;P&gt;Checking prerequisites...&lt;BR /&gt;
        Checking http port [8000]: open&lt;BR /&gt;
        Checking mgmt port [8089]: open&lt;BR /&gt;
        Checking configuration...  Done.&lt;BR /&gt;
        Checking index directory...&lt;BR /&gt;
Problem parsing indexes.conf: The homePath "/opt/splunk/var/lib/splunk/defaultdb/db" of index "nms" is repeated multiple times (already specified as homePath of index "main").&lt;BR /&gt;
Validating databases (splunkd validatedb) failed with code '1'.  Please file a case online at &lt;A href="http://www.splunk.com/page/submit_issue"&gt;http://www.splunk.com/page/submit_issue&lt;/A&gt;&lt;BR /&gt;
root@atpscld1&amp;gt;&lt;/P&gt;

&lt;P&gt;root@atpscld1&amp;gt;/opt/splunk/bin/splunk disable index nms&lt;BR /&gt;
Splunk is not running, and it must be for this operation. To start splunk, run "splunk start".&lt;BR /&gt;
root@atpscld1&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2011 22:46:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/bad-index-path/m-p/84534#M17553</guid>
      <dc:creator>jlaigo2</dc:creator>
      <dc:date>2011-09-30T22:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: bad index path</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/bad-index-path/m-p/84535#M17554</link>
      <description>&lt;P&gt;See; &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/admin/indexesconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/admin/indexesconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You should find your new one in $SPLUNK_HOME/etc/system/local/indexes.conf.&lt;BR /&gt;
Just open the conf and delete the lines relevant to the faulty index and restart splunk and all should be well again, you can then add it via the conf file (as per the link) or have another go through the UI &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2011 23:29:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/bad-index-path/m-p/84535#M17554</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2011-09-30T23:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: bad index path</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/bad-index-path/m-p/84536#M17555</link>
      <description>&lt;P&gt;jlaigo2 - &lt;BR /&gt;
Assuming you have version 4.x or higher and that you are running a single Splunk instance.&lt;/P&gt;

&lt;P&gt;1)  Go to /opt/splunk/etc/system/local&lt;/P&gt;

&lt;P&gt;Windows = &lt;CODE&gt;$SPLUNK_HOME\etc\system\local&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;2) EDIT your indexes.conf&lt;BR /&gt;
  You can just delete the lines with the new index name in the brackets&lt;BR /&gt;
 - OR just edit it so it has the correct path - You can look at indexes.conf.example too&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;PRE&gt;&lt;CODE&gt;   [indexname]
    thawedPath = $SPLUNK_DB/indexname/thaweddb
    homePath = $SPLUNK_DB/indexname/db
    coldPath = $SPLUNK_DB/indexname/colddb
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;3) Start Splunk&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2011 23:37:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/bad-index-path/m-p/84536#M17555</guid>
      <dc:creator>gekoner</dc:creator>
      <dc:date>2011-09-30T23:37:12Z</dc:date>
    </item>
  </channel>
</rss>

