- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- backup exit code = 2
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
04-09-2002 05:39 AM
04-09-2002 05:39 AM
backup exit code = 2
ANY help would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 05:44 AM
04-09-2002 05:44 AM
Re: backup exit code = 2
What backup utility? If 'fbackup' then a return code=2 denotes any error that prevents continuing the session. See the man pages for 'fbackup'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 05:49 AM
04-09-2002 05:49 AM
Re: backup exit code = 2
fbackup has the following exit codes:
1. A warning return value is introduced to notice the operator that fbackup ends with the warnings. The following explanations can be found in fbackup(1M) man page:
fbackup returns one of the following values.
0 upon normal completion.
1 if it is interrupted but allowed to save its state for possible restart.
2 if any error conditions prevent the session from completing.
4 if any warning conditions are encountered.
Exit code 1 is used if there was operator intervention and the state
was saved so that the backup can be resumed later. (Intervention w/o
saving the state would mean exit code 2.) Either this isn't very
popular or relatively bug-free and easy to use, since I never got
a question about it.
In the case of an exit code 2, the lats few messages in the log should
tell you what happened. Typical reasons are: bad tape, dirty tape drive,
etc. while installing the latest fbackup patch often helps too.
You can't tell the failure reason from the exit code 2 alone. There are
a number of things fbackup needs to set up (shared memory, semaphore,
start child processes, sort the index) where a fatal error could occur.
Later errors tend to be unspecific (the "could happen anytime" category
would include an I/O problem with the output device or a failed malloc,
the "should not happen" category that a process got killed).
(All messages are in the format derived from
"dumpmsg /usr/lib/nls/msg/C/fbackup.cat". )
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 06:11 AM
04-09-2002 06:11 AM
Re: backup exit code = 2
Steve has a good explaination on what it means. Easy things to check are tape, clean the drive, etc. If you happened to get an email to root, normally that will point you in the right direction. Also, you can look in the syslog, sometimes things will show up there that might indicate what caused the error. One other thing, depending on how you have it set up, is that it might be a full tape. I have my backup setup through SAM, and if it wants a second tape, it will exit as opposed to prompting for the second tape. Some things to look into.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 09:30 AM
04-09-2002 09:30 AM
Re: backup exit code = 2
I have seen this before. Tape full or defect or drive dirty will be the source of the error.
Clemens