<?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 /opt/splunkforwarder/bin/splunk enable boot-start ... Unknown option: levels (chkconfig) in Installation</title>
    <link>https://community.splunk.com/t5/Installation/opt-splunkforwarder-bin-splunk-enable-boot-start-Unknown-option/m-p/391355#M8765</link>
    <description>&lt;P&gt;splunkforwarder-7.0.4-68ba48f99743-Linux-x86_64.tgz&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;uname -a&lt;/STRONG&gt;&lt;BR /&gt;
Linux HOSTNAME 4.4.143-94.47-default #1 SMP Thu Aug 9 12:47:15 UTC 2018 (6bff971) x86_64 x86_64 x86_64 GNU/Linux&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;cat /etc/SuSE-release&lt;/STRONG&gt;&lt;BR /&gt;
SUSE Linux Enterprise Server 12 (x86_64)&lt;BR /&gt;
VERSION = 12&lt;BR /&gt;
PATCHLEVEL = 3&lt;/P&gt;

&lt;H1&gt;This file is deprecated and will be removed in a future service pack or release.&lt;/H1&gt;

&lt;H1&gt;Please check /etc/os-release for details about this release.&lt;/H1&gt;

&lt;P&gt;&lt;STRONG&gt;cat /etc/os-release&lt;/STRONG&gt;&lt;BR /&gt;
NAME="SLES"&lt;BR /&gt;
VERSION="12-SP3"&lt;BR /&gt;
VERSION_ID="12.3"&lt;BR /&gt;
PRETTY_NAME="SUSE Linux Enterprise Server 12 SP3"&lt;BR /&gt;
ID="sles"&lt;BR /&gt;
ANSI_COLOR="0;32"&lt;BR /&gt;
CPE_NAME="cpe:/o:suse:sles_sap:12:sp3"&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;/opt/splunkforwarder/bin/splunk enable boot-start&lt;/STRONG&gt;&lt;BR /&gt;
&lt;STRONG&gt;&lt;EM&gt;Unknown option: levels&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;
usage:&lt;BR /&gt;
        chkconfig -A|--allservices              (together with -l: show all services)&lt;BR /&gt;
        chkconfig -t|--terse &lt;A href="https://community.splunk.com/shows%20the%20links" target="_blank"&gt;names&lt;/A&gt;&lt;BR /&gt;
        chkconfig -e|--edit  &lt;A href="https://community.splunk.com/configure%20services" target="_blank"&gt;names&lt;/A&gt;&lt;BR /&gt;
        chkconfig -s|--set   [name state]...    (configure services)&lt;BR /&gt;
        chkconfig -l|--list [--deps] &lt;A href="https://community.splunk.com/shows%20the%20links" target="_blank"&gt;names&lt;/A&gt;&lt;BR /&gt;
        chkconfig -L|--liston [--deps] &lt;A href="https://community.splunk.com/as%20-l,%20enabled%20in%20at%20least%201%20level" target="_blank"&gt;names&lt;/A&gt;&lt;BR /&gt;
        chkconfig -c|--check name &lt;A href="https://community.splunk.com/check%20state" target="_blank"&gt;state&lt;/A&gt;&lt;BR /&gt;
        chkconfig -a|--add   &lt;A href="https://community.splunk.com/runs%20insserv" target="_blank"&gt;names&lt;/A&gt;&lt;BR /&gt;
        chkconfig -d|--del   &lt;A href="https://community.splunk.com/runs%20insserv%20-r" target="_blank"&gt;names&lt;/A&gt;&lt;BR /&gt;
        chkconfig -h|--help                     (print usage)&lt;BR /&gt;
        chkconfig -f|--force ...                (call insserv with -f)&lt;BR /&gt;
        chkconfig [name]             same as chkconfig -t&lt;BR /&gt;
        chkconfig name state...      same as chkconfig -s name state&lt;BR /&gt;
        chkconfig --root=&lt;ROOT&gt; ...  use &lt;ROOT&gt; as the root file system&lt;/ROOT&gt;&lt;/ROOT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 23:18:09 GMT</pubDate>
    <dc:creator>ggrissom</dc:creator>
    <dc:date>2020-09-29T23:18:09Z</dc:date>
    <item>
      <title>/opt/splunkforwarder/bin/splunk enable boot-start ... Unknown option: levels (chkconfig)</title>
      <link>https://community.splunk.com/t5/Installation/opt-splunkforwarder-bin-splunk-enable-boot-start-Unknown-option/m-p/391355#M8765</link>
      <description>&lt;P&gt;splunkforwarder-7.0.4-68ba48f99743-Linux-x86_64.tgz&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;uname -a&lt;/STRONG&gt;&lt;BR /&gt;
Linux HOSTNAME 4.4.143-94.47-default #1 SMP Thu Aug 9 12:47:15 UTC 2018 (6bff971) x86_64 x86_64 x86_64 GNU/Linux&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;cat /etc/SuSE-release&lt;/STRONG&gt;&lt;BR /&gt;
SUSE Linux Enterprise Server 12 (x86_64)&lt;BR /&gt;
VERSION = 12&lt;BR /&gt;
PATCHLEVEL = 3&lt;/P&gt;

&lt;H1&gt;This file is deprecated and will be removed in a future service pack or release.&lt;/H1&gt;

&lt;H1&gt;Please check /etc/os-release for details about this release.&lt;/H1&gt;

&lt;P&gt;&lt;STRONG&gt;cat /etc/os-release&lt;/STRONG&gt;&lt;BR /&gt;
NAME="SLES"&lt;BR /&gt;
VERSION="12-SP3"&lt;BR /&gt;
VERSION_ID="12.3"&lt;BR /&gt;
PRETTY_NAME="SUSE Linux Enterprise Server 12 SP3"&lt;BR /&gt;
ID="sles"&lt;BR /&gt;
ANSI_COLOR="0;32"&lt;BR /&gt;
CPE_NAME="cpe:/o:suse:sles_sap:12:sp3"&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;/opt/splunkforwarder/bin/splunk enable boot-start&lt;/STRONG&gt;&lt;BR /&gt;
&lt;STRONG&gt;&lt;EM&gt;Unknown option: levels&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;
usage:&lt;BR /&gt;
        chkconfig -A|--allservices              (together with -l: show all services)&lt;BR /&gt;
        chkconfig -t|--terse &lt;A href="https://community.splunk.com/shows%20the%20links" target="_blank"&gt;names&lt;/A&gt;&lt;BR /&gt;
        chkconfig -e|--edit  &lt;A href="https://community.splunk.com/configure%20services" target="_blank"&gt;names&lt;/A&gt;&lt;BR /&gt;
        chkconfig -s|--set   [name state]...    (configure services)&lt;BR /&gt;
        chkconfig -l|--list [--deps] &lt;A href="https://community.splunk.com/shows%20the%20links" target="_blank"&gt;names&lt;/A&gt;&lt;BR /&gt;
        chkconfig -L|--liston [--deps] &lt;A href="https://community.splunk.com/as%20-l,%20enabled%20in%20at%20least%201%20level" target="_blank"&gt;names&lt;/A&gt;&lt;BR /&gt;
        chkconfig -c|--check name &lt;A href="https://community.splunk.com/check%20state" target="_blank"&gt;state&lt;/A&gt;&lt;BR /&gt;
        chkconfig -a|--add   &lt;A href="https://community.splunk.com/runs%20insserv" target="_blank"&gt;names&lt;/A&gt;&lt;BR /&gt;
        chkconfig -d|--del   &lt;A href="https://community.splunk.com/runs%20insserv%20-r" target="_blank"&gt;names&lt;/A&gt;&lt;BR /&gt;
        chkconfig -h|--help                     (print usage)&lt;BR /&gt;
        chkconfig -f|--force ...                (call insserv with -f)&lt;BR /&gt;
        chkconfig [name]             same as chkconfig -t&lt;BR /&gt;
        chkconfig name state...      same as chkconfig -s name state&lt;BR /&gt;
        chkconfig --root=&lt;ROOT&gt; ...  use &lt;ROOT&gt; as the root file system&lt;/ROOT&gt;&lt;/ROOT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:18:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/opt-splunkforwarder-bin-splunk-enable-boot-start-Unknown-option/m-p/391355#M8765</guid>
      <dc:creator>ggrissom</dc:creator>
      <dc:date>2020-09-29T23:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: /opt/splunkforwarder/bin/splunk enable boot-start ... Unknown option: levels (chkconfig)</title>
      <link>https://community.splunk.com/t5/Installation/opt-splunkforwarder-bin-splunk-enable-boot-start-Unknown-option/m-p/391356#M8766</link>
      <description>&lt;P&gt;Are you running as root or sudo user?&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.4/Admin/ConfigureSplunktostartatboottime"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.4/Admin/ConfigureSplunktostartatboottime&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 22:31:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/opt-splunkforwarder-bin-splunk-enable-boot-start-Unknown-option/m-p/391356#M8766</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2019-02-27T22:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: /opt/splunkforwarder/bin/splunk enable boot-start ... Unknown option: levels (chkconfig)</title>
      <link>https://community.splunk.com/t5/Installation/opt-splunkforwarder-bin-splunk-enable-boot-start-Unknown-option/m-p/391357#M8767</link>
      <description>&lt;P&gt;Thanks for the feedback.&lt;/P&gt;

&lt;P&gt;Running as root.&lt;/P&gt;

&lt;P&gt;I originally followed the very link you provided for the forwarder installation.&lt;/P&gt;

&lt;P&gt;The issue appears connected to the&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;chkconfig&lt;/EM&gt; command called by:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;/opt/splunkforwarder/bin/splunk enable boot-start&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;For some reason, option &lt;EM&gt;levels&lt;/EM&gt; is not recognized as valid.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 02:39:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/opt-splunkforwarder-bin-splunk-enable-boot-start-Unknown-option/m-p/391357#M8767</guid>
      <dc:creator>ggrissom</dc:creator>
      <dc:date>2019-02-28T02:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: /opt/splunkforwarder/bin/splunk enable boot-start ... Unknown option: levels (chkconfig)</title>
      <link>https://community.splunk.com/t5/Installation/opt-splunkforwarder-bin-splunk-enable-boot-start-Unknown-option/m-p/391358#M8768</link>
      <description>&lt;P&gt;chkconfig is (breifly explained) just a functionality that creates symlinks to the initscript in the different startup runlevel folders, and also provides an overview of what services that are started at different runlevels.&lt;/P&gt;

&lt;P&gt;"runlevels" no longer exist for systems using systemd (or related init systems), so perhaps SuSE removed that option?&lt;/P&gt;

&lt;P&gt;There is on the other hand no need to run the splunk script to make splunk start after boot....just use your systems built in auto start mechanisms and "point it" at the splunk binary $SPLUNK_HOME/bin/splunk&lt;/P&gt;

&lt;P&gt;(the splunk enable boot-start functionality just creates a init script and, sets the runlevels for which splunk should run in that script  and then use chkconfig with the same information to make the system changes at once.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 11:22:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/opt-splunkforwarder-bin-splunk-enable-boot-start-Unknown-option/m-p/391358#M8768</guid>
      <dc:creator>nsommars</dc:creator>
      <dc:date>2019-02-28T11:22:37Z</dc:date>
    </item>
  </channel>
</rss>

