Installation

splunk enable boot-start not working SLES 15.1

samali
New Member

Trying to enable startup on SLES 15.1:

/opt/splunkforwarder/bin # ./splunk enable boot-start
Unknown option: levels
usage:
chkconfig -A|--allservices (together with -l: show all services)
chkconfig -t|--terse [names] (shows the links)
chkconfig -e|--edit [names] (configure services)
chkconfig -s|--set [name state]... (configure services)
chkconfig -l|--list [--deps] [names] (shows the links)
chkconfig -L|--liston [--deps] [names] (as -l, enabled in at least 1 level)
chkconfig -c|--check name [state] (check state)
chkconfig -a|--add [names] (runs insserv)
chkconfig -d|--del [names] (runs insserv -r)
chkconfig -h|--help (print usage)
chkconfig -f|--force ... (call insserv with -f)chkconfig [name] same as chkconfig -t
chkconfig name state... same as chkconfig -s name state
chkconfig --root=<root> ... use <root> as the root file system

Labels (1)
0 Karma

codebuilder
Influencer

Try specifying systemd and be sure to use sudo or run as root user:

sudo /opt/splunk/bin/splunk enable boot-start -user splunk -systemd-managed 1

----
An upvote would be appreciated and Accept Solution if it helps!
Get Updates on the Splunk Community!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...