- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Can everyone post an backup error message?
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
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
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-22-2004 04:37 AM
тАО04-22-2004 04:37 AM
So far I have..
%SYSTEM-F-ACCVIO
%SYSTEM-F-MEDOFL, medium is offline
%SYSTEM-F-DEVNOTMOUNT, device is not mounted
Anyone have any others errors or other type backup messages, like next tape needed, or please mount tape etc...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2004 04:55 AM
тАО04-22-2004 04:55 AM
Solutionhow about the following
%BACKUP-E-FATALERR, fatal error on _$2$MGA3:[]xxxxxxxx.BCK;
-SYSTEM-F-PARITY, parity error
%BACKUP-I-OPERSPEC
%BACKUP-I-OPERASSIST, operator assistance has been requested
%BACKUP-I-OPREPLY, operator reply is "QUIT"
%BACKUP-F-ABORT, operator requested abort on fatal error
Fortunatly does not happen often, but just had one of these yesterday ;-)
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2004 05:41 AM
тАО04-22-2004 05:41 AM
Re: Can everyone post an backup error message?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2004 05:57 AM
тАО04-22-2004 05:57 AM
Re: Can everyone post an backup error message?
%BACKUP-W-EXLABEER, volume label processing failed because volume TAPE4 is out of order, Volume label TAPE1 was expected specify option (QUIT, NEW tape, OVERWRITE tape, USE loaded tape)
%BACKUP-F-WRITEERRS, excessive error rate writing VOL3
%BACKUP-I-SPECIFY, specify option (CONTINUE, RESTART, QUIT)
%BACKUP-W-MOUNTERR, volume 1 on _SODAK$MUA0 was not mounted because
its label does not match the one requested
Mohamed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2004 07:36 AM
тАО04-22-2004 07:36 AM
Re: Can everyone post an backup error message?
there _MAY_ be a more generic approach;
There is a file SYS$HELP:MSGHLP$LIBRARY:MSGHLP$DATA
This is the file from which HELP/MESSAGE takes it's info.
I haven't found a wildcard HELP command that takes out the BACKUP related messages (not been seeking very thorough though), but I trust that now you know WHERE to look, you will be able to extract the relevant data.
As far as I know, this SHOULD also be the closest you will get to completeness.
Well, I'll leave you to do the dirty work yourself!
Success
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2004 08:18 AM
тАО04-22-2004 08:18 AM
Re: Can everyone post an backup error message?
a backup facility -
$ help/message/facility=backup
$ help help/message ! for other options
Mark Hopkins
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2004 08:26 AM
тАО04-22-2004 08:26 AM
Re: Can everyone post an backup error message?
This monitoring will page at 02:00, so I would rather not get paged on a warning item like - doing a verify and the file is different. But rather on a fatal, where the backup actually died.
I can script a simple search batch to run during the day for warning messages from logs.
Is there a way to use the help/message for fatal errors?
Vic...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2004 09:07 AM
тАО04-22-2004 09:07 AM
Re: Can everyone post an backup error message?
If you want to determine the severity of the completion status, just look at the severity bits - they're the low 3 bits of the status value (see Chapter 6 of "OpenVMS Calling Standard" for complete details):
$ some-command ! could be BACKUP
$ STATUS=$STATUS
$ SEVERITY=STATUS.AND.7
There is also the DCL symbol $SEVERITY, but it and $STATUS get set after every command, so if you want to capture the full status you need to save $STATUS immediately after the command of interest.
Severity values are:
0 = Warning
1 = Success
2 = Error
3 = Informational
4 = Fatal
5,6,7 undefined
Using severity is a much more reliable way of checking for fatal conditions than attempting to enumerate all errors (the list is potentially large and subject to change).
However, if you really want to do that, there are several ways. The simplest is to consult a source listing. But, if you don't have access to one, you can use the structure of condition values to help. A status value has several fields.
bit 0 is success/failure
bits 0-2 are severity
bits 3-15 are the message number
bits 16-27 are the facility number
bits 28-31 are control flags
So, looking at the status value for any BACKUP error, you can determine the facility code for BACKUP is %X00A30000. You can use this to determine all FATAL errors for BACKUP using F$MESSAGE:
$ msg=%XA30004 ! First possible fatal error
$ loop: WRITE SYS$OUTPUT F$MESSAGE(msg)
$ msg=msg+8
$ IF msg.LT.%XA3FFFF THEN GOTO loop
Pipe the output into SEARCH to remove all the "NOMSG" values. I get 923 possibilities on OpenVMS V7.2-2 - you won't get all of them in practice, but hopefully it illustrates why enumeration is not a good solution to your problem!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2004 07:47 PM
тАО04-22-2004 07:47 PM
Re: Can everyone post an backup error message?
%X107501F4 %INIT-F-PARITY, parity error
%X1075008C %INIT-F-DRVERR, fatal drive error
%X00720254 %MOUNT-F-VOLINV, volume is not software enabled
HTH
@Antoniov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2004 08:59 PM
тАО04-22-2004 08:59 PM
Re: Can everyone post an backup error message?
I would follow John suggestion. As he said - and like you may deduct from Antonio's last posting - scanning an enumeration is no good idea. Just severity would be enough to start with. However: KEEP the original status and it's meaning, you will want to know what happens. If possible - put it on the pager.
If the proces is critical, I would suggest to be informed not only in case of problems, but also if the job
- hasn't started at all
- isn't finished within a reasoable time
- has run successfully (Well, not really required but just for your ease-of-mind)
But you may have this implemented already ;-)
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2004 01:45 AM
тАО04-23-2004 01:45 AM
Re: Can everyone post an backup error message?
if you are really EXCLUSIVELY interested in FATAL errors, then your original idea might not be that bad, but (as shown by Antoniov) you can not limit yourself to BACKUP errors.
$ SEARCH
But then, is the idea of Willem not preferable?
Incluse $ ON SEVERE_ERROR THEN
Then you can even control at which parts of the backup-procedures warrant alarming and which don't.
At our site
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2004 02:41 AM
тАО04-23-2004 02:41 AM
Re: Can everyone post an backup error message?
Some of these will overlap, but that is ok.
%SYSTEM-F-ACCVIO
%SYSTEM-F-MEDOFL, medium is offline
%SYSTEM-F-DEVNOTMOUNT, device is not mounted
%BACKUP-E-FATALERR, fatal error
%SYSTEM-F-PARITY, parity error
%BACKUP-I-OPERSPEC
%BACKUP-I-OPERASSIST, operator assistance
%BACKUP-I-OPREPLY, operator reply is "QUIT"
%BACKUP-F-ABORT, operator requested abort
%BACKUP-W-EXLABEER, volume
%BACKUP-F-WRITEERRS,
%BACKUP-I-SPECIFY
%INIT-F-PARITY, parity error
%INIT-F-DRVERR, fatal drive error
%MOUNT-F-VOLINV, volume is not software
Note, I already have monitoring setup inside the cmd file, which works fairly well to e-mail as well as local mail on the server. What I will be doing here is searching the logfile afterwards & sending to a central alert system.