- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Fbackup fails exit code=2 using SAM
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-21-2008 08:18 AM
01-21-2008 08:18 AM
Would you please help me out, I have schedule the daily backup at 4 am using SAM for a directory in oracle.
I get the follwoing error message
(Full backup started on ctnhlatt : Mon Jan 21 04:00:00 EST 2008 (Scheduled Backup)
{ fbackup -0 -u -g /etc/sam/br/graphZBAa11181 -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 failed on ctnhlatt : Mon Jan 21 04:00:04 EST 2008 .
Exit code = 2).
Sometimes the backup goes through sucessfully with the exit code of =0 and sometimes i get the exit code =2, I have checked the previous forum for the same , i am not sure whether this a tape issue or not.
Secondly how would i get the detailed log f ile for the erorr message.
I would be greatfull if you'll could help me out,
Thank in advance & have a pleasant day.
Regreds
Sam
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2008 09:23 AM
01-21-2008 09:23 AM
Solutionhttp://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=187213
Exact match on your error message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2008 11:40 AM
01-21-2008 11:40 AM
Re: Fbackup fails exit code=2 using SAM
Thanks a lot for your speddy reply, i sincerly appreciate it.
I have checked the forum you have mentioned, but there are any log file which l could check manually to get the exact resaon for the error message, because some times the fbackup goes successfully with erro code =0 and sometimes it goes with errocode =2.
As far as my knowlege and the going through the forum page specified by you, I beleive it is a tape problem, is there any log file we can check.. and was would be best resolutin for the same.
thanks a lot for time you have spent .. I sincerly appreciate it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2008 11:55 AM
01-21-2008 11:55 AM
Re: Fbackup fails exit code=2 using SAM
/var/sam/log/br_index.full
as the linked post suggested?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2008 11:57 AM
01-21-2008 11:57 AM
Re: Fbackup fails exit code=2 using SAM
What do you do to overcome if it exits with exit code 2 ?? or it automatically goes away at next backup??
Do you use the same tapes for taking backup or is it like u get different exit codes with different tape media?
How many time you have used the tape media, is should not corss 100 count, same can be checked using the following command:
echo "sel dev 10; info; wait; il"|/usr/sbin/cstm |grep "Tape Load Count:"
Try to narrow down the things by stricking out the possibilities the way I have mentioned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2008 12:08 PM
01-21-2008 12:08 PM
Re: Fbackup fails exit code=2 using SAM
To be honest i am very new to the setup. I have just taking control of the servers a a week back.. so i dont have much inputs.
Yes as we are taking a full backup daily, if the exit code= return 2 , i normally wait for the next full backup. there is a folder db_backup on the local system where the data is compressed and saved daily thats the reason in my second post i do a scp of that direcorty db_backup and move it on the other server. that server has a weekly full back up scheduled once a week
I am not sure what i need to do, is there a way where i can be sure that it is tape problem, the local backup team daily puts the tape in the drive at the specificed time to take the backups..
Please let me know if you woudl liek any other inputs for me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2008 12:16 PM
01-21-2008 12:16 PM
Re: Fbackup fails exit code=2 using SAM
Try running tape cleaning catridge and re-run the backup to check if it makes any difference.
Did you check the log mentioned above?
If it is a tape drive head problem either we can not find that from HPUX end but that is unlikely since some backups are completing successfully. There are chances that dust is there and causing some backups to fail.
Try these two things if you don't find anything in logs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2008 12:22 PM
01-21-2008 12:22 PM
Re: Fbackup fails exit code=2 using SAM
Thanks a lot for your help & guidance.
I would have a check on the suggestions that you'll have provide and would update you about the status .
Thanks once again for your help & guidance.. Its indeed great to have friends like you.
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2008 12:29 PM
01-21-2008 12:29 PM
Re: Fbackup fails exit code=2 using SAM
ohrprod.OFF.Jan-20-2008-014500.1 100% 2048MB 1.0MB/s 33:32
scp: /db_backup/ohrprod.OFF.Jan-20-2008-014500.1: I/O error
Please let me know if i could do any changes on it..
thanks everyone for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2008 11:29 AM
01-22-2008 11:29 AM
Re: Fbackup fails exit code=2 using SAM
today the backup was successful with error code=0, i beleive the the problem is with the tapes, I have asked the backup team to send me the details about teh tape. I would update you'll about the same.
Sincerly thanks to everyone who has helped me out, Lucky to have pals aroudn who are always ready to help.
Have a nice day.
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2008 11:33 AM
01-22-2008 11:33 AM
Re: Fbackup fails exit code=2 using SAM
Just confirm how they use the tapes daily as suggested above and let us know the outcome.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2008 11:46 AM
01-22-2008 11:46 AM
Re: Fbackup fails exit code=2 using SAM
Thanks a lot for all your help & guidance.
Sincerly appreciate it...
Have a nice day.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2008 11:48 AM
01-22-2008 11:48 AM
Re: Fbackup fails exit code=2 using SAM
/var/sam/log/br_index.full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2008 11:54 AM
01-22-2008 11:54 AM
Re: Fbackup fails exit code=2 using SAM
I have checked the log files mentioned by you. Thanks a lot for your guidance& suppport.
Thanks once again for your time& support.
It was benefiical for me.
Have a nice day.