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
SplunkTrust
SplunkTrust

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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...