Re: Trying to AUDIT file creation failure
- From: "Richard B. Gilbert" <rgilbert88@xxxxxxxxxxx>
- Date: Thu, 04 Jun 2009 15:35:17 -0400
Syltrem wrote:
<VAXman- @SendSpamHere.ORG> wrote in message news:00A8C887.67B458CE@xxxxxxxxxxxxxxxxxxxIn article <DGQVl.113287$Tp1.26437@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, "Syltrem" <syltremzulu@xxxxxxxxxxxx> writes:Is there a way to do this ?
I tried the blow command without success, and can't see another way of doing
it.
Thanks !
$ set aud/alarm/ena=access=fail=create
%SET-W-EVTTYPIGN, undefined access mode (CREATE) ignored for FILE object
%SET-W-NOEVENTS, no valid auditing events specified; command ignored
$ SET AUDIT/ALARM/ENABLE=CREATE
Non-privied user attempts to open a file (EDIT) in SYS$MANAGER:
Hi
Thanks for this but I tried that to begin with and it would not return anything.
The message the application was returning is
%RMS-E-CRE, ACP file create failed
I don't have the accompanying messages (telling me the reason for the error and the file name). So I wanted to get more from Audit, but it does not work.
Audit will work if it cannot create a file because of privileges, but what if the disk is full (it was not my case) or other errors ?
Any idea ?
Thanks !
Syltrem
I'd just use an "ON ERROR" statement in my DCL. From there, it's a question of what you want to do. If the disk is full, you could run some sort of disk cleanup procedure. Or you could send a text message to the system manager's cell phone. Or just send E-mail to the system manager who will do something about it the next workday morning.
If it's worth the effort, there's quite a lot that can be done to diagnose errors and recover. This presupposes that you know, or are willing to learn, what the possible errors are and how to recover.
Being fond of my sleep, I usually try to "bulletproof" my DCL.
.
- References:
- Trying to AUDIT file creation failure
- From: Syltrem
- Re: Trying to AUDIT file creation failure
- From: Syltrem
- Trying to AUDIT file creation failure
- Prev by Date: Re: OpenVMS Changes: A Thank You for Sue; Welcome to Sujatha
- Next by Date: Re: It's time for Sue Skonetski to say good bye
- Previous by thread: Re: Trying to AUDIT file creation failure
- Next by thread: Re: Trying to AUDIT file creation failure
- Index(es):
Relevant Pages
|