<?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: Run schedule now to PPM is success but exited on LSF in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Run-schedule-now-to-PPM-is-success-but-exited-on-LSF/m-p/934834#M28700</link>
    <description>&lt;P&gt;This failure is saying Process Manager is trying and failing to run the command to submit a job using the LSF bsub command, getting back an exit code of 32256.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What happens when you try to run a bsub command outside of Process Manager as the sasdemo user? i.e. "bsub sleep 10" to submit a job that sleeps for 10 seconds.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jul 2024 18:59:24 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2024-07-05T18:59:24Z</dc:date>
    <item>
      <title>Run schedule now to PPM is success but exited on LSF</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Run-schedule-now-to-PPM-is-success-but-exited-on-LSF/m-p/934724#M28698</link>
      <description>&lt;P&gt;Hi SAS Communities,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Our LSF suddenly cannot schedule jobs and we already did a restart of the SAS and LSF services but still got the same issue.&lt;/P&gt;
&lt;P&gt;When running the schedule now in SMC, it says flow has been successfully scheduled to run on Platform Process Manager but when logging in to flow manager it says exited.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the JFD log, it shows like this&lt;/P&gt;
&lt;P&gt;JFJobExecutionAgent::checkReturnStatus: Failed to execute command &amp;lt;"/sas/scheduler/lsf/10.1/linux2.6-glibc2.3-x86_64/bin//bsub" -J '5984:sasdemo:Test_flow:Test_Job' -o '/dev/null' -fid 5984 '/sas/config/Lev1/SASApp/BatchServer/sasbatch.sh -log /sas/config/Lev1/SASApp/BatchServer/Logs/Test_flow_Test_Job_#Y.#m.#d_#H.#M.#s.log -batch -noterminal -logparm "rollover=session" -sysin /sas/config/Lev1/SASApp/SASEnvironment/SASCode/Jobs/Test_Job.sas'&amp;gt;. Exited with &amp;lt;32256&amp;gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems it cannot schedule on the batch server but it doesnt generate logs either..&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 02:58:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Run-schedule-now-to-PPM-is-success-but-exited-on-LSF/m-p/934724#M28698</guid>
      <dc:creator>jbond007</dc:creator>
      <dc:date>2024-07-05T02:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Run schedule now to PPM is success but exited on LSF</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Run-schedule-now-to-PPM-is-success-but-exited-on-LSF/m-p/934834#M28700</link>
      <description>&lt;P&gt;This failure is saying Process Manager is trying and failing to run the command to submit a job using the LSF bsub command, getting back an exit code of 32256.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What happens when you try to run a bsub command outside of Process Manager as the sasdemo user? i.e. "bsub sleep 10" to submit a job that sleeps for 10 seconds.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 18:59:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Run-schedule-now-to-PPM-is-success-but-exited-on-LSF/m-p/934834#M28700</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2024-07-05T18:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Run schedule now to PPM is success but exited on LSF</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Run-schedule-now-to-PPM-is-success-but-exited-on-LSF/m-p/934930#M28701</link>
      <description>Hi Greg,&lt;BR /&gt;&lt;BR /&gt;Thank you for replying. I tried that also bsub sleep 20 and then i run bjobs -l and i can see the sleep job also.</description>
      <pubDate>Mon, 08 Jul 2024 06:33:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Run-schedule-now-to-PPM-is-success-but-exited-on-LSF/m-p/934930#M28701</guid>
      <dc:creator>jbond007</dc:creator>
      <dc:date>2024-07-08T06:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Run schedule now to PPM is success but exited on LSF</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Run-schedule-now-to-PPM-is-success-but-exited-on-LSF/m-p/934961#M28702</link>
      <description>Is this failure consistent or intermittent? You may want to check your system logs to see why the exit code is being returned. If it's inconsistent, Process Manager does have options you can set in js.conf for JS_BSUB_RETRY_EXIT_VALUES and JS_START_RETRY to have it retry the submission if it encounters specific exit codes, and you could add 32256 to this list. &lt;A href="https://www.ibm.com/support/pages/job-submission-fails-and-flow-fails" target="_blank"&gt;https://www.ibm.com/support/pages/job-submission-fails-and-flow-fails&lt;/A&gt;</description>
      <pubDate>Mon, 08 Jul 2024 12:54:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Run-schedule-now-to-PPM-is-success-but-exited-on-LSF/m-p/934961#M28702</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2024-07-08T12:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Run schedule now to PPM is success but exited on LSF</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Run-schedule-now-to-PPM-is-success-but-exited-on-LSF/m-p/935292#M28710</link>
      <description>Hi greg,&lt;BR /&gt;&lt;BR /&gt;Its consistent. Suddenly users cannot schedule, even new flows cannot schedule. It seems the connection from SMC to LSF is the issue but couldnt trace where. I can run the same jobs on SAS even on linux command line, I can schedule also on LSF in linux also.&lt;BR /&gt;I raised to SAS TS also and they still checking</description>
      <pubDate>Wed, 10 Jul 2024 10:22:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Run-schedule-now-to-PPM-is-success-but-exited-on-LSF/m-p/935292#M28710</guid>
      <dc:creator>jbond007</dc:creator>
      <dc:date>2024-07-10T10:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Run schedule now to PPM is success but exited on LSF</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Run-schedule-now-to-PPM-is-success-but-exited-on-LSF/m-p/935337#M28713</link>
      <description>The components at work here are SAS Management Console, Process Manager (jfd) and LSF. SMC is a Process Manager client, telling Process Manager to run the flow. Process Manager does this by submitting the job(s) in the flow to LSF.&lt;BR /&gt;&lt;BR /&gt;From the error the failure is occurring outside of SAS Management Console, when Process Manager is submitting the job to LSF. Process Manager (jfd) is running the bsub command which is returning an exit code of 32256.&lt;BR /&gt;&lt;BR /&gt;When you say you can schedule on LSF in Linux, are you saying it works when running SMC from the Linux host, or when instructing the flow to run in Flow Manager, or are you submitting the same bsub command to LSF from the command line?&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2024 14:40:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Run-schedule-now-to-PPM-is-success-but-exited-on-LSF/m-p/935337#M28713</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2024-07-10T14:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Run schedule now to PPM is success but exited on LSF</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Run-schedule-now-to-PPM-is-success-but-exited-on-LSF/m-p/935983#M28736</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;The components at work here are SAS Management Console, Process Manager (jfd) and LSF. SMC is a Process Manager client, telling Process Manager to run the flow. Process Manager does this by submitting the job(s) in the flow to LSF." -- yes this one is correct.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"When you say you can schedule on LSF in Linux, are you saying it works when running SMC from the Linux host, or when instructing the flow to run in Flow Manager, or are you submitting the same bsub command to LSF from the command line?" -- when submitting the flow on SMC it says successful but when we're seeing it on flow manager it says its exited.&lt;BR /&gt;The one I can schedule is bsub from the command line itself.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;I have raise this to Technical Support, they enable debug and got this&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;JFJobExecutionAgent::_executeCommand: Unable to get JS_SU_COMMAND&lt;/P&gt;
&lt;P&gt;JFJobExecutionAgent::_executeCommand: su command to execute &amp;lt;/bin/su sasdemo -c /sas/scheduler/pm/work/tmp/JS_HjFO64&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As per the IBM ticket,&amp;nbsp;&lt;A href="https://www.ibm.com/support/pages/job-submission-failed-different-error-codes" target="_blank"&gt;https://www.ibm.com/support/pages/job-submission-failed-different-error-codes&lt;/A&gt;. It says its because of the directory not having the executable permission but the noexec is not visible on the mount point of this directory and we tried to change also to another but same result..&lt;/P&gt;
&lt;P&gt;We are still investigating on this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 03:13:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Run-schedule-now-to-PPM-is-success-but-exited-on-LSF/m-p/935983#M28736</guid>
      <dc:creator>jbond007</dc:creator>
      <dc:date>2024-07-17T03:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Run schedule now to PPM is success but exited on LSF</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Run-schedule-now-to-PPM-is-success-but-exited-on-LSF/m-p/936582#M28753</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/422546"&gt;@jbond007&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I suggest checking up the permissions/acl on the directory. Possible discuss with the OS Admin,&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 13:30:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Run-schedule-now-to-PPM-is-success-but-exited-on-LSF/m-p/936582#M28753</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2024-07-22T13:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Run schedule now to PPM is success but exited on LSF</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Run-schedule-now-to-PPM-is-success-but-exited-on-LSF/m-p/937186#M28776</link>
      <description>&lt;P&gt;We were able to resolve now this issue.&lt;/P&gt;
&lt;P&gt;The reason behind the below error message is that /bin/su has only Read permission..&lt;/P&gt;
&lt;P&gt;Whereas compared to our working environment, there is an read,write, permission. After update the permission we can successfully schedule the job smoothly.&lt;/P&gt;
&lt;P&gt;Unable to get JS_SU_COMMAND&lt;/P&gt;
&lt;P&gt;JFJobExecutionAgent::_executeCommand: su command to execute &amp;lt;/bin/su sasdemo -c /sas/scheduler/pm/work/tmp/JS_HjFO64&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 06:11:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Run-schedule-now-to-PPM-is-success-but-exited-on-LSF/m-p/937186#M28776</guid>
      <dc:creator>jbond007</dc:creator>
      <dc:date>2024-07-26T06:11:39Z</dc:date>
    </item>
  </channel>
</rss>

