<?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: After upgrading to Splunk 6.6, the splunkd.pid file is unreadable. How to fix &amp;quot;Permission denied&amp;quot; errors? in Installation</title>
    <link>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363604#M5056</link>
    <description>&lt;P&gt;So from here...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(root)# chown -R indexer:indexer /opt/splunk
(root)# sudo su - indexer
(indexer)# /opt/splunk/bin/splunk start
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;See what happens. If this fails, Im leaning towards saying youve got a disk volume issue or something else going on in your OS...&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2017 04:58:19 GMT</pubDate>
    <dc:creator>esix_splunk</dc:creator>
    <dc:date>2017-06-27T04:58:19Z</dc:date>
    <item>
      <title>After upgrading to Splunk 6.6, the splunkd.pid file is unreadable. How to fix "Permission denied" errors?</title>
      <link>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363591#M5043</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;I upgraded Splunk from 6.5 to 6.6 since then I'm unable to start Splunk properly, it seems there is some issue in the permission level.&lt;/P&gt;
&lt;P&gt;Could you walk me through in steps what I suppose to do to fix the permission denied error message pls? I'm just few months into Splunk so fairly new to everything.&lt;/P&gt;
&lt;P&gt;See the error message below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;root@indexer:/opt/splunk/bin# ./splunk status

Warning: cannot create "/opt/splunk/var/log/splunk"

Warning: cannot create "/opt/splunk/var/log/introspection"
Pid file "/opt/splunk/var/run/splunk/splunkd.pid" unreadable.: Permission denied
Cannot initialize: /opt/splunk/etc/apps/Splunk_CiscoSecuritySuite/metadata/local.meta: Permission denied
Cannot initialize: /opt/splunk/etc/apps/launcher/metadata/local.meta: Permission denied
Cannot initialize: /opt/splunk/etc/apps/search/metadata/local.meta: Permission denied
Cannot initialize: /opt/splunk/etc/apps/splunk_instrumentation/metadata/local.meta: Permission denied
Cannot initialize: /opt/splunk/etc/system/metadata/local.meta: Permission denied
Cannot initialize: /opt/splunk/etc/apps/learned/metadata/local.meta: Permission denied
Cannot initialize: /opt/splunk/etc/apps/Splunk_CiscoSecuritySuite/metadata/local.meta: Permission denied
Cannot initialize: /opt/splunk/etc/apps/launcher/metadata/local.meta: Permission denied
Cannot initialize: /opt/splunk/etc/apps/search/metadata/local.meta: Permission denied
Cannot initialize: /opt/splunk/etc/apps/splunk_instrumentation/metadata/local.meta: Permission denied
Cannot initialize: /opt/splunk/etc/system/metadata/local.meta: Permission denied
Cannot initialize: /opt/splunk/etc/apps/learned/metadata/local.meta: Permission denied
Cannot initialize: /opt/splunk/etc/apps/Splunk_CiscoSecuritySuite/metadata/local.meta: Permission denied
Cannot initialize: /opt/splunk/etc/apps/launcher/metadata/local.meta: Permission denied
Cannot initialize: /opt/splunk/etc/apps/search/metadata/local.meta: Permission denied
Cannot initialize: /opt/splunk/etc/apps/splunk_instrumentation/metadata/local.meta: Permission denied
Cannot initialize: /opt/splunk/etc/system/metadata/local.meta: Permission denied
Cannot initialize: /opt/splunk/etc/apps/learned/metadata/local.meta: Permission denied
Pid file "/opt/splunk/var/run/splunk/splunkd.pid" unreadable.: Permission denied
splunkd.pid file is unreadable.
Pid file "/opt/splunk/var/run/splunk/splunkd.pid" unreadable.: Permission denied
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Jun 2020 18:21:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363591#M5043</guid>
      <dc:creator>jhl226116</dc:creator>
      <dc:date>2020-06-16T18:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading to Splunk 6.6, the splunkd.pid file is unreadable. How to fix "Permission denied" errors?</title>
      <link>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363592#M5044</link>
      <description>&lt;P&gt;Seems to be a permissions issue with your installation. Most likely you're running Splunk itself as the 'splunk' user. When you upgraded, you ran the upgrade as root, and permissions were effected. Heres a quick way to fix..&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(root)# killall splunk &amp;amp;&amp;amp; killall mongod
(root)# chown -R splunk:splunk /opt/splunk
(root)# sudo su - splunk
(splunk)# /opt/splunk/bin/splunk start
In the case of this post, the user was indexer
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This assumes you're running Splunk as the user 'splunk'. (which is typically default.) Read more on this here :&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.1/Installation/RunSplunkasadifferentornon-rootuser"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.1/Installation/RunSplunkasadifferentornon-rootuser&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It's a bit odd though that as root you cant start this. Is this a mounted volume? Or local disk?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 04:59:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363592#M5044</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2017-06-26T04:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading to Splunk 6.6, the splunkd.pid file is unreadable. How to fix "Permission denied" errors?</title>
      <link>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363593#M5045</link>
      <description>&lt;P&gt;I tried your commands and now stuck in below where it's prompting me for password which don't work with the one that I setup. Is there a default password for this? &lt;/P&gt;

&lt;P&gt;root@indexer:~# killall splunk &amp;amp; killall mongod&lt;BR /&gt;
[1] 27060&lt;BR /&gt;
splunk: no process found&lt;BR /&gt;
mongod: no process found&lt;BR /&gt;
[1]+  Exit 1                  killall splunk&lt;/P&gt;

&lt;P&gt;root@indexer:~# chown -R splunk:splunk /opt/splunk&lt;/P&gt;

&lt;P&gt;root@indexer:~# sudo su - splunk&lt;BR /&gt;
No directory, logging in with HOME=/&lt;/P&gt;

&lt;P&gt;$ /opt/splunk/bin/splunk start&lt;BR /&gt;
 This command can only be run by bootstart user.&lt;/P&gt;

&lt;P&gt;$ sudo -i&lt;BR /&gt;
[sudo] password for splunk: &lt;BR /&gt;
Sorry, try again.&lt;BR /&gt;
[sudo] password for splunk: &lt;BR /&gt;
Sorry, try again.&lt;BR /&gt;
[sudo] password for splunk: &lt;BR /&gt;
sudo: 3 incorrect password attempts&lt;/P&gt;

&lt;P&gt;Splunk instance is running on a vmware workstation.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 21:12:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363593#M5045</guid>
      <dc:creator>jhl226116</dc:creator>
      <dc:date>2017-06-26T21:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading to Splunk 6.6, the splunkd.pid file is unreadable. How to fix "Permission denied" errors?</title>
      <link>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363594#M5046</link>
      <description>&lt;P&gt;So you need to look into the /etc/init.d/splunk service, and determine who was the original bootstart user, that is the user that the files need to be owned by. &lt;/P&gt;

&lt;P&gt;Then the user that you need to use to change the permissions needs to have sudo privileges, so they need to have the ability to make changes to the user permissions. This might be the root user in your case. &lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 21:29:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363594#M5046</guid>
      <dc:creator>mbuehler_splunk</dc:creator>
      <dc:date>2017-06-26T21:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading to Splunk 6.6, the splunkd.pid file is unreadable. How to fix "Permission denied" errors?</title>
      <link>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363595#M5047</link>
      <description>&lt;P&gt;I think the original user name has been changed since after running esix's command above. I know what my original user name is which was not splunk but something else. &lt;/P&gt;

&lt;P&gt;root@indexer:/opt/splunk/etc/init.d# ls -l&lt;BR /&gt;
total 4&lt;BR /&gt;
-r--r--r-- 1 splunk splunk 819 May 19 07:37 README&lt;/P&gt;

&lt;P&gt;So where to go from here? &lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 22:56:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363595#M5047</guid>
      <dc:creator>jhl226116</dc:creator>
      <dc:date>2017-06-26T22:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading to Splunk 6.6, the splunkd.pid file is unreadable. How to fix "Permission denied" errors?</title>
      <link>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363596#M5048</link>
      <description>&lt;P&gt;As root, run chown -R splunk:splunk /opt/splunk&lt;BR /&gt;
remove any *.pid files from /opt/splunk/var/run/splunk/&lt;BR /&gt;
if you enabled boot start on Splunk , run service splunk start&lt;BR /&gt;
if you did not do that, sudo -H -u splunk /opt/splunk/bin/splunk start&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 01:45:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363596#M5048</guid>
      <dc:creator>sk314</dc:creator>
      <dc:date>2017-06-27T01:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading to Splunk 6.6, the splunkd.pid file is unreadable. How to fix "Permission denied" errors?</title>
      <link>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363597#M5049</link>
      <description>&lt;P&gt;I have just removed splunkd.pid file from below location and tried to start splunk but still getting permission error. &lt;/P&gt;

&lt;P&gt;root@indexer:/opt/splunk/var/run/splunk# ls -l&lt;BR /&gt;
total 68&lt;BR /&gt;
drwx--x---  4 splunk splunk  4096 Mar 30 14:31 appserver&lt;BR /&gt;
-rw-------  1 splunk splunk 10990 Jun 26 10:54 composite.xml&lt;BR /&gt;
drwx------  2 splunk splunk  4096 Mar 30 14:31 csv&lt;BR /&gt;
drwx--x--x 43 splunk splunk 20480 Jun 23 18:26 dispatch&lt;BR /&gt;
drwx------  2 splunk splunk  4096 Jun 22 18:09 merged&lt;BR /&gt;
drwx------  4 splunk splunk  4096 Mar 30 14:32 scheduler&lt;BR /&gt;
-rw-------  1 splunk splunk   556 Jun 23 18:26 session-86d3a80d3dbec0935375ba9adeb589bfc7ef3468&lt;BR /&gt;
-rw-------  1 splunk splunk     0 Jun 23 16:14 session-86d3a80d3dbec0935375ba9adeb589bfc7ef3468.lock&lt;BR /&gt;
-rw-------  1 splunk splunk    15 Jun 26 10:54 splunkd.pid&lt;BR /&gt;
drwx------  2 splunk splunk  4096 Jun 22 18:09 srtemp&lt;BR /&gt;
drwx------  2 splunk splunk  4096 May 25 18:44 typeahead&lt;BR /&gt;
drwx------  2 splunk splunk  4096 Mar 30 14:31 upload&lt;/P&gt;

&lt;P&gt;indexer@indexer:~$ sudo -H -u splunk /opt/splunk/bin/splunk start&lt;BR /&gt;
[sudo] password for indexer: &lt;/P&gt;

&lt;P&gt;This command can only be run by bootstart user.&lt;/P&gt;

&lt;P&gt;root@indexer:/opt/splunk/bin# ./splunk start&lt;/P&gt;

&lt;P&gt;Warning: cannot create "/opt/splunk/var/log/splunk"&lt;/P&gt;

&lt;P&gt;Warning: cannot create "/opt/splunk/var/log/introspection"&lt;BR /&gt;
Pid file "/opt/splunk/var/run/splunk/splunkd.pid" unreadable.: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/Splunk_CiscoSecuritySuite/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/launcher/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/search/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/splunk_instrumentation/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/system/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/learned/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/Splunk_CiscoSecuritySuite/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/launcher/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/search/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/splunk_instrumentation/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/system/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/learned/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/Splunk_CiscoSecuritySuite/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/launcher/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/search/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/splunk_instrumentation/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/system/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/learned/metadata/local.meta: Permission denied&lt;BR /&gt;
Pid file "/opt/splunk/var/run/splunk/splunkd.pid" unreadable.: Permission denied&lt;BR /&gt;
Pid file "/opt/splunk/var/run/splunk/splunkd.pid" unreadable.: Permission denied&lt;/P&gt;

&lt;P&gt;Splunk&amp;gt; Be an IT superhero. Go home early.&lt;/P&gt;

&lt;P&gt;Checking prerequisites...&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/Splunk_CiscoSecuritySuite/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/launcher/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/search/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/splunk_instrumentation/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/system/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/learned/metadata/local.meta: Permission denied&lt;BR /&gt;
Pid file "/opt/splunk/var/run/splunk/splunkweb.pid" unreadable.: Permission denied&lt;BR /&gt;
    Checking http port [8000]: Cannot initialize: /opt/splunk/etc/apps/Splunk_CiscoSecuritySuite/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/launcher/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/search/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/splunk_instrumentation/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/system/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/learned/metadata/local.meta: Permission denied&lt;BR /&gt;
open&lt;BR /&gt;
    Checking mgmt port [8089]: Cannot initialize: /opt/splunk/etc/apps/Splunk_CiscoSecuritySuite/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/launcher/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/search/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/splunk_instrumentation/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/system/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/learned/metadata/local.meta: Permission denied&lt;BR /&gt;
open&lt;BR /&gt;
    Checking appserver port [127.0.0.1:8065]: Cannot initialize: /opt/splunk/etc/apps/Splunk_CiscoSecuritySuite/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/launcher/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/search/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/splunk_instrumentation/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/system/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/learned/metadata/local.meta: Permission denied&lt;BR /&gt;
open&lt;BR /&gt;
ERROR - Failed opening "/opt/splunk/var/log/splunk/splunkd-utility.log": Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/Splunk_CiscoSecuritySuite/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/launcher/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/search/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/splunk_instrumentation/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/system/metadata/local.meta: Permission denied&lt;BR /&gt;
Cannot initialize: /opt/splunk/etc/apps/learned/metadata/local.meta: Permission denied&lt;BR /&gt;
    Checking configuration...  Done.&lt;BR /&gt;
        Creating: /opt/splunk/var/lib/splunk&lt;BR /&gt;
Warning: cannot create "/opt/splunk/var/lib/splunk"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:39:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363597#M5049</guid>
      <dc:creator>jhl226116</dc:creator>
      <dc:date>2020-09-29T14:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading to Splunk 6.6, the splunkd.pid file is unreadable. How to fix "Permission denied" errors?</title>
      <link>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363598#M5050</link>
      <description>&lt;P&gt;did you change the permissions first? the chown command?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 03:50:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363598#M5050</guid>
      <dc:creator>sk314</dc:creator>
      <dc:date>2017-06-27T03:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading to Splunk 6.6, the splunkd.pid file is unreadable. How to fix "Permission denied" errors?</title>
      <link>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363599#M5051</link>
      <description>&lt;P&gt;I've ran the chown command, removed splunkd.pid and tried to start splunk from root. &lt;/P&gt;

&lt;P&gt;chown -R splunk:splunk /opt/splunk&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 03:56:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363599#M5051</guid>
      <dc:creator>jhl226116</dc:creator>
      <dc:date>2017-06-27T03:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading to Splunk 6.6, the splunkd.pid file is unreadable. How to fix "Permission denied" errors?</title>
      <link>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363600#M5052</link>
      <description>&lt;P&gt;can you check if the mongod process is running? was it started by the splunk user?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 04:02:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363600#M5052</guid>
      <dc:creator>sk314</dc:creator>
      <dc:date>2017-06-27T04:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading to Splunk 6.6, the splunkd.pid file is unreadable. How to fix "Permission denied" errors?</title>
      <link>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363601#M5053</link>
      <description>&lt;P&gt;how do you check? &lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 04:18:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363601#M5053</guid>
      <dc:creator>jhl226116</dc:creator>
      <dc:date>2017-06-27T04:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading to Splunk 6.6, the splunkd.pid file is unreadable. How to fix "Permission denied" errors?</title>
      <link>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363602#M5054</link>
      <description>&lt;P&gt;First, lets check what user Splunk is configured to run as..&lt;/P&gt;

&lt;P&gt;Look in $SPLUNK_HOME/etc/splunk-launch.conf - you'll see SPLUNK_OS_USER= XXXXX . You need to make sure that this matches the permissions on the file system, and that is who you &lt;STRONG&gt;have to sudo su - XXXXX&lt;/STRONG&gt; to for starting splunk.&lt;/P&gt;

&lt;P&gt;Check and make sure your splunk user exists in /etc/passwd, ( the user in the above..)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# cat /etc/passwd | grep XXXXX
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You should have a user returned with that name, default is splunk.. Set permissions and retry with that user.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:35:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363602#M5054</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2020-09-29T14:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading to Splunk 6.6, the splunkd.pid file is unreadable. How to fix "Permission denied" errors?</title>
      <link>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363603#M5055</link>
      <description>&lt;P&gt;Initially when I checked in $SPLUNK_HOME/etc/splunk-launch.conf user name was csoc but then I changed it to indexer yesterday since I was having some issues. &lt;BR /&gt;
It's currently still set as the indexer. SPLUNK_OS_USER=indexer&lt;/P&gt;

&lt;P&gt;When I ran cat grep command on all 3 (csoc, indexer, splunk), it only brought results for indexer and splunk.&lt;/P&gt;

&lt;P&gt;root@indexer:~# cat /etc/passwd | grep indexer&lt;BR /&gt;
indexer:x:1000:1000:indexer,,,:/home/indexer:/bin/bash&lt;/P&gt;

&lt;P&gt;root@indexer:~# cat /etc/passwd | grep splunk&lt;BR /&gt;
splunk:x:1001:1001::/home/splunk:&lt;/P&gt;

&lt;H1&gt;Version 6.5.2&lt;/H1&gt;

&lt;H1&gt;Modify the following line to suit the location of your Splunk install.&lt;/H1&gt;

&lt;H1&gt;If unset, Splunk will use the parent of the directory containing the splunk&lt;/H1&gt;

&lt;H1&gt;CLI executable.&lt;/H1&gt;

&lt;H1&gt;SPLUNK_HOME=/home/build/build-home/ivory&lt;/H1&gt;

&lt;H1&gt;By default, Splunk stores its indexes under SPLUNK_HOME in the&lt;/H1&gt;

&lt;H1&gt;var/lib/splunk subdirectory.  This can be overridden&lt;/H1&gt;

&lt;H1&gt;here:&lt;/H1&gt;

&lt;H1&gt;SPLUNK_DB=/home/build/build-home/ivory/var/lib/splunk&lt;/H1&gt;

&lt;H1&gt;Splunkd daemon name&lt;/H1&gt;

&lt;P&gt;SPLUNK_SERVER_NAME=Splunkd&lt;/P&gt;

&lt;H1&gt;Splunkweb daemon name&lt;/H1&gt;

&lt;P&gt;SPLUNK_WEB_NAME=splunkweb&lt;/P&gt;

&lt;H1&gt;If SPLUNK_OS_USER is set, then Splunk service will only start&lt;/H1&gt;

&lt;H1&gt;if the 'splunk [re]start [splunkd]' command is invoked by a user who&lt;/H1&gt;

&lt;H1&gt;is, or can effectively become via setuid(2), $SPLUNK_OS_USER.&lt;/H1&gt;

&lt;H1&gt;(This setting can be specified as username or as UID.)&lt;/H1&gt;

&lt;H1&gt;SPLUNK_OS_USER&lt;/H1&gt;

&lt;P&gt;SPLUNK_OS_USER=indexer&lt;/P&gt;

&lt;P&gt;Ok, where to go from here?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:35:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363603#M5055</guid>
      <dc:creator>jhl226116</dc:creator>
      <dc:date>2020-09-29T14:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading to Splunk 6.6, the splunkd.pid file is unreadable. How to fix "Permission denied" errors?</title>
      <link>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363604#M5056</link>
      <description>&lt;P&gt;So from here...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(root)# chown -R indexer:indexer /opt/splunk
(root)# sudo su - indexer
(indexer)# /opt/splunk/bin/splunk start
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;See what happens. If this fails, Im leaning towards saying youve got a disk volume issue or something else going on in your OS...&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 04:58:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363604#M5056</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2017-06-27T04:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading to Splunk 6.6, the splunkd.pid file is unreadable. How to fix "Permission denied" errors?</title>
      <link>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363605#M5057</link>
      <description>&lt;P&gt;Awesome! it's working now. I was able to start Splunk with your commands. &lt;/P&gt;

&lt;P&gt;root@indexer:/opt/splunk/bin# ./splunk start&lt;/P&gt;

&lt;P&gt;Splunk&amp;gt; CSI: Logfiles.&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 appserver port [127.0.0.1:8065]: open&lt;BR /&gt;
    Checking kvstore port [8191]: open&lt;BR /&gt;
    Checking configuration...  Done.&lt;BR /&gt;
    Checking critical directories...    Done&lt;BR /&gt;
    Checking indexes...&lt;BR /&gt;
        Validated: _audit _internal _introspection _telemetry _thefishbucket history main summary&lt;BR /&gt;
    Done&lt;BR /&gt;
    Checking filesystem compatibility...  Done&lt;BR /&gt;
    Checking conf files for problems...&lt;BR /&gt;
    Done&lt;BR /&gt;
    Checking default conf files for edits...&lt;BR /&gt;
    Validating installed files against hashes from '/opt/splunk/splunk-6.6.1-aeae3fe0c5af-linux-2.6-x86_64-manifest'&lt;BR /&gt;
    All installed files intact.&lt;BR /&gt;
    Done&lt;BR /&gt;
All preliminary checks passed.&lt;/P&gt;

&lt;P&gt;Starting splunk server daemon (splunkd)...&lt;BR /&gt;&lt;BR /&gt;
Done&lt;/P&gt;

&lt;P&gt;Waiting for web server at &lt;A href="http://127.0.0.1:8000" target="_blank"&gt;http://127.0.0.1:8000&lt;/A&gt; to be available..... Done&lt;/P&gt;

&lt;P&gt;If you get stuck, we're here to help.&lt;BR /&gt;&lt;BR /&gt;
Look for answers here: &lt;A href="http://docs.splunk.com" target="_blank"&gt;http://docs.splunk.com&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The Splunk web interface is at &lt;A href="http://indexer:8000" target="_blank"&gt;http://indexer:8000&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;root@indexer:/opt/splunk/bin# ./splunk status&lt;BR /&gt;
splunkd is running (PID: 5391).&lt;BR /&gt;
splunk helpers are running (PIDs: 5392 5401 5521 5561 9931 9932).&lt;/P&gt;

&lt;P&gt;So what does  (root)# chown -R indexer:indexer /opt/splunk command do can you explain to me? &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:40:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363605#M5057</guid>
      <dc:creator>jhl226116</dc:creator>
      <dc:date>2020-09-29T14:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading to Splunk 6.6, the splunkd.pid file is unreadable. How to fix "Permission denied" errors?</title>
      <link>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363606#M5058</link>
      <description>&lt;P&gt;This changes the ownership for both user and group, to indexer, for all folders below /opt/splunk. Since Splunk was trying to start as the indexer user, this user needed permissions for read, write, and execute on all bits under the /opt/splunk folder.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 06:33:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/After-upgrading-to-Splunk-6-6-the-splunkd-pid-file-is-unreadable/m-p/363606#M5058</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2017-06-29T06:33:55Z</dc:date>
    </item>
  </channel>
</rss>

