- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: restarting the SECURITY.AUDIT$JOURNAL file
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
03-13-2005 07:12 PM
03-13-2005 07:12 PM
restarting the SECURITY.AUDIT$JOURNAL file
That file has grown to a huge size of 2Gb on one of our servers, and I need to ask a few things :
1. What command do I use to restart the file?
2. Can I limit the size of the file using some sysgen param? if so - what happens when it gets to that limit - will it cycle?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2005 07:16 PM
03-13-2005 07:16 PM
Re: restarting the SECURITY.AUDIT$JOURNAL file
HELP SET AUDIT is your friend. A new file
is created with SET AUDIT /SERVER=NEW_LOG.
I know of now ways to limits the logfile size directly, but you may check the audit events your are logging, if all of them are needed (SHOW AUDIT).
The auditserver monitors the remaining space on the target disk. With SET AUDIT you can specify some limits, on which the auditserver reacts with some actions (can also be specified).
With this mechanism you are able to somewhat limit the impact.
mfg kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2005 08:06 PM
03-13-2005 08:06 PM
Re: restarting the SECURITY.AUDIT$JOURNAL file
I concur with Roheder.. i don't know of any way the security audit log file size could be limited. It behaves and responds just the way the Operator.log does.
The way to create a new log file is
$SET AUDIT/SERVER=NEW_LOG
Look at the help for the above command, i might be just about wrong and there might be some way to have a limitatin using a qualifier
/THRESHOLD
regards
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2005 08:21 PM
03-13-2005 08:21 PM
Re: restarting the SECURITY.AUDIT$JOURNAL file
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2005 08:48 PM
03-13-2005 08:48 PM
Re: restarting the SECURITY.AUDIT$JOURNAL file
This also applies to other vms log files such as operator log, accounting, error log and so on.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2005 08:54 PM
03-13-2005 08:54 PM
Re: restarting the SECURITY.AUDIT$JOURNAL file
your needs may vary, of course, but we create a new logfile every day, by a batchqueue running a few seconds after midnight. After the re-create we rename the old one to a version .
(in COMPARISON format).
Those are kept online for two months, accessible to security people, after which they are archived offline.
Obviously, we do have security audit needs!.
Proost.
Have one on me.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2005 09:00 PM
03-13-2005 09:00 PM
Re: restarting the SECURITY.AUDIT$JOURNAL file
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2005 12:45 AM
03-14-2005 12:45 AM
Re: restarting the SECURITY.AUDIT$JOURNAL file
that is only relative.
If you KNOW the date of interest, searching a small file is great with respect to performance; if not, wildxards are supported.
To me, much more advantages then disadvantages, but of course, your needs may vary.
Proost.
Have one on me.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2005 09:54 AM
03-14-2005 09:54 AM
Re: restarting the SECURITY.AUDIT$JOURNAL file
>we create a new logfile every day, by
>a batchqueue running a few seconds
>after midnight. After the re-create
>we rename the old one to a
>version .
Be careful!
The SET AUDIT/SERVER=NEW sends a request to AUDIT_SERVER to perform the roll over, which means the command is asynchronous. SET AUDIT may return BEFORE the file has actually rolled over (especially in a cluster). If you rename the *active* journal file, very strange and odd things can happen! You also need to make absolutely certain that all members of the cluster share a physical VMS$OBJECTS file and agree on the location of the audit journal.
The "normal" configuration is a cluster common journal file, so the SET AUDIT/SERVER=NEW should be done on ONE node only. However, it is possible to configure node specific journal files (not recommended), in which case you need to roll them over on each node.
Here's a DCL fragment I use to make sure the journal file has rolled over before attempting to archive the old one:
$ j="COMMON$LOGS:SECURITY.AUDIT$JOURNAL"
$ ArchiveFile=F$SEARCH(j)
$ SET AUDIT/SERVER=NEW_LOG
$!
$! Wait for new file to be created before archiving the old one
$ aud_loop: WAIT 00:00:01.00
$ NewFile=F$SEARCH(j)
$ IF NewFile.EQS.ArchiveFile THEN GOTO aud_loop
$ @CLUSTER$FILES:ARCHIVE_OLD_VERSIONS -
'NewFile' COMMON$ARCHIVE:
$!
Similar code should be used when rolling over all other logs and journal files, especially in a cluster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2005 09:29 PM
03-14-2005 09:29 PM
Re: restarting the SECURITY.AUDIT$JOURNAL file
thanks for the details.
Yes, we do this only once clusterwide.
We do an F$SEARCH for version -1 of
the file, and only operate on that. If not found, MAIL is sent to the system managers.
.. and should the rename somehow have failed yesterday, we re-evaluate -1 and rename any extra find as well. I do not remember any MAIL from recent years, but obviously we had some reasons to put in the signalling (procedure date 1995).
As per your remark, I added an extra WAIT 0:0:5 after SET AUD, before the rename logic, if only just for robustness. Thanks.
Proost.
Have one on me.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 09:29 PM
03-16-2005 09:29 PM