<?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 - exit code 4 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-exit-code-4/m-p/2765674#M894515</link>
    <description>That should be:-&lt;BR /&gt;&lt;BR /&gt;"should exist"&lt;BR /&gt;&lt;BR /&gt;Paula</description>
    <pubDate>Wed, 17 Jul 2002 10:21:16 GMT</pubDate>
    <dc:creator>Paula J Frazer-Campbell</dc:creator>
    <dc:date>2002-07-17T10:21:16Z</dc:date>
    <item>
      <title>fbackup - exit code 4</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-exit-code-4/m-p/2765669#M894510</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I am having trouble running the following command: &lt;BR /&gt;&lt;BR /&gt;fbackup -f /dev/rmt/1mnb -c fbackup.config -v -g fbackup.graph 2&amp;gt; /tmp/list&lt;BR /&gt;&lt;BR /&gt;This returns an exit code of 4.   &lt;BR /&gt;&lt;BR /&gt;I get the following output:&lt;BR /&gt;&lt;BR /&gt;fbackup(1417): cannot open the dates file /var/adm/fbackupfiles/dates for reading&lt;BR /&gt;fbackup(1004): session begins on Tue Jul 16 21:01:47 2002&lt;BR /&gt;fbackup(3203): volume 1 has been used 1 time(s)&lt;BR /&gt;fbackup(3024): writing volume 1 to the output file /dev/rmt/1mnb&lt;BR /&gt;    1: ./ 2&lt;BR /&gt;    2: ./.q4rc.pl 9&lt;BR /&gt;    3: ./.secure 1&lt;BR /&gt;    .    &lt;BR /&gt;    .&lt;BR /&gt;    .&lt;BR /&gt;144430: ./var/yp/ypxfr_1perhour 1&lt;BR /&gt;144431: ./var/yp/ypxfr_2perday 1&lt;BR /&gt;fbackup(1005): run time: 3750 seconds&lt;BR /&gt;fbackup(1030): warnings encountered during backup&lt;BR /&gt;fbackup(3055): total file blocks read for backup: 74533179&lt;BR /&gt;fbackup(3056): total blocks written to output file /dev/rmt/1mnb: 75044946&lt;BR /&gt;&lt;BR /&gt;Q - Is it because fbackup can't open the /var/adm/fbackupfiles/dates file that is causing the exit code of 4? &lt;BR /&gt;Q2 - Why is fbackup trying to open this file when I'm not doing an incremental backup?&lt;BR /&gt;Q3 - How should I ensure that I get an exit code of 0?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jul 2002 07:59:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-exit-code-4/m-p/2765669#M894510</guid>
      <dc:creator>Mark Perry_1</dc:creator>
      <dc:date>2002-07-17T07:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup - exit code 4</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-exit-code-4/m-p/2765670#M894511</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;fbackup has the following exit codes:&lt;BR /&gt;&lt;BR /&gt;        1. A warning return value is introduced to notice&lt;BR /&gt;        the operator that fbackup ends with the warnings.&lt;BR /&gt;        The following explanations can be found in fbackup(1M)&lt;BR /&gt;        man page:&lt;BR /&gt;        fbackup returns one of the following values:&lt;BR /&gt;          0 upon normal completion.&lt;BR /&gt;          1 if it is interrupted but allowed to save its state&lt;BR /&gt;            for possible restart.&lt;BR /&gt;          2 if any error conditions prevent the session from&lt;BR /&gt;            completing.&lt;BR /&gt;          4 if any warning conditions are encountered.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thus cannot open file = 4&lt;BR /&gt;&lt;BR /&gt;test it or make sure it doe snot happen&lt;BR /&gt;&lt;BR /&gt;                   Steve Steel&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jul 2002 08:04:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-exit-code-4/m-p/2765670#M894511</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-07-17T08:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup - exit code 4</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-exit-code-4/m-p/2765671#M894512</link>
      <description>The exit code 4 is commonly produced by any file which is active at the time of the backup, or a temporary file, which is removed from the system during the course of the backup (eg: a print request).&lt;BR /&gt;&lt;BR /&gt;The easiest way to prevent getting the exit code 4 is to exclude the directory concerned from the backup scope&lt;BR /&gt;&lt;BR /&gt;i.e.&lt;BR /&gt;&lt;BR /&gt;add the line below to your fbackup.graph file&lt;BR /&gt;&lt;BR /&gt;e /var/adm/fbackupfiles&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jul 2002 08:55:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-exit-code-4/m-p/2765671#M894512</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2002-07-17T08:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup - exit code 4</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-exit-code-4/m-p/2765672#M894513</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Since this can always happen when you backup an active system check for 1 or 4 as result ok.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Ex&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;typeset -i a=$1&lt;BR /&gt;if [ "$a" -eq "1" ] || [ "$a" -eq "4" ]&lt;BR /&gt;then&lt;BR /&gt;echo ok&lt;BR /&gt;else&lt;BR /&gt;echo $a received&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                Steve Steel</description>
      <pubDate>Wed, 17 Jul 2002 09:09:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-exit-code-4/m-p/2765672#M894513</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-07-17T09:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup - exit code 4</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-exit-code-4/m-p/2765673#M894514</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;From Man Fbackup:-&lt;BR /&gt;&lt;BR /&gt;If fbackup is used for incremental backups, a database of past backups &lt;BR /&gt;must be kept.  fbackup maintains this data in the text file            &lt;BR /&gt;/var/adm/fbackupfiles/dates, by default.  Note that the directory      &lt;BR /&gt;/var/adm/fbackupfiles must be created prior to the first time fbackup  &lt;BR /&gt;is used for incremental backups.&lt;BR /&gt;&lt;BR /&gt;I would suggest that the file :-&lt;BR /&gt;/var/adm/fbackupfiles/dates&lt;BR /&gt;&lt;BR /&gt;Should exit even though you are not doing and incremental backup.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paula &lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jul 2002 10:17:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-exit-code-4/m-p/2765673#M894514</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-07-17T10:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup - exit code 4</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-exit-code-4/m-p/2765674#M894515</link>
      <description>That should be:-&lt;BR /&gt;&lt;BR /&gt;"should exist"&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Wed, 17 Jul 2002 10:21:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-exit-code-4/m-p/2765674#M894515</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-07-17T10:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup - exit code 4</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-exit-code-4/m-p/2765675#M894516</link>
      <description>Hi Mark:&lt;BR /&gt;&lt;BR /&gt;'fbackup' returns an exit value of &amp;lt;4&amp;gt; for *any* warning.  Usually, the warnings are for files that are changing while 'fbackup' is attempting to copy a static imsage to tape. (Of cource, the 'maxtretries' configuration file parameter accomodates how to handle this).&lt;BR /&gt;&lt;BR /&gt;With regard to 'var/adm/fbackupfiles/dates', 'fbackup' *always* writes to this.  The graph file's name and the beginning and ending date (in epoch seconds and in human-readable date form) are written into this file.  Reuse of a graph file, simply overwrites the previous entry.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 17 Jul 2002 11:38:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-exit-code-4/m-p/2765675#M894516</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-07-17T11:38:12Z</dc:date>
    </item>
  </channel>
</rss>

