<?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: fbackup executed but exit code not shown in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167144#M160519</link>
    <description>Here is a scripting trick:&lt;BR /&gt;&lt;BR /&gt;fbackup -i/ -f/dev/rmt/0m&lt;BR /&gt;rc=$?&lt;BR /&gt;&lt;BR /&gt;if [ $rc -eq 0 ] &lt;BR /&gt;then&lt;BR /&gt;   echo "good run"&lt;BR /&gt;else&lt;BR /&gt;   echo "bad run code $rc"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Sun, 18 Jan 2004 22:37:30 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2004-01-18T22:37:30Z</dc:date>
    <item>
      <title>fbackup executed but exit code not shown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167143#M160518</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;as above, from the br_log, we found that the fbackup did run but no exit code shown and the index file oso not written. any idea what is happening and any clue or solution for this.&lt;BR /&gt;thks&lt;BR /&gt;&lt;BR /&gt;rgs&lt;BR /&gt;&lt;BR /&gt;cheng wee</description>
      <pubDate>Sun, 18 Jan 2004 22:19:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167143#M160518</guid>
      <dc:creator>Cheng Wee</dc:creator>
      <dc:date>2004-01-18T22:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup executed but exit code not shown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167144#M160519</link>
      <description>Here is a scripting trick:&lt;BR /&gt;&lt;BR /&gt;fbackup -i/ -f/dev/rmt/0m&lt;BR /&gt;rc=$?&lt;BR /&gt;&lt;BR /&gt;if [ $rc -eq 0 ] &lt;BR /&gt;then&lt;BR /&gt;   echo "good run"&lt;BR /&gt;else&lt;BR /&gt;   echo "bad run code $rc"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 18 Jan 2004 22:37:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167144#M160519</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-01-18T22:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup executed but exit code not shown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167145#M160520</link>
      <description>Hi SEP,&lt;BR /&gt;&lt;BR /&gt;this is what i get from my backup log (br_log) on one of my company server indicating the successful of backup&lt;BR /&gt;--&lt;BR /&gt;Full backup started on newmfg : Mon Jan 19 01:40:00 EAT 2004 (Scheduled Backup)&lt;BR /&gt;{ fbackup -0 -u    -g /etc/sam/br/graphFDAa28473 -I /var/sam/log/br_index.full -&lt;BR /&gt;c /etc/sam/br/fbackup_config -d /var/adm/fbackupfiles/dates -f /dev/rmt/0m } 2&amp;gt;&amp;amp;1&lt;BR /&gt;Full backup completed successfully on newmfg : Mon Jan 19 04:16:02 EAT 2004 .&lt;BR /&gt;Exit code = 0&lt;BR /&gt;--&lt;BR /&gt;&lt;BR /&gt;and this is the server which doesn't seems to complete the backup&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Full backup started on ges-mfg : Mon Jan 19 03:10:00 EAT 2004 (Scheduled Backup)&lt;BR /&gt;{ fbackup -0 -u    -g /etc/sam/br/graphZCAa07519 -I /var/sam/log/br_index.full -&lt;BR /&gt;c /etc/sam/br/fbackup_config -d /var/adm/fbackupfiles/dates -f /dev/rmt/0m } 2&amp;gt;&amp;amp;1&lt;BR /&gt;--&lt;BR /&gt;&lt;BR /&gt;so what is the problem causing the backup log never log any exit code?&lt;BR /&gt;&lt;BR /&gt;rgs&lt;BR /&gt;&lt;BR /&gt;cheng wee&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 18 Jan 2004 22:53:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167145#M160520</guid>
      <dc:creator>Cheng Wee</dc:creator>
      <dc:date>2004-01-18T22:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup executed but exit code not shown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167146#M160521</link>
      <description>Hi again&lt;BR /&gt;&lt;BR /&gt;is it because the fbackup was hang when it was running, hence the exit code was not reported?&lt;BR /&gt;&lt;BR /&gt;rgs&lt;BR /&gt;&lt;BR /&gt;cheng wee</description>
      <pubDate>Mon, 19 Jan 2004 02:09:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167146#M160521</guid>
      <dc:creator>Cheng Wee</dc:creator>
      <dc:date>2004-01-19T02:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup executed but exit code not shown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167147#M160522</link>
      <description>Hi Cheng,&lt;BR /&gt;the obvious answer is - as you put it yourself - that the backup has never finished. There could be several reasons for that; one that immediately springs to mind is that the session is waiting for a tape change. &lt;BR /&gt;You should also check if there are any "old" fbackup sessions on the server. It could be that  an "old" fbackup process, or another process, is occupying the tape device, thus blocking the fbackup session. If there are any "old" fbackup sessions hanging, you should kill them only by "kill -15 &lt;PID&gt;" as this command frees the memory reserved by the process: fbackup processes have a tendency to occupy rather large amounts of memory, and it is nice to have that freed.&lt;BR /&gt; &lt;BR /&gt;regards,&lt;BR /&gt;John K.&lt;/PID&gt;</description>
      <pubDate>Mon, 19 Jan 2004 03:28:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167147#M160522</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2004-01-19T03:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup executed but exit code not shown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167148#M160523</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;thks for ur reply, i think we dun need to do tape changing and there are no fbackup old session hanging around because the server is rebooted everynight after the fbackup. so any other probable causes?&lt;BR /&gt;&lt;BR /&gt;rgs &lt;BR /&gt;&lt;BR /&gt;cheng wee</description>
      <pubDate>Mon, 19 Jan 2004 03:41:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167148#M160523</guid>
      <dc:creator>Cheng Wee</dc:creator>
      <dc:date>2004-01-19T03:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup executed but exit code not shown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167149#M160524</link>
      <description>Hi again,&lt;BR /&gt;you probably need to investigate what the backup is doing; since you say that the server is booted every night after backup, it gives me the idea that the server is booted before the backup has finished. The boot can then also explain why there are no hanging processes.&lt;BR /&gt; &lt;BR /&gt;regards,&lt;BR /&gt;John K.</description>
      <pubDate>Mon, 19 Jan 2004 04:29:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167149#M160524</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2004-01-19T04:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup executed but exit code not shown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167150#M160525</link>
      <description>hi john,&lt;BR /&gt;&lt;BR /&gt;thks for ur reply again. i try to see how the things go when we do a manual backup tonight.&lt;BR /&gt;update again tomorrow.&lt;BR /&gt;&lt;BR /&gt;rgs &lt;BR /&gt;&lt;BR /&gt;cheng wee&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Jan 2004 04:40:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167150#M160525</guid>
      <dc:creator>Cheng Wee</dc:creator>
      <dc:date>2004-01-19T04:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup executed but exit code not shown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167151#M160526</link>
      <description>Before that, you might check your log file: /var/sam/log/br_index.full&lt;BR /&gt;And the mail of root if there is no fbackup running. Since SAM's backups are scheduled through cron, output is mailed to the user.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Jan 2004 08:21:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167151#M160526</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2004-01-19T08:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup executed but exit code not shown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167152#M160527</link>
      <description>How do you reboot your machine? Through cron too? This sounds like a race condition between fbackup finishing and a scheduled reboot. You may have timed fbackup in the past and then added a few minutes to get the time for a reboot (a very bad idea). fbackup will run as long as it takes to write all the data to the tape and the amount of data on your system is much larger now. Rather than use SAM to run fbackup and 'guess' how long it will take, write a script that runs fbackup followed by the reboot, all in the same script. Now there will be no reboot in the middle of a backup.</description>
      <pubDate>Mon, 19 Jan 2004 15:23:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167152#M160527</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-01-19T15:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup executed but exit code not shown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167153#M160528</link>
      <description>thks for all the reply,&lt;BR /&gt;we had adjusted the schedule of the cron job, so that the reboot is happened much later :)</description>
      <pubDate>Tue, 27 Jan 2004 00:59:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-executed-but-exit-code-not-shown/m-p/3167153#M160528</guid>
      <dc:creator>Cheng Wee</dc:creator>
      <dc:date>2004-01-27T00:59:25Z</dc:date>
    </item>
  </channel>
</rss>

