<?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: The problem of running processes and tasks on the schedule in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/The-problem-of-running-processes-and-tasks-on-the-schedule/m-p/808305#M24198</link>
    <description>Glad to hear the correcting the URL resolve your campaign issue.&lt;BR /&gt;&lt;BR /&gt;As far as the LD_LIBRARY_PATH setting, this needs to be set in your &amp;lt;SASHome&amp;gt;/SASFoundation/9.4/bin/sasenv_local to include the path to where your Oracle libraries are, which in your case seems to be /opt/ora_client_19/lib. So the lines you'd want to add to sasenv_local would probably be something like:&lt;BR /&gt;&lt;BR /&gt;ORACLE_HOME=/opt/ora_client_19&lt;BR /&gt;export ORACLE_HOME&lt;BR /&gt;LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib&lt;BR /&gt;export LD_LIBRARY_PATH</description>
    <pubDate>Mon, 18 Apr 2022 13:49:57 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2022-04-18T13:49:57Z</dc:date>
    <item>
      <title>The problem of running processes and tasks on the schedule</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/The-problem-of-running-processes-and-tasks-on-the-schedule/m-p/807968#M24191</link>
      <description>&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;Faced with the problem of the work of processes and tasks on the schedule.&lt;/P&gt;&lt;P&gt;Reinstalled SAS 9.4M7 on new Linux servers.&lt;/P&gt;&lt;P&gt;Manual launches of campaigns from SAS CIS and manual launches of jobs from sas SAS DIS work out successfully. But if we schedule campaigns and jobs on the schedule, we get the following errors:&lt;/P&gt;&lt;P&gt;Campaign&lt;/P&gt;&lt;P&gt;----------&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;job 24 at Mon Apr 11 14:39:00 2022&lt;BR /&gt;ATJOBSubmitted&lt;BR /&gt;22/04/11 14:39:00 Flow _CAMP52138 starting, process ID 3144&lt;BR /&gt;job 25 at Tue Apr 12 14:39:00 2022&lt;BR /&gt;ATJOBSubmitted&lt;BR /&gt;22/04/11 14:39:00 Job _CAMP52138_A5VDU7VZ_C8000029 starting, process ID 3157&lt;BR /&gt;2022-04-11 14:39:02,022 FATAL [com.sas.svcs.environment.xml.XmlEnvironmentManager] - Unable to properly initialize EnvironmentManager (MalformedURLException) using the provided URL (prod-mid.ro-central1.internal:7980/ sas/sas-environment.xml)&lt;BR /&gt;java.net.MalformedURLException: unknown protocol: prod-mid.ro-central1.internal&lt;BR /&gt;at java.net.URL.&amp;lt;init&amp;gt;(URL.java:618)&lt;BR /&gt;at java.net.URL.&amp;lt;init&amp;gt;(URL.java:508)&lt;BR /&gt;at java.net.URL.&amp;lt;init&amp;gt;(URL.java:457)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;----------&lt;/P&gt;&lt;P&gt;The link prod-mid.ro-central1.internal:7980/sas/sas-environment.xml opens successfully in the browser.&lt;/P&gt;&lt;P&gt;Scheduler Server: Operating System Services MA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jobs&amp;nbsp;the first lines of the batch log:&lt;/P&gt;&lt;P&gt;----------&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;NOTE: Libref SASDATA successfully assigned from logical server.&lt;BR /&gt;NOTE: Libref WRSDIST successfully assigned from logical server.&lt;BR /&gt;NOTE: Libref WRSTEMP successfully assigned from logical server.&lt;BR /&gt;NOTE: Libref MATABLES successfully assigned from logical server.&lt;BR /&gt;NOTE: Libref MASTATIC successfully assigned from logical server.&lt;BR /&gt;NOTE: Libref MAMOLIB successfully assigned from logical server.&lt;BR /&gt;NOTE: Libref STPSAMP successfully assigned from logical server.&lt;BR /&gt;NOTE: Libref SASSAMP successfully assigned from logical server.&lt;BR /&gt;NOTE: Libref SASSAMP refers to the same physical library as SASDATA.&lt;BR /&gt;ERROR: Libref CDM failed to assign from logical server.&lt;BR /&gt;ERROR: Unable to load oracle client (libclntsh.so)&lt;BR /&gt;ERROR: Libref CICOMMON failed to assign from logical server.&lt;BR /&gt;ERROR: Unable to load oracle client (libclntsh.so)&lt;BR /&gt;ERROR: Libref CMDM failed to assign from logical server.&lt;BR /&gt;ERROR: Unable to load oracle client (libclntsh.so)&lt;BR /&gt;ERROR: Libref EXCHANGE failed to assign from logical server.&lt;BR /&gt;ERROR: Unable to load oracle client (libclntsh.so)&lt;BR /&gt;ERROR: Libref ADM failed to assign from logical server.&lt;BR /&gt;ERROR: Unable to load oracle client (libclntsh.so)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;----------&lt;/P&gt;&lt;P&gt;Batch Server : SAS Data Step Batch Server&lt;/P&gt;&lt;P&gt;I would be glad for ideas on solving the problem, why do tasks not work on the schedule?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 08:45:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/The-problem-of-running-processes-and-tasks-on-the-schedule/m-p/807968#M24191</guid>
      <dc:creator>grudos20</dc:creator>
      <dc:date>2022-04-15T08:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: The problem of running processes and tasks on the schedule</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/The-problem-of-running-processes-and-tasks-on-the-schedule/m-p/807986#M24193</link>
      <description>For the campaign, the URL failure seems to be that it is complaining about a lack of protocol. In other words, there is no http:// or https:// in front of the URL.&lt;BR /&gt;&lt;BR /&gt;For the Batch log error it seems the preassigned libraries can't be assigned because the shared object library libclntsh.so can't be found.&lt;BR /&gt;&lt;BR /&gt;For the former, I think we need to add the protocol to the URL in the ini file for this application in SASHome.&lt;BR /&gt;For the latter, this is probably a matter of how the LD_LIBRARY_PATH is being updated to add the oracle libraries. Is this set in the sasenv_local file as described here?&lt;BR /&gt;&lt;BR /&gt;Setting UNIX Environment Variables for SAS/ACCESS&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/bicdc/9.4/bidsag/p1w3v98qca3sfzn1rzty2tngrfyq.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/bicdc/9.4/bidsag/p1w3v98qca3sfzn1rzty2tngrfyq.htm&lt;/A&gt;</description>
      <pubDate>Fri, 15 Apr 2022 12:16:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/The-problem-of-running-processes-and-tasks-on-the-schedule/m-p/807986#M24193</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2022-04-15T12:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: The problem of running processes and tasks on the schedule</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/The-problem-of-running-processes-and-tasks-on-the-schedule/m-p/808239#M24195</link>
      <description>&lt;P&gt;Hello &lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975" target="_blank" rel="noopener"&gt;gwootton&lt;/A&gt;&lt;BR /&gt;Thanks for the help.&lt;BR /&gt;I changed the file "/opt/sas/SASHome/sassw.config" to the command "SASENVIRONMENTSURL=" and added "http://" and my campaign ran successfully on the schedule.&amp;nbsp;Did I do right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can't figure out the "LD_LIBRARY_PATH" command. The instruction is probably designed for experienced users.&lt;BR /&gt;On the server, I ran the command echo $ORACLE_HOME&lt;BR /&gt;Output: /opt/ora_client_19&lt;/P&gt;&lt;P&gt;In the directory I see the following files and folders:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="grudos20_0-1650209823856.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70511i4284CF9A3DA1F762/image-size/medium?v=v2&amp;amp;px=400" role="button" title="grudos20_0-1650209823856.png" alt="grudos20_0-1650209823856.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The instructions recommend adding the command&lt;BR /&gt;LD_LIBRARY_PATH=/opt/drivers/odbc/lib:\&lt;BR /&gt;/opt/oracle/app/oracle/product/12.1.0/lib:$LD_LIBRARY_PATH&lt;BR /&gt;export LD_LIBRARY_PATH&lt;BR /&gt;Unfortunately, I do not find such links on my servers.&lt;/P&gt;&lt;P&gt;I am using the following setup to connect to Oracle DB:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="grudos20_1-1650210374249.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70512i61C8314094E43975/image-size/medium?v=v2&amp;amp;px=400" role="button" title="grudos20_1-1650210374249.png" alt="grudos20_1-1650210374249.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="grudos20_2-1650210440984.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70513iE65889B10862668F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="grudos20_2-1650210440984.png" alt="grudos20_2-1650210440984.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="grudos20_3-1650210479054.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70514i85A24DAAB1AE67D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="grudos20_3-1650210479054.png" alt="grudos20_3-1650210479054.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Jobs are launched from SASAppMA (marketing automation) and SASAppEM (Enterprise Miner) servers. The Oracle client is deployed on all servers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Apr 2022 15:57:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/The-problem-of-running-processes-and-tasks-on-the-schedule/m-p/808239#M24195</guid>
      <dc:creator>grudos20</dc:creator>
      <dc:date>2022-04-17T15:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: The problem of running processes and tasks on the schedule</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/The-problem-of-running-processes-and-tasks-on-the-schedule/m-p/808305#M24198</link>
      <description>Glad to hear the correcting the URL resolve your campaign issue.&lt;BR /&gt;&lt;BR /&gt;As far as the LD_LIBRARY_PATH setting, this needs to be set in your &amp;lt;SASHome&amp;gt;/SASFoundation/9.4/bin/sasenv_local to include the path to where your Oracle libraries are, which in your case seems to be /opt/ora_client_19/lib. So the lines you'd want to add to sasenv_local would probably be something like:&lt;BR /&gt;&lt;BR /&gt;ORACLE_HOME=/opt/ora_client_19&lt;BR /&gt;export ORACLE_HOME&lt;BR /&gt;LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib&lt;BR /&gt;export LD_LIBRARY_PATH</description>
      <pubDate>Mon, 18 Apr 2022 13:49:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/The-problem-of-running-processes-and-tasks-on-the-schedule/m-p/808305#M24198</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2022-04-18T13:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: The problem of running processes and tasks on the schedule</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/The-problem-of-running-processes-and-tasks-on-the-schedule/m-p/808520#M24203</link>
      <description>&lt;P&gt;Thank you very much, the problem is solved with your help&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 10:57:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/The-problem-of-running-processes-and-tasks-on-the-schedule/m-p/808520#M24203</guid>
      <dc:creator>grudos20</dc:creator>
      <dc:date>2022-04-19T10:57:57Z</dc:date>
    </item>
  </channel>
</rss>

