<?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: Splunk universal forwarder fails to start - AIX in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173372#M34878</link>
    <description>&lt;P&gt;Also, I installed 6.0.6 (last release for 6.0) splunkforwarder for AIX and it works fine.&lt;BR /&gt;
Then I removed it and tried 6.1.0(first release for 6.1) version and it breaks there i.e the same execv:permission denied.&lt;BR /&gt;
So it seems something happened while going from 6.0 to 6.1.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Oct 2014 18:43:46 GMT</pubDate>
    <dc:creator>vsingla1</dc:creator>
    <dc:date>2014-10-01T18:43:46Z</dc:date>
    <item>
      <title>Splunk universal forwarder fails to start - AIX</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173364#M34870</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I installed the universal forwarder 6.1 for AIX. &lt;/P&gt;

&lt;P&gt;splunkforwarder-6.1.1-207789-AIX-powerpc.tar&lt;/P&gt;

&lt;P&gt;splunk@xxxxxx /opt/splunk &amp;gt; uname -a&lt;BR /&gt;
AIX xxxxxx 1 6 00F783D04C00&lt;/P&gt;

&lt;P&gt;The first time the forwarder was restarted I got this error:&lt;/P&gt;

&lt;P&gt;splunk@xxxxxxxx /opt/splunk/splunkforwarder/bin &amp;gt; ./splunk start&lt;/P&gt;

&lt;P&gt;Splunk&amp;gt; All batbelt. No tights.&lt;/P&gt;

&lt;P&gt;Checking prerequisites...&lt;BR /&gt;
        Checking mgmt port [8089]: open&lt;BR /&gt;
        Checking conf files for problems...&lt;BR /&gt;
        Done&lt;BR /&gt;
All preliminary checks passed.&lt;/P&gt;

&lt;P&gt;Starting splunk server daemon (splunkd)...&lt;BR /&gt;
execve: Permission denied&lt;/P&gt;

&lt;P&gt;I can't find anything about this in the splunk log files.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
Anne Beate Arneberg&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2014 06:05:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173364#M34870</guid>
      <dc:creator>annebeate</dc:creator>
      <dc:date>2014-05-21T06:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk universal forwarder fails to start - AIX</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173365#M34871</link>
      <description>&lt;P&gt;Hi annebeate,&lt;/P&gt;

&lt;P&gt;check the permission of &lt;CODE&gt;/opt/splunk&lt;/CODE&gt;, all the files must be owned by the user &lt;CODE&gt;splunk&lt;/CODE&gt; in your case. If you started the forwarder before with the &lt;CODE&gt;root&lt;/CODE&gt; account, you will have some files owned by &lt;CODE&gt;root&lt;/CODE&gt;. Check the docs about &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.1/installation/RunSplunkasadifferentornon-rootuser"&gt;Run Splunk as a different or non-root user&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2014 06:18:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173365#M34871</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-05-21T06:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk universal forwarder fails to start - AIX</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173366#M34872</link>
      <description>&lt;P&gt;We are running splunkforwarder-6.1.1-207789-AIX-powerpc.&lt;BR /&gt;
We succesfully had it start and run for 2 day but today we get the exact same error as above.&lt;BR /&gt;
We checked that all files and directories under .apps/splunk (where all our instances go) are owned by the correct splunk service account.&lt;/P&gt;

&lt;P&gt;We are stumped.  Any suggestions?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2014 19:32:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173366#M34872</guid>
      <dc:creator>drdosia</dc:creator>
      <dc:date>2014-06-11T19:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk universal forwarder fails to start - AIX</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173367#M34873</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;It did not help to change the file permissions to splunk. I tried to reinstall the 6.1.1 version and encountered the same problem during restart of splunk. I ended up with installing the 6.0.4 version which worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2014 05:52:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173367#M34873</guid>
      <dc:creator>annebeate</dc:creator>
      <dc:date>2014-06-12T05:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk universal forwarder fails to start - AIX</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173368#M34874</link>
      <description>&lt;P&gt;This will be fixed in 6.1.4&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2014 08:14:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173368#M34874</guid>
      <dc:creator>HansWurscht</dc:creator>
      <dc:date>2014-08-22T08:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk universal forwarder fails to start - AIX</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173369#M34875</link>
      <description>&lt;P&gt;What is the issue?  I'm doing a pilot on my AIX server farm, and out of the 20 or so, one failed.  It actually ran before.  And now it's not running.  This is very strange.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2014 16:59:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173369#M34875</guid>
      <dc:creator>fantai_carefirs</dc:creator>
      <dc:date>2014-09-03T16:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk universal forwarder fails to start - AIX</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173370#M34876</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;did have same problem.&lt;BR /&gt;
My &lt;STRONG&gt;problem&lt;/STRONG&gt; was i did install first time the splunkforwarder with"&lt;STRONG&gt;splunk enable boot-start&lt;/STRONG&gt;".&lt;BR /&gt;
This makes entries in SRCsubsys of aix:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Check if entry exists:&lt;/STRONG&gt;&lt;BR /&gt;
&lt;CODE&gt;odmget SRCsubsys | grep splunk&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Get rid of entries with&lt;/STRONG&gt; &lt;BR /&gt;
&lt;CODE&gt;sudo .../.splunk disable boot-start&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Check if entry exists, and start splunk with wrapper script as user splunk, and never as user root like:&lt;/P&gt;

&lt;P&gt;$ cat rc.splunk&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#!/bin/ksh
### Script Variables
APPDIR=/usr/local/splunk/splunkforwarder/bin
APPNAME=splunk
RUN_USER=splunk

#export JAVA_HOME=/usr/java7_64

case "$1" in

start )
   echo "Starting the ${APPNAME} Application"
   su $RUN_USER -c ${APPDIR}/${APPNAME} start
;;

stop )
   echo "stopping the  Application"
   su $RUN_USER -c ${APPDIR}/${APPNAME} stop
;;

restart )
   echo "restarting  the ${APPNAME} Application"
   su $RUN_USER -c ${APPDIR}/${APPNAME} stop
   su $RUN_USER -c ${APPDIR}/${APPNAME} start
;;


* )
   echo "Usage: $0 COMMAND"
   echo "---------------------------"
   echo "start    - Start ${APPNAME} instance in ${APPDIR}"
   echo "stop     - Stop ${APPNAME} instance in ${APPDIR}"
   echo "restart     - Stop ${APPNAME} instance in ${APPDIR}"
   echo
   exit 1

esac
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope thie helps&lt;/P&gt;

&lt;P&gt;cheers, pit&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2014 15:19:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173370#M34876</guid>
      <dc:creator>pit4getit</dc:creator>
      <dc:date>2014-09-18T15:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk universal forwarder fails to start - AIX</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173371#M34877</link>
      <description>&lt;P&gt;@HansWurscht&lt;BR /&gt;
I am also facing same issue i.e execve: Permission denied when trying to run splunkforwarder on AIx.&lt;BR /&gt;
I have tried splunkforwarder 6.1.2,6.1.3 and 6.1.4. But none of the versions have a fix for the issue. All of them still gives same error.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2014 16:46:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173371#M34877</guid>
      <dc:creator>vsingla1</dc:creator>
      <dc:date>2014-10-01T16:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk universal forwarder fails to start - AIX</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173372#M34878</link>
      <description>&lt;P&gt;Also, I installed 6.0.6 (last release for 6.0) splunkforwarder for AIX and it works fine.&lt;BR /&gt;
Then I removed it and tried 6.1.0(first release for 6.1) version and it breaks there i.e the same execv:permission denied.&lt;BR /&gt;
So it seems something happened while going from 6.0 to 6.1.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2014 18:43:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173372#M34878</guid>
      <dc:creator>vsingla1</dc:creator>
      <dc:date>2014-10-01T18:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk universal forwarder fails to start - AIX</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173373#M34879</link>
      <description>&lt;P&gt;If you run into issues with Splunk starting on 6.1.x and 6.2.x versions please try following steps:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;uninstall splunk. &lt;/LI&gt;
&lt;LI&gt;As "root" run &lt;CODE&gt;lssrc -a | grep splunk&lt;/CODE&gt;. if this returns any output, it means that we still have Splunk information in the object class. Typically this will be "splunkd". If this exists, it needs to be removed with &lt;CODE&gt;rmssys -s splunkd&lt;/CODE&gt; . &lt;/LI&gt;
&lt;LI&gt;Run &lt;CODE&gt;lssrc -a | grep splunk&lt;/CODE&gt; to ensure that "splunkd" is removed from the object class. &lt;/LI&gt;
&lt;LI&gt;Reboot the system. &lt;/LI&gt;
&lt;LI&gt;As "root" untar to /opt . &lt;/LI&gt;
&lt;LI&gt;As "root" run &lt;CODE&gt;chmod -R splunk /opt/splunkforwarder&lt;/CODE&gt;. This will change the permissions of all the files under /opt/splunkforwarder to "splunk". &lt;/LI&gt;
&lt;LI&gt;Check step 6 with the command &lt;CODE&gt;find /opt/splunkforwarder \! -user splunk | xargs ls -al&lt;/CODE&gt;. This will return NO results if all the files are owned by splunk. &lt;/LI&gt;
&lt;LI&gt;Edit /opt/splunkforwarder/etc/splunk-launch.conf and set SPLUNK_OS_USER=splunk . &lt;/LI&gt;
&lt;LI&gt;Log out "root". &lt;/LI&gt;
&lt;LI&gt;Login as "splunk" and run &lt;CODE&gt;/opt/splunkforwarder/bin/splunk start&lt;/CODE&gt;. Splunk should now start. &lt;/LI&gt;
&lt;LI&gt;You will need to login as "splunk" to stop and start splunk and to run any Splunk commands OR add splunk to /etc/sudoers and use &lt;CODE&gt;sudo -u splunk&lt;/CODE&gt;.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;There is actually a bug open for this issue: one for the 6.1.x releases (SPL-85092) and a clone for the 6.2.x releases (SPL-92963). The expected maintenance releases containing the fix are 6.1.7 and 6.2.2 respectively. Once they are released, please upgrade and make sure that you don't see issues anymore. If you should still face issues, then please file a new support case by providing:&lt;/P&gt;

&lt;P&gt;A. a new diag&lt;BR /&gt;
B. the history of actions perfomed with the according outputs.&lt;/P&gt;

&lt;P&gt;and Splunk&amp;gt; Support will then further investigate the issue.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:42:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173373#M34879</guid>
      <dc:creator>mgaraventa_splu</dc:creator>
      <dc:date>2020-09-28T18:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk universal forwarder fails to start - AIX</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173374#M34880</link>
      <description>&lt;P&gt;We had the same issue with all versions of 6.1.x , 6.2 and the last tried was 6.2.1.&lt;BR /&gt;
We resorted to replacing all of our startup scripts with Wrapper scripts like the one recommended by pit4getit .&lt;BR /&gt;
That solves the issue for us but not a recommended final fix due to the extra work of replacing the startup scripts.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jan 2015 02:27:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173374#M34880</guid>
      <dc:creator>drdosia</dc:creator>
      <dc:date>2015-01-24T02:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk universal forwarder fails to start - AIX</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173375#M34881</link>
      <description>&lt;P&gt;With these SPL's/bugs I had expected not to see this:&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;"execve: Permission denied&lt;BR /&gt;
while running command /usr/bin/startsrc&lt;BR /&gt;
Splunk boot-start is enabled. please use /usr/bin/startsrc -s splunkd to start splunk "&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;when I yesterday tried to migrate 6.0.5 UF's to &lt;STRONG&gt;6.3.0.&lt;/STRONG&gt; But the issue is &lt;STRONG&gt;still&lt;/STRONG&gt; there. Is this something that was caused by the old installation, or is it still not fixed? It also occured in 6.1.1 and was said to be solved in 6.1.4 after fixing SPL-85092&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2015 07:56:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-universal-forwarder-fails-to-start-AIX/m-p/173375#M34881</guid>
      <dc:creator>tweaktubbie</dc:creator>
      <dc:date>2015-10-07T07:56:42Z</dc:date>
    </item>
  </channel>
</rss>

