I've followed the installation instructions for FreeBSD but am not able to start splunk as a non-root user upon boottime.
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
But I'm able to run splunk fine as the user splunk:
splunk@fbsd3:~ % /opt/splunk/bin/splunk start
Splunk Like an F-18, bro.
Checking prerequisites...
Checking http port [8000]: open
Checking mgmt port [8089]: open
Checking appserver port [127.0.0.1:8065]: open
Checking configuration... Done.
Checking critical directories... Done
Checking indexes...
Validated: _audit _blocksignature _internal _introspection _thefishbucket history main summary
Done
Checking filesystem compatibility... Done
Checking conf files for problems...
Done
All preliminary checks passed.
Starting splunk server daemon (splunkd)...
Done
Waiting for web server at http://127.0.0.1:8000 to be available. Done
If you get stuck, we're here to help.
Look for answers here: http://docs.splunk.com
The Splunk web interface is at http://fbsd3.domain.local:8000
... View more