<?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: what does it mean? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/what-does-it-mean/m-p/3768984#M102011</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;legato save command?&lt;BR /&gt;&lt;BR /&gt;try to add the path for the save command inside your script or set a PATH variable before you run your commands.&lt;BR /&gt;&lt;BR /&gt;/opt/networker/bin/save -s .....&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;PATH=/usr/bin:/usr/sbin/:/opt/networker/bin&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Robert-Jan</description>
    <pubDate>Mon, 10 Apr 2006 06:41:23 GMT</pubDate>
    <dc:creator>Robert-Jan Goossens</dc:creator>
    <dc:date>2006-04-10T06:41:23Z</dc:date>
    <item>
      <title>what does it mean?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-does-it-mean/m-p/3768982#M102009</link>
      <description>CMD: /a &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&amp;gt;  root 21954 c 월  4월 10 17:25:00 2006&lt;BR /&gt;&amp;lt;  root 21954 c 월  4월 10 17:35:40 2006 rc=2&lt;BR /&gt;=============================================&lt;BR /&gt;it is generated cron log.&lt;BR /&gt; what does it mean rc=2?&lt;BR /&gt;does it say cmd a cannot execute or any other meaning?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;shell cmd of a is&lt;BR /&gt;save -s online -b oracle -l full /arch_ispbs/&lt;BR /&gt;last_file=`find /arch_ispbs |ls -1|tail -1`&lt;BR /&gt;find /arch_ispbs  ! -name $last_file |xargs rm&lt;BR /&gt;&lt;BR /&gt;once save execute, find out latest generated file and remove all file except it.&lt;BR /&gt;&lt;BR /&gt;it runs save first..~&lt;BR /&gt;&lt;BR /&gt;but cannot remove all file except latest generated file. &lt;BR /&gt;what's the problem?&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Apr 2006 06:01:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-does-it-mean/m-p/3768982#M102009</guid>
      <dc:creator>file system</dc:creator>
      <dc:date>2006-04-10T06:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: what does it mean?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-does-it-mean/m-p/3768983#M102010</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I believe:&lt;BR /&gt;&lt;BR /&gt;rc=2 means return code=2&lt;BR /&gt;&lt;BR /&gt;This is a non-zero return code, meaning the job failed.&lt;BR /&gt;&lt;BR /&gt;Any batch process you run gives(normally) a return code:&lt;BR /&gt;&lt;BR /&gt;bdf&lt;BR /&gt;echo $?&lt;BR /&gt;That number is the return code and it should be  zero.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 10 Apr 2006 06:16:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-does-it-mean/m-p/3768983#M102010</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-04-10T06:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: what does it mean?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-does-it-mean/m-p/3768984#M102011</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;legato save command?&lt;BR /&gt;&lt;BR /&gt;try to add the path for the save command inside your script or set a PATH variable before you run your commands.&lt;BR /&gt;&lt;BR /&gt;/opt/networker/bin/save -s .....&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;PATH=/usr/bin:/usr/sbin/:/opt/networker/bin&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Mon, 10 Apr 2006 06:41:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-does-it-mean/m-p/3768984#M102011</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2006-04-10T06:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: what does it mean?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-does-it-mean/m-p/3768985#M102012</link>
      <description>In addition, because your command line is "/a &amp;gt;/dev/null 2&amp;gt;&amp;amp;1", you are destroying the error messages that might tell you what the problem is.&lt;BR /&gt;&lt;BR /&gt;On the other hand, getting those messages in email might be troublesome, especially if the job always produces some output.&lt;BR /&gt;&lt;BR /&gt;You could leave out the "2&amp;gt;&amp;amp;1" part, so that the normal "notification" messages still go to /dev/null, but the error messages come to cron, which emails them to root account.&lt;BR /&gt;&lt;BR /&gt;Or you could do like I often do: &lt;BR /&gt;set up the cron command line like "/a &amp;gt;/tmp/last_oracle_archive.log 2&amp;gt;&amp;amp;1". This avoids all the emails, but the complete message output of the latest run is available if you ever need to solve problems with the cron job.&lt;BR /&gt;&lt;BR /&gt;Because there is only "&amp;gt;", not "&amp;gt;&amp;gt;", the next run's log will overwrite the previous log, so the file does not keep growing indefinitely.</description>
      <pubDate>Mon, 10 Apr 2006 08:18:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-does-it-mean/m-p/3768985#M102012</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2006-04-10T08:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: what does it mean?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-does-it-mean/m-p/3768986#M102013</link>
      <description>1.RC=2 Return code =2 should be 0, thank you&lt;BR /&gt;2.PATH is not the problem, it had correct name of PATH.&lt;BR /&gt;3.I'm going to edit cron log like /tmp/last_log . I think it could be helpful to trace job failed.&lt;BR /&gt;&lt;BR /&gt;Thank you all of you</description>
      <pubDate>Mon, 10 Apr 2006 19:48:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-does-it-mean/m-p/3768986#M102013</guid>
      <dc:creator>file system</dc:creator>
      <dc:date>2006-04-10T19:48:00Z</dc:date>
    </item>
  </channel>
</rss>

