- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: fbackup executed but exit code not shown
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 02:19 PM
01-18-2004 02:19 PM
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.
thks
rgs
cheng wee
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 02:37 PM
01-18-2004 02:37 PM
Re: fbackup executed but exit code not shown
fbackup -i/ -f/dev/rmt/0m
rc=$?
if [ $rc -eq 0 ]
then
echo "good run"
else
echo "bad run code $rc"
fi
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 02:53 PM
01-18-2004 02:53 PM
Re: fbackup executed but exit code not shown
this is what i get from my backup log (br_log) on one of my company server indicating the successful of backup
--
Full backup started on newmfg : Mon Jan 19 01:40:00 EAT 2004 (Scheduled Backup)
{ fbackup -0 -u -g /etc/sam/br/graphFDAa28473 -I /var/sam/log/br_index.full -
c /etc/sam/br/fbackup_config -d /var/adm/fbackupfiles/dates -f /dev/rmt/0m } 2>&1
Full backup completed successfully on newmfg : Mon Jan 19 04:16:02 EAT 2004 .
Exit code = 0
--
and this is the server which doesn't seems to complete the backup
--
Full backup started on ges-mfg : Mon Jan 19 03:10:00 EAT 2004 (Scheduled Backup)
{ fbackup -0 -u -g /etc/sam/br/graphZCAa07519 -I /var/sam/log/br_index.full -
c /etc/sam/br/fbackup_config -d /var/adm/fbackupfiles/dates -f /dev/rmt/0m } 2>&1
--
so what is the problem causing the backup log never log any exit code?
rgs
cheng wee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 06:09 PM
01-18-2004 06:09 PM
Re: fbackup executed but exit code not shown
is it because the fbackup was hang when it was running, hence the exit code was not reported?
rgs
cheng wee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 07:28 PM
01-18-2004 07:28 PM
Solutionthe 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.
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
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 07:41 PM
01-18-2004 07:41 PM
Re: fbackup executed but exit code not shown
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?
rgs
cheng wee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 08:29 PM
01-18-2004 08:29 PM
Re: fbackup executed but exit code not shown
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.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 08:40 PM
01-18-2004 08:40 PM
Re: fbackup executed but exit code not shown
thks for ur reply again. i try to see how the things go when we do a manual backup tonight.
update again tomorrow.
rgs
cheng wee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 12:21 AM
01-19-2004 12:21 AM
Re: fbackup executed but exit code not shown
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 07:23 AM
01-19-2004 07:23 AM
Re: fbackup executed but exit code not shown
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 04:59 PM
01-26-2004 04:59 PM
Re: fbackup executed but exit code not shown
we had adjusted the schedule of the cron job, so that the reboot is happened much later :)