<?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 Re: systemctl start SplunkForwarder fails error=203 in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/systemctl-start-SplunkForwarder-fails-error-203/m-p/482814#M8605</link>
    <description>&lt;P&gt;What UF version is this?&lt;/P&gt;

&lt;P&gt;Recently, Splunk switched over to making the UFs register as &lt;CODE&gt;splunk&lt;/CODE&gt;. That way the systemd name is same between a Splunk "full" install or UF.&lt;/P&gt;

&lt;P&gt;Try this command to see what it is registered:&lt;BR /&gt;
&lt;CODE&gt;systemctl -l | grep -i splunk&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Feb 2020 18:10:20 GMT</pubDate>
    <dc:creator>adamsaul</dc:creator>
    <dc:date>2020-02-25T18:10:20Z</dc:date>
    <item>
      <title>systemctl start SplunkForwarder fails error=203</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/systemctl-start-SplunkForwarder-fails-error-203/m-p/482813#M8604</link>
      <description>&lt;P&gt;got an alert that splunk is not running.  Tried to restart using systemd restart SplunkForwarder.&lt;/P&gt;

&lt;P&gt;● SplunkForwarder.service - Systemd service file for Splunk, generated by 'splunk enable boot-start'&lt;BR /&gt;
   Loaded: loaded (/etc/systemd/system/SplunkForwarder.service; enabled; vendor preset: disabled)&lt;BR /&gt;
   Active: failed (Result: start-limit) since Mon 2020-02-24 07:25:40 MST; 1 day 1h ago&lt;BR /&gt;
  Process: 344227 ExecStartPost=/bin/bash -c chown -R 2080:2080 /sys/fs/cgroup/memory/system.slice/%n (code=exited, status=&lt;BR /&gt;
  Process: 344225 ExecStartPost=/bin/bash -c chown -R 2080:2080 /sys/fs/cgroup/cpu/system.slice/%n (code=exited, status=0/S&lt;BR /&gt;
  Process: 344224 ExecStart=/opt/splunkforwarder/bin/splunk _internal_launch_under_systemd (code=exited, status=203/EXEC)&lt;BR /&gt;
 Main PID: 344224 (code=exited, status=203/EXEC)&lt;/P&gt;

&lt;P&gt;Feb 24 07:25:40 pplx2dbadm05.adt.com systemd[1]: Failed to start Systemd service file for Splunk, generated by 'splunk enab&lt;BR /&gt;
Feb 24 07:25:40 pplx2dbadm05.adt.com systemd[1]: Unit SplunkForwarder.service entered failed state.&lt;BR /&gt;
Feb 24 07:25:40 pplx2dbadm05.adt.com systemd[1]: SplunkForwarder.service failed.&lt;BR /&gt;
Feb 24 07:25:40 pplx2dbadm05.adt.com systemd[1]: SplunkForwarder.service holdoff time over, scheduling restart.&lt;BR /&gt;
Feb 24 07:25:40 pplx2dbadm05.adt.com systemd[1]: Stopped Systemd service file for Splunk, generated by 'splunk enable boot-&lt;BR /&gt;
Feb 24 07:25:40 pplx2dbadm05.adt.com systemd[1]: start request repeated too quickly for SplunkForwarder.service&lt;BR /&gt;
Feb 24 07:25:40 pplx2dbadm05.adt.com systemd[1]: Failed to start Systemd service file for Splunk, generated by 'splunk enab&lt;BR /&gt;
Feb 24 07:25:40 pplx2dbadm05.adt.com systemd[1]: Unit SplunkForwarder.service entered failed state.&lt;BR /&gt;
Feb 24 07:25:40 pplx2dbadm05.adt.com systemd[1]: SplunkForwarder.service failed.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:24:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/systemctl-start-SplunkForwarder-fails-error-203/m-p/482813#M8604</guid>
      <dc:creator>allroadsleadtoa</dc:creator>
      <dc:date>2020-09-30T04:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: systemctl start SplunkForwarder fails error=203</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/systemctl-start-SplunkForwarder-fails-error-203/m-p/482814#M8605</link>
      <description>&lt;P&gt;What UF version is this?&lt;/P&gt;

&lt;P&gt;Recently, Splunk switched over to making the UFs register as &lt;CODE&gt;splunk&lt;/CODE&gt;. That way the systemd name is same between a Splunk "full" install or UF.&lt;/P&gt;

&lt;P&gt;Try this command to see what it is registered:&lt;BR /&gt;
&lt;CODE&gt;systemctl -l | grep -i splunk&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 18:10:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/systemctl-start-SplunkForwarder-fails-error-203/m-p/482814#M8605</guid>
      <dc:creator>adamsaul</dc:creator>
      <dc:date>2020-02-25T18:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: systemctl start SplunkForwarder fails error=203</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/systemctl-start-SplunkForwarder-fails-error-203/m-p/533716#M8606</link>
      <description>&lt;P&gt;I had exactly the same issue on RHEL8 and the problem was SELinux blocking this service.&amp;nbsp;I had:&lt;/P&gt;&lt;P&gt;# getenforce&lt;BR /&gt;Enforced&lt;/P&gt;&lt;P&gt;I changed that with this command&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# sudo setenforce 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Once I had that set to Permissive, the service started fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# getenforce&lt;BR /&gt;Permissive&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These were my logs:&lt;/P&gt;&lt;P&gt;[root@Server12345 d3569346]# systemctl status Splunkd.service&lt;BR /&gt;● Splunkd.service&lt;BR /&gt;Loaded: loaded (/etc/systemd/system/Splunkd.service; disabled; vendor preset: disabled)&lt;BR /&gt;Active: failed (Result: exit-code) since Fri 2020-12-11 16:11:22 HKT; 13s ago&lt;BR /&gt;Process: 167388 ExecStartPost=/bin/bash -c chown -R splunk:users /sys/fs/cgroup/memory/system.slice/Splunkd.service (code=exited, status=0/SUCCESS)&lt;BR /&gt;Process: 167386 ExecStartPost=/bin/bash -c chown -R splunk:users /sys/fs/cgroup/cpu/system.slice/Splunkd.service (code=exited, status=0/SUCCESS)&lt;BR /&gt;Process: 167385 ExecStart=/opt/splunk/bin/splunk _internal_launch_under_systemd (code=exited, status=203/EXEC)&lt;BR /&gt;Main PID: 167385 (code=exited, status=203/EXEC)&lt;/P&gt;&lt;P&gt;Dec 11 16:11:22 Server12345 systemd[1]: Splunkd.service: Failed with result 'exit-code'.&lt;BR /&gt;Dec 11 16:11:22 Server12345 systemd[1]: Failed to start Splunkd.service.&lt;BR /&gt;Dec 11 16:11:22 Server12345 systemd[1]: Splunkd.service: Service RestartSec=100ms expired, scheduling restart.&lt;BR /&gt;Dec 11 16:11:22 Server12345 systemd[1]: Splunkd.service: Scheduled restart job, restart counter is at 5.&lt;BR /&gt;Dec 11 16:11:22 Server12345 systemd[1]: Stopped Splunkd.service.&lt;BR /&gt;Dec 11 16:11:22 Server12345 systemd[1]: Splunkd.service: Start request repeated too quickly.&lt;BR /&gt;Dec 11 16:11:22 Server12345 systemd[1]: Splunkd.service: Failed with result 'exit-code'.&lt;BR /&gt;Dec 11 16:11:22 Server12345 systemd[1]: Failed to start Splunkd.service.&lt;/P&gt;&lt;P&gt;*******************************&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-- Unit tsSplunk.service has begun starting up.&lt;BR /&gt;Dec 21 17:12:30 Server12345 systemd[32167]: tsSplunk.service: Failed to execute command: Permission denied&lt;BR /&gt;Dec 21 17:12:30 Server12345 systemd[32167]: tsSplunk.service: Failed at step EXEC spawning /opt/splunk/bin/splunk: Permission denied&lt;BR /&gt;-- Subject: Process /opt/splunk/bin/splunk could not be executed&lt;BR /&gt;-- Defined-By: systemd&lt;BR /&gt;-- Support: &lt;A href="https://access.redhat.com/support" target="_blank" rel="noopener"&gt;https://access.redhat.com/support&lt;/A&gt;&lt;BR /&gt;--&lt;BR /&gt;-- The process /opt/splunk/bin/splunk could not be executed and failed.&lt;BR /&gt;--&lt;BR /&gt;-- The error number returned by this process is 13.&lt;BR /&gt;Dec 21 17:12:30 Server12345 systemd[1]: tsSplunk.service: Main process exited, code=exited, status=203/EXEC&lt;BR /&gt;Dec 21 17:12:30 Server12345 systemd[1]: tsSplunk.service: Failed with result 'exit-code'.&lt;BR /&gt;Dec 21 17:12:30 Server12345 systemd[1]: Failed to start Systemd service file for Splunk, generated by 'splunk enable boot-start'.&lt;BR /&gt;-- Subject: Unit tsSplunk.service has failed&lt;BR /&gt;-- Defined-By: systemd&lt;BR /&gt;-- Support: &lt;A href="https://access.redhat.com/support" target="_blank" rel="noopener"&gt;https://access.redhat.com/support&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 11:01:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/systemctl-start-SplunkForwarder-fails-error-203/m-p/533716#M8606</guid>
      <dc:creator>garias_splunk</dc:creator>
      <dc:date>2020-12-21T11:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: systemctl start SplunkForwarder fails error=203</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/systemctl-start-SplunkForwarder-fails-error-203/m-p/564321#M8607</link>
      <description>&lt;P&gt;On CentOS 7.9:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;$&amp;gt; systemctl list-unit-files | grep -i splunk
splunkforwarder.service enabled&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Package:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;splunkforwarder-8.2.1-ddff1c41e5cf-linux-2.6-x86_64.rpm&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 12:49:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/systemctl-start-SplunkForwarder-fails-error-203/m-p/564321#M8607</guid>
      <dc:creator>ephemeric</dc:creator>
      <dc:date>2021-08-23T12:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: systemctl start SplunkForwarder fails error=203</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/systemctl-start-SplunkForwarder-fails-error-203/m-p/564348#M8608</link>
      <description>&lt;P&gt;Make sure that all files and directories under $SPLUNK_HOME are owned by splunk, or whatever user you chose, and not owned by root.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 14:04:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/systemctl-start-SplunkForwarder-fails-error-203/m-p/564348#M8608</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2021-08-23T14:04:19Z</dc:date>
    </item>
  </channel>
</rss>

