Splunk Dev

How come enable boot start doesn't work with Splunk on SUSE Enterprise 15?

asabatini85
Path Finder

Hi guys,

I installed Splunk on Enterprise SUSE enterprise 15.

When I run the command splunk enable boot-start, I received this error:

/sbin/insserv: No such file or directory

someone can help me?

Tags (1)
0 Karma
1 Solution

asabatini85
Path Finder

I fixed the issue

Suse Enterprise 15 need this package to run service at boot time.

insserv-compat

  • STEP 1 install the package

zypper install insserv-compat

  • STEP 2 run enable comand

./splunk enable boot-start

  • STEP 3 set the run level

chkconfig --set splunk on

View solution in original post

asabatini85
Path Finder

I fixed the issue

Suse Enterprise 15 need this package to run service at boot time.

insserv-compat

  • STEP 1 install the package

zypper install insserv-compat

  • STEP 2 run enable comand

./splunk enable boot-start

  • STEP 3 set the run level

chkconfig --set splunk on

joebisesi
Path Finder

Are you running this command from the location of the Splunk/bin directory? If you don't have the homepath for splunk configured in your .bash_profile, you would need to run a command similar to this: /"directory where splunk is installed"/bin/splunk enable boot-start

If you don't want to type the full path or cd to that directory, you need to set the homepath similar to this in your .bash_profile:

export SPLUNK_HOME='the directory where splunk is installed'
export PATH ='the directory where the splunk/bin dir is':$PATH

I believe this is a rebootable offense, or at least you have to log out and back in for it to take.

Hope this helps

0 Karma

asabatini85
Path Finder

thanks, but I fixed the issue by myself

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...