- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Process crashes while backup is activ
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
10-11-2005 06:11 PM
10-11-2005 06:11 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 06:42 PM
10-11-2005 06:42 PM
Re: Process crashes while backup is activ
When the process crashes, you get some more information, could you post it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 08:01 PM
10-11-2005 08:01 PM
Re: Process crashes while backup is activ
you did not mention if your program is high level or just DCL, but in either ways the OPEN and WRITE statements normally provide back status information, e.g. in DCL WRITE/ERROR=...
and you should be able to get some usefull errormessages.
If you .DAT files stays opened by your program all the time, the BACKUP may produce an error about an open file, but your program should not crash.
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 09:04 PM
10-11-2005 09:04 PM
Re: Process crashes while backup is activ
%FOR-F-OPEFAI, open failure unit 114 file DSA2:[WAL.DATA]SHIFT_STAT.DAT;
-RMS-E-FLK, file currently locked by another user
%TRACE-F-TRACEBACK, symbolic stack dump follows
image module routine line rel PC abs PC
0 FFFFFFFF8045F5DC FFFFFFFF8045F5DC
DEC$FORRTL 0 0000000000029B30 000000007C60DB30
DEC$FORRTL 0 00000000000371E4 000000007C61B1E4
PL PL PL 7342 000000000000EF08 000000000003EF08
0 FFFFFFFF87C5F3F4 FFFFFFFF87C5F3F4
WAL job terminated at 12-OCT-2005 07:26:07.44
Accounting information:
Buffered I/O count: 40784124 Peak working set size: 8720
Direct I/O count: 1376433 Peak virtual size: 170880
Page faults: 822 Mounted volumes: 0
Charged CPU time: 0 00:23:13.19 Elapsed time: 1 21:05:22.33
this is the backup command:
$ Backup/rewind/journal=list_tag.bjl/record/noassist/ignore=inter -
dsa2:[wal.data]*.*;*-
/exclude=(devlog.dat,ui.dat,pkt*.*,quen*.*,shift_stat.dat) srveb1$mkd500:data_tag.bck/save_set/rewind/ignore=label
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 09:11 PM
10-11-2005 09:11 PM
Re: Process crashes while backup is activ
Alpha DS10
it crashes on this statement:
7342 OPEN (STAT_LUN,FILE='WAL_PCU_SHIFT_STATS',
7343 2 ACCESS='DIRECT',
7344 2 ORGANIZATION='RELATIVE',
7345 2 RECL=PRO_DATA_REC_LENGTH/4,
7346 2 STATUS='UNKNOWN',
7347 2 SHARED)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 09:20 PM
10-11-2005 09:20 PM
Re: Process crashes while backup is activ
says it all, another process has the file open.
Since you excluded the file from the backup command, are you sure, that it is the BACKUP process, which has the file opened?
A SHOW DEVICE /FILES/NOSYSTEM on the disk may be of help.
Sidenote: you use the /IGNORE qualidier twice on your backup command, I think the 2nd takes precedence and the /IGNORE=INTER is ignored, try /IGNORE=(INTERLOC,LABEL).
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 09:43 PM
10-11-2005 09:43 PM
Re: Process crashes while backup is activ
this happens ONLY when backup is activ. i had a look with SHOW DEV /FILES/NOSYSTEM but no other process uses this file.
i will try with the /IGNORE(INTERLOCK,LABEL)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 09:47 PM
10-11-2005 09:47 PM
Re: Process crashes while backup is activ
Btw. habe you checked that the EXCLUDE works, i.e. is the file really missing from the saveset?
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 11:07 PM
10-11-2005 11:07 PM
Re: Process crashes while backup is activ
but! right, the file IS in the save set! i don't know why, but i can see the file in the list_tag.bjl. something is wrong with the parameter dsa2:[wal.data]*.*;* /exclude=(shift_stat.dat)
any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 11:36 PM
10-11-2005 11:36 PM
Re: Process crashes while backup is activ
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 11:49 PM
10-11-2005 11:49 PM
Solution1) Just teach the program to deal with the error. On open failure, wait X seconds and try again. Abort only after Y retries
2) If the program is running 24/24 then just have it keep the file open (shared)?
3) If the program can not keep it open, perhaps because it is restarted from a dcl process loop, then have the process keep it open with DCL: $OPEN/READ/SHARE=WRITE x x.dat
4) If the process can not keep it open, then have an other process keep it open. This will prevent Backup from obtained exclusive access and will allow the program to re-open it in compatible (shared) mode.
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 11:59 PM
10-11-2005 11:59 PM
Re: Process crashes while backup is activ
On OpenVMS 8.2,
With a backup active (with /ignore=interlock) i am able to open the file from a fortran with the same options than you all the time.
If i remove the /ignore=interlock, i get
the same error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 03:24 AM
10-12-2005 03:24 AM
Re: Process crashes while backup is activ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 04:12 AM
10-12-2005 04:12 AM
Re: Process crashes while backup is activ
And without the IGNORE=INTERLOCK, Backup
locks the file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 04:21 AM
10-12-2005 04:21 AM
Re: Process crashes while backup is activ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 06:58 PM
10-12-2005 06:58 PM
Re: Process crashes while backup is activ
but!
i don't want to do a backup of these files and exclude them. but when i have a look at the backup journal file, the file is listed. what's wrong with my backup command?
$ Backup/rewind/journal=list_tag.bjl/record/noassist/ignore=(inter,label) -
dsa2:[wal.data]*.*;*-
/exclude=(devlog.dat,ui.dat,pkt*.*,quen*.*,SHIFT_STAT.DAT,arb_plan.*,-
tap.dat),-
dsa2:[wal.s7data]*.*;*/exclude=(statlog.dat,binstat.dat),-
dsa2:[wal.progs]*.*;*,-
dsa2:[wal.dario]*.for;*,-
dsa2:[wal.leo]*.for;* -
srveb1$mkd500:data_tag.bck/save_set/rewind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 07:11 PM
10-12-2005 07:11 PM
Re: Process crashes while backup is activ
it is the same problem as with the /IGNORE quailifier, you use the /EXCLUDE quailifer twice in your command, I fear only the last one is used. Try to put all files to exclude in one /EXCLUDE statement.
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 08:52 PM
10-12-2005 08:52 PM
Re: Process crashes while backup is activ
sorry, but i'm a newbie and very very happy about the help here.
that was it, i can't use the exclude qualifier twice.
last question: i give the qualifier /record. so i want that in the next backup only chaged files will be backed up. but every time i start backup EVERY file is backed up, why? shouldn't it back up only changed files?
thanks
dario
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 09:05 PM
10-12-2005 09:05 PM
Re: Process crashes while backup is activ
Please read the help on this HELP BACKUP /SINCE.
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 09:06 PM
10-12-2005 09:06 PM
Re: Process crashes while backup is activ
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 09:08 PM
10-12-2005 09:08 PM
Re: Process crashes while backup is activ
thanks