Re: Trying to AUDIT file creation failure



Syltrem wrote:
<VAXman- @SendSpamHere.ORG> wrote in message news:00A8C887.67B458CE@xxxxxxxxxxxxxxxxxxx
In 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.
.



Relevant Pages

  • Re: ISO way to completely wipeout a file
    ... trashcan does not really delete a file; the contents are still on the disk, and it is possible, at least in the short term to recover them. ... all averse to using the cmd.exe command line interface.) ...
    (microsoft.public.windowsxp.general)
  • Re: [SLE] harddisk crash -> needs surgery-> end_request I/O error, dev 03:01 sector 6928
    ... > Is there still a way to recover that disk? ... > This disk gets backed up every night, but we got stroke by a lightening during ... Have you tried ddrescue, yet? ... while the command is called dd_rescue. ...
    (SuSE)
  • Re: How secur is delete/erase ?
    ... After this command, no other program can recover these informations? ... Klaus ... If someone got his hands on your disk and had unlimited resources, it is possible that some information could be recovered. ...
    (comp.os.vms)
  • Re: New HDD Installation
    ... "John John" wrote: ... a single partition disk. ... confirm or change the active flag of the partition using the FDISK command. ... There are other ways to mark the partition active, either with a Windows ...
    (microsoft.public.windowsxp.general)
  • Re: Forgot to put old_rootvg to sleep before reboot - How to Wake
    ... Performs operations on existing alternate rootvg volume groups. ... To rename Alternate Disk Volume Group: ... The alt_rootvg_op command can be used to determine which disk is the ... flag) can be executed at this time. ...
    (comp.unix.aix)