<?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: Can't get started... in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Can-t-get-started/m-p/114422#M8993</link>
    <description>&lt;P&gt;Check the ownerships of ALL your Splunk files.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Nov 2014 20:58:58 GMT</pubDate>
    <dc:creator>frmaasdam</dc:creator>
    <dc:date>2014-11-07T20:58:58Z</dc:date>
    <item>
      <title>Can't get started...</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Can-t-get-started/m-p/114421#M8992</link>
      <description>&lt;P&gt;I've followed the installation instructions for FreeBSD but am not able to start splunk as a non-root user upon boottime.&lt;/P&gt;

&lt;PRE&gt;root@fbsd3:~ # $SPLUNK_HOME/bin/splunk enable boot-start -user splunk
Shared object "libxml2.so.11" not found, required by "splunkd"
Shared object "libxml2.so.11" not found, required by "splunkd"
Shared object "libxml2.so.11" not found, required by "splunkd"
Did not find "disabled" setting of "kvstore" stanza in server bundle.
Can't create RC file "/etc/rc.d/splunk": Permission denied
root@fbsd3:~ # su - splunk
splunk@fbsd3:~ % $SPLUNK_HOME/bin/splunk enable boot-start -user splunk
Can't create RC file "/etc/rc.d/splunk": Permission denied&lt;/PRE&gt;

&lt;P&gt;But I'm able to run splunk fine as the user splunk:&lt;/P&gt;

&lt;PRE&gt;splunk@fbsd3:~ % /opt/splunk/bin/splunk start&lt;/PRE&gt;

&lt;P&gt;Splunk Like an F-18, bro.&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 configuration...  Done.&lt;BR /&gt;
        Checking critical directories...        Done&lt;BR /&gt;
        Checking indexes...&lt;BR /&gt;
                Validated: _audit _blocksignature _internal _introspection _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;
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"&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"&gt;http://docs.splunk.com&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The Splunk web interface is at &lt;A href="http://fbsd3.domain.local:8000"&gt;http://fbsd3.domain.local:8000&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2014 20:04:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Can-t-get-started/m-p/114421#M8992</guid>
      <dc:creator>snickered</dc:creator>
      <dc:date>2014-11-07T20:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get started...</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Can-t-get-started/m-p/114422#M8993</link>
      <description>&lt;P&gt;Check the ownerships of ALL your Splunk files.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2014 20:58:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Can-t-get-started/m-p/114422#M8993</guid>
      <dc:creator>frmaasdam</dc:creator>
      <dc:date>2014-11-07T20:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get started...</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Can-t-get-started/m-p/114423#M8994</link>
      <description>&lt;P&gt;Alright, so it looks like there was something wrong with my rc script.  Here's a patch for FreeBSD-current users.  I got the answer from here: &lt;A href="http://lists.freebsd.org/pipermail/freebsd-current/2012-January/031246.html"&gt;http://lists.freebsd.org/pipermail/freebsd-current/2012-January/031246.html&lt;/A&gt;.  Sorry for the (non)formatting, I can't ever get the pre tags to work on this forum.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root@fbsd3:~ # diff -u /etc/rc.d/splunk.orig /etc/rc.d/splunk
--- /etc/rc.d/splunk.orig       2014-11-07 17:21:12.000000000 -0600
+++ /etc/rc.d/splunk    2014-11-08 09:24:36.000000000 -0600
@@ -12,7 +12,7 @@

 name=splunk
 extra_commands="status"
-rcvar=`set_rcvar`
+rcvar=splunk_enable
 eval "${rcvar}=\${${rcvar}:-'NO'}"

 splunk_start()
root@fbsd3:~ # 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After a reboot all is good and splunkd is running as my splunk user. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Nov 2014 15:33:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Can-t-get-started/m-p/114423#M8994</guid>
      <dc:creator>snickered</dc:creator>
      <dc:date>2014-11-08T15:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get started...</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Can-t-get-started/m-p/114424#M8995</link>
      <description>&lt;P&gt;I'm pretty sure it was a permissions problem.  Originally I tried this guide: &lt;A href="http://wiki.splunk.com/Deploy:EnsuringSplunkRunsAsNonRootUser"&gt;http://wiki.splunk.com/Deploy:EnsuringSplunkRunsAsNonRootUser&lt;/A&gt; and it didn't workout too well.  I started over and used the guide here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/installation/RunSplunkasadifferentornon-rootuser#Instructions"&gt;http://docs.splunk.com/Documentation/Splunk/latest/installation/RunSplunkasadifferentornon-rootuser#Instructions&lt;/A&gt;.  That worked out well and everything seems to be fine with the exception of "boot-start" (&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/admin/ConfigureSplunktostartatboottime#Enable_boot-start_on_.2Anix_platforms"&gt;http://docs.splunk.com/Documentation/Splunk/latest/admin/ConfigureSplunktostartatboottime#Enable_boot-start_on_.2Anix_platforms&lt;/A&gt;) not working.  I'm going to start a new thread for that if I can't figure it out pretty soon.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Nov 2014 15:33:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Can-t-get-started/m-p/114424#M8995</guid>
      <dc:creator>snickered</dc:creator>
      <dc:date>2014-11-08T15:33:02Z</dc:date>
    </item>
  </channel>
</rss>

