Operating System - HP-UX
1820173 Members
4019 Online
109620 Solutions
New Discussion юеВ

fbackup problem in hpux 11.00

 
aliasgar
Valued Contributor

fbackup problem in hpux 11.00

Hi,
i am facing one problem when using fbackup under automated backup through sam it gives a error code of exit code=4 in br_log file, even though the latest fbackup/frecover patch named PHCO_19732 was loaded.i understand from the technical writeups that it is a volume header error on tape but i want a permanent solution for this error code.
aliasgar
3 REPLIES 3
Dan Hetzel
Honored Contributor

Re: fbackup problem in hpux 11.00

Hi,

As exit codes for fbackup were changed, sam must be patched to at least PHCO_19047 to take those new exit codes into account.

Latest superseeding cumulative SAM/ObAM patch
is PHCO_22269.

Here is the link:
ftp://ftp.itrc.hp.com/hp-ux_patches/s700_800/11.X/PHCO_22269

Best regards,

Dan

Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Steffi Jones_1
Esteemed Contributor

Re: fbackup problem in hpux 11.00

Hello,

besides the patch there is a workaround:

Change line 329 of the /usr/sam/lbin/br_backup script to accept exit code 0 or 4 as 'success':


if ["$exit_code" = "0" -o "$exit_code" = "4" ]

But as Dan said, installing the latest patch will give you the best solution.

Steffi Jones
aliasgar
Valued Contributor

Re: fbackup problem in hpux 11.00

Hi,
Thanks for the response but after loading the latest SAM patch PHCO_22269 it is still giving the exit code error of 4 and i had also modified the br_backup script.the message in br_log file is as follows
Full backup started on akash : Tue Feb 13 09:25:01 WAT 2001 (Scheduled Backup)
{ fbackup -0 -u -g /etc/sam/br/graphBDAa03170 -I /var/sam/log/br_index.full -c /etc/sam/br/fbackup_config -d /var/adm/fbackupfile
s/dates -f /dev/rmt/0m } 2>&1
Full backup completed with warnings on akash : Tue Feb 13 09:26:01 WAT 2001 .
Exit code = 4
is this coorect


aliasgar