Sponsored Content
Operating Systems Solaris please help me solve this issue......... Post 302196290 by Renjesh on Saturday 17th of May 2008 04:27:13 PM
Old 05-17-2008
please help me solve this issue.........

Hi,

I am having a Solaris 5.9 server in which an audit trail script is running every day.It is doing nothing but taking the backup of three files given below

-rw-r--r-- 1 root root 1807 May 18 01:30 login_server1_17May2008
-rw-r--r-- 1 root root 0 May 18 01:30 msgs_server1_17May2008
-rw-r--r-- 1 root root 7168 May 18 01:30 history_server1_17May2008.tar

In which msgs_ file size is zero.I cleared wtmpx file and checked but it is not working .
I type dmesg also its showing an error at last line something like

May 15 14:51:19 server1 genunix: [ID 603404 kern.notice] NOTICE: core_log: cub7
5[27241] no space left on device, core truncated: /var/core/core_server1_cub75_ 207_103_1210843251_27241


What else i can do to solve this pbm??
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to solve this

I have to write an script for.. CUST: 123 trans: some contents CUST: 1234 trans: some contents Now wat i have to do is this: CUST:123 akash trans: some contents CUST:1234 akash1 trans: I have been able to add... (3 Replies)
Discussion started by: akashag22
3 Replies

2. Solaris

Help me to solve this issue

Hi, I want to send a .tar file from one solaris 5.9 server to another server in order to make files in sync.What method i can use? (2 Replies)
Discussion started by: Renjesh
2 Replies

3. UNIX for Dummies Questions & Answers

Can anyone solve this awk issue ?

awk -F^ '{ if (($1 != "X") && ($5 != "3")) || if (($1 != "S") && ($5 != "2")) print $0}' abc> xyz The above command returns this error awk: syntax error near line 1 awk: illegal statement near line 1 I am newbie to awk, Any awk intelligence involved in correcting this issue is highly... (2 Replies)
Discussion started by: karthickrn
2 Replies

4. Shell Programming and Scripting

Request to checkVenn diagram issue solve by Unix programm

Hello Any Unix programm can help me to solve thsi issue: I have 2 venn digrams please checke the attached file for pictures of venn diagram for eg red is A yellow is B and green is C..Please see attached file for Venn diagrams In one ..... I have 3 data set A , B and C Venn diagram... (0 Replies)
Discussion started by: manigrover
0 Replies

5. Shell Programming and Scripting

Can't solve a simple SSH/scp issue.. Please help.

Disclaimer: I tried searching but wasn't able to get to the answer so please don't flame. Scenario: I have a root script that generates a file on box1 and then needs to scp it over to box2 using user1. Both boxes are running open-ssh. root@locat-host# scp /tmp/file1 user1@box2:/tmp/file1 ... (10 Replies)
Discussion started by: denissi
10 Replies

6. Programming

Removed /root/.cabal by mistake - how to solve this issue?

I have mistakenly removed /root/.cabal/ from my root directoty and when I tried to reinstall it I get this output: faiz:~$ sudo cabal install pandoc --reinstall Resolving dependencies... In order, the following will be installed: pandoc-1.14.0.4 (reinstall) Warning: Note that reinstalls are... (3 Replies)
Discussion started by: faizlo
3 Replies

7. Shell Programming and Scripting

How to solve hang issue in script?

i have one function block in the beginning of my script and there are some commands inside that function which will perform some operations. And i am invoking that function from my main script by passing some values. Sometimes it is hanging in the middle for some value. For example: For 1st... (3 Replies)
Discussion started by: thomasraj87
3 Replies
audomon(1M)															       audomon(1M)

NAME
audomon - audit overflow monitor daemon SYNOPSIS
fss] sp_freq] warning] output] string] DESCRIPTION
monitors the capacity of the current audit trail and the file system on which the audit trail is located. prints out warning messages when either capacity is approaching full. also checks the audit trail and the file system against two switch points: FileSpaceSwitch (FSS) and AuditFileSwitch (AFS). If either switch point is reached, audit recording automatically switches to an alternative audit trail. also takes action at the switch point if there is a task specified with the option. The FileSpaceSwitch (FSS) is specified as a percentage of the total disk space available. When the file system reaches this percentage, looks for a backup audit trail. If the backup audit trail is available, recording is switched from the audit trail to the backup trail. If the backup audit trail is not available, then the auditing system creates a new audit trail with the same base name but a different timestamp extension. The auditing system begins recording to the new audit trail. The AuditFileSwitch (AFS) is specified (using by the size of the audit trail. When the audit trail reaches the specified size, looks for a backup audit trail. If a backup audit trail is available, recording is switched from the audit trail to the backup trail (see audsys(1M) for more information). If a backup audit trail is not available, then the auditing system creates a new audit trail with the same base name but a different timestamp extension. The auditing system begins recording to the new audit trail. issues a warning message, when either switch point is approached. is typically spawned by (as part of the start-up process) when the system is booted up if the parameter AUDITING is set to 1 in file can also be started any time by a privileged user. Once invoked, monitors, periodically sleeping and "waking up" at intervals. Note that does not produce any messages when the audit system is disabled. is restricted to privileged users. Options recognizes the following options: Specify the file or tty to which warning messages are directed. By default, warning messages are sent to the console. Note that the warning messages apply to the diagnostic messages that generates messages concerning the status of the audit system, as well as the messages that the scheduled task (see below) may print out to the standard output and error file. Error messages caused by wrong usage of are sent to the standard output (where is invoked). Note: The file given to the option must exist and must be writable by the user who started (normally root during system startup) according to the system call. See access(2). Specify the FileSpaceSwitch by a number ranging from 0 to 100. When the file system that contains the current audit trail has less than fss percent free space remaining, looks for a backup audit trail. If available, the backup trail is designated as the new audit trail. If no backup trail is available, the auditing system creates a new audit trail with the same base name but a different timestamp extension and begins recording to it. The fss parameter must be a larger number than the min_free parameter of the file system to ensure that the switch takes place before min_free is reached. By default, fss is 20 percent. Specify the wake-up switch-point frequency in minutes. The wake-up frequency is calculated based on sp_freq and the current capacity of the audit trail and the file system. The calculated wake-up frequency at any time before the switch points is larger than sp_freq. As the size of the audit trail or the file system's free space approaches the switch points, the wake-up frequency approaches sp_freq. sp_freq can be any positive real number. The default sp_freq is 1 (minute). Specify that warning messages be sent before the switch points. warning is an integer ranging from 0 through 100. The higher the warning, the closer to the switch points warning messages are issued. For example, warning set to 50 causes warning messages to be sent half-way before the switch points are reached. warning set to 100 causes warning messages to be sent only after the designated switch points are reached and a switch is not possible due to a missing backup trail. By default, warning is 90. Note: The warning message is not sent if the audit trail size grows beyond the switch points in between two consecutive audomon wakeup intervals. In this case, only performs the switch to next audit trail. Make more verbose. This option causes to also print out the next wake-up time. Specify a command line to run after a successful audit trail switch. When the trail is switched from, for example, OldTrail to NewTrail, runs the command: The command string must be specified as an absolute path. Any shell meta-characters and wildcards are expanded by but are expanded by the shell. The command is executed with a real uid and effective uid of 0 in a non-chrooted environment. The command must make minimal assumptions about the environment. For example, the command needs to set environment variables such as its working directory, and its groups. Note: To use this feature, do not explicitly specify the next audit trail using audsys(1M)). EXAMPLES
Example 1: The above command starts the daemon with the following expected behaviors, assuming auditing system was started using o sleeps at least 1 minute at intervals. o When the size of current audit trail reaches 1000 * 90% = 900 kbytes, or the file system that contains the current audit trail has reached (100%-20%) * 90% = 72% full, starts printing out warning messages to the console. o When the size of current audit trail reaches 1000 kbytes, or the file system that contains the current audit trail has reached 100% - 20% = 80% full, switches recording data to: where yyyymmdd_HHMM is replaced by the time when the switch has happened. o After the switch succeeded, invokes the following command: to copy to a remote system assuming that is what the given script intends to do. Example 2: To stop daemon that is already running, use: WARNINGS
All modifications made to the audit system are lost upon reboot. To make the changes permanent, set in AUTHOR
was developed by HP. SEE ALSO
audsys(1M), audit(5). audomon(1M)
All times are GMT -4. The time now is 03:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy