<?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 Error calling execve(): No such file or directory in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Error-calling-execve-No-such-file-or-directory/m-p/679453#M13702</link>
    <description>&lt;P&gt;My apps running in docker containers currently use 8.2.9 splunk univeral forwarder that works fine. My image are based on linux alpine image.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have for some time been trying to get 9.x.x UF working instead but I cannot get it to work. When it boots, it prints the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"/opt/splunkforwarder/bin/splunk" start --accept-license --answer-yes --no-prompt
Warning: Attempting to revert the SPLUNK_HOME ownership
Warning: Executing "chown -R splunk:splunk /opt/splunkforwarder"

This appears to be your first time running this version of Splunk.
Creating unit file...
Error calling execve(): No such file or directory
Error launching command: No such file or directory
Failed to create the unit file. Please do it manually later.


Splunk&amp;gt; The Notorious B.I.G. D.A.T.A.

Checking prerequisites...
Checking mgmt port [8089]: open
Creating: /opt/splunkforwarder/var/lib/splunk
Creating: /opt/splunkforwarder/var/run/splunk
Creating: /opt/splunkforwarder/var/run/splunk/appserver/i18n
Creating: /opt/splunkforwarder/var/run/splunk/appserver/modules/static/css
Creating: /opt/splunkforwarder/var/run/splunk/upload
Creating: /opt/splunkforwarder/var/run/splunk/search_telemetry
Creating: /opt/splunkforwarder/var/run/splunk/search_log
Creating: /opt/splunkforwarder/var/spool/splunk
Creating: /opt/splunkforwarder/var/spool/dirmoncache
Creating: /opt/splunkforwarder/var/lib/splunk/authDb
Creating: /opt/splunkforwarder/var/lib/splunk/hashDb
Checking conf files for problems...
Done
Checking default conf files for edits...
Validating installed files against hashes from '/opt/splunkforwarder/splunkforwarder-9.1.2-b6b9c8185839-linux-2.6-x86_64-manifest'
All installed files intact.
Done
All preliminary checks passed.

Starting splunk server daemon (splunkd)...
PYTHONHTTPSVERIFY is set to 0 in splunk-launch.conf disabling certificate validation for the httplib and urllib libraries shipped with the embedded Python interpreter; must be set to "1" for increased security&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However it seems to start a background process but I dont see the logs in splunk. Using the status command kills the background process:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"/opt/splunkforwarder/bin/splunk" status
Warning: Attempting to revert the SPLUNK_HOME ownership
Warning: Executing "chown -R splunk:splunk /opt/splunkforwarder"
splunkd 165 was not running.
Stopping splunk helpers...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried disabling boot start but that gives me a similar error::&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"/opt/splunkforwarder/bin/splunk" disable boot-start

Error calling execve(): No such file or directory
Error launching command: No such file or directory
execve: No such file or directory
while running command /sbin/chkconfig&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After researching this, I think it could be related to systemd perhaps? I dont think Alpine includes it but it uses OpenRC instead. However, I dont really have any use for this autostart feature anyway, is there a way to ignore/skip it somehow?&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2024 10:18:43 GMT</pubDate>
    <dc:creator>blaha1</dc:creator>
    <dc:date>2024-03-04T10:18:43Z</dc:date>
    <item>
      <title>Error calling execve(): No such file or directory</title>
      <link>https://community.splunk.com/t5/Installation/Error-calling-execve-No-such-file-or-directory/m-p/679453#M13702</link>
      <description>&lt;P&gt;My apps running in docker containers currently use 8.2.9 splunk univeral forwarder that works fine. My image are based on linux alpine image.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have for some time been trying to get 9.x.x UF working instead but I cannot get it to work. When it boots, it prints the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"/opt/splunkforwarder/bin/splunk" start --accept-license --answer-yes --no-prompt
Warning: Attempting to revert the SPLUNK_HOME ownership
Warning: Executing "chown -R splunk:splunk /opt/splunkforwarder"

This appears to be your first time running this version of Splunk.
Creating unit file...
Error calling execve(): No such file or directory
Error launching command: No such file or directory
Failed to create the unit file. Please do it manually later.


Splunk&amp;gt; The Notorious B.I.G. D.A.T.A.

Checking prerequisites...
Checking mgmt port [8089]: open
Creating: /opt/splunkforwarder/var/lib/splunk
Creating: /opt/splunkforwarder/var/run/splunk
Creating: /opt/splunkforwarder/var/run/splunk/appserver/i18n
Creating: /opt/splunkforwarder/var/run/splunk/appserver/modules/static/css
Creating: /opt/splunkforwarder/var/run/splunk/upload
Creating: /opt/splunkforwarder/var/run/splunk/search_telemetry
Creating: /opt/splunkforwarder/var/run/splunk/search_log
Creating: /opt/splunkforwarder/var/spool/splunk
Creating: /opt/splunkforwarder/var/spool/dirmoncache
Creating: /opt/splunkforwarder/var/lib/splunk/authDb
Creating: /opt/splunkforwarder/var/lib/splunk/hashDb
Checking conf files for problems...
Done
Checking default conf files for edits...
Validating installed files against hashes from '/opt/splunkforwarder/splunkforwarder-9.1.2-b6b9c8185839-linux-2.6-x86_64-manifest'
All installed files intact.
Done
All preliminary checks passed.

Starting splunk server daemon (splunkd)...
PYTHONHTTPSVERIFY is set to 0 in splunk-launch.conf disabling certificate validation for the httplib and urllib libraries shipped with the embedded Python interpreter; must be set to "1" for increased security&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However it seems to start a background process but I dont see the logs in splunk. Using the status command kills the background process:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"/opt/splunkforwarder/bin/splunk" status
Warning: Attempting to revert the SPLUNK_HOME ownership
Warning: Executing "chown -R splunk:splunk /opt/splunkforwarder"
splunkd 165 was not running.
Stopping splunk helpers...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried disabling boot start but that gives me a similar error::&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"/opt/splunkforwarder/bin/splunk" disable boot-start

Error calling execve(): No such file or directory
Error launching command: No such file or directory
execve: No such file or directory
while running command /sbin/chkconfig&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After researching this, I think it could be related to systemd perhaps? I dont think Alpine includes it but it uses OpenRC instead. However, I dont really have any use for this autostart feature anyway, is there a way to ignore/skip it somehow?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 10:18:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Error-calling-execve-No-such-file-or-directory/m-p/679453#M13702</guid>
      <dc:creator>blaha1</dc:creator>
      <dc:date>2024-03-04T10:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error calling execve(): No such file or directory</title>
      <link>https://community.splunk.com/t5/Installation/Error-calling-execve-No-such-file-or-directory/m-p/679470#M13703</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;have you read these?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.splunk.com/t5/Installation/How-to-resolve-error-when-starting-UF-for-the-first-time/m-p/612748" target="_blank"&gt;https://community.splunk.com/t5/Installation/How-to-resolve-error-when-starting-UF-for-the-first-time/m-p/612748&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.splunk.com/t5/Installation/Upgrading-Universal-Forwarder-8-x-x-to-9-x-x-does-not-work/m-p/665668" target="_blank"&gt;https://community.splunk.com/t5/Installation/Upgrading-Universal-Forwarder-8-x-x-to-9-x-x-does-not-work/m-p/665668&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 11:56:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Error-calling-execve-No-such-file-or-directory/m-p/679470#M13703</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-03-04T11:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error calling execve(): No such file or directory</title>
      <link>https://community.splunk.com/t5/Installation/Error-calling-execve-No-such-file-or-directory/m-p/679480#M13704</link>
      <description>&lt;P&gt;Indeed, I have searched and read all the threads I could find about this issue to no avail.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 12:44:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Error-calling-execve-No-such-file-or-directory/m-p/679480#M13704</guid>
      <dc:creator>blaha1</dc:creator>
      <dc:date>2024-03-04T12:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error calling execve(): No such file or directory</title>
      <link>https://community.splunk.com/t5/Installation/Error-calling-execve-No-such-file-or-directory/m-p/682069#M13760</link>
      <description>&lt;P&gt;That was bad workaround way to force enable tty when launch splunkforwarder. Why it has the istty rescrition on itself. Can't we manage forwarder within other program manager like supervisor which couldn't have tty env&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 04:00:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Error-calling-execve-No-such-file-or-directory/m-p/682069#M13760</guid>
      <dc:creator>ShawnC</dc:creator>
      <dc:date>2024-03-27T04:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error calling execve(): No such file or directory</title>
      <link>https://community.splunk.com/t5/Installation/Error-calling-execve-No-such-file-or-directory/m-p/682148#M13762</link>
      <description>Please create a support case on Splunk Support to ask this option.</description>
      <pubDate>Wed, 27 Mar 2024 18:01:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Error-calling-execve-No-such-file-or-directory/m-p/682148#M13762</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-03-27T18:01:37Z</dc:date>
    </item>
  </channel>
</rss>

