LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 08-01-2006, 11:30 PM   #1
xmdms
Member
 
Registered: Oct 2003
Posts: 134

Rep: Reputation: 15
Auditd Daemon Threshold


Hi,

Has anyone ever heard of the audit daemon was suspended due to space threshold being reached and possibly hang a server? How do you go about increasing the threshold or delete old files when the treshold is reached?

I am running RHAS 3.0 on HP Itanium servers.

Thank you in advance and have a great day.
 
Old 08-11-2006, 01:27 AM   #2
rahulk
Member
 
Registered: Mar 2006
Posts: 110

Rep: Reputation: 16
Quote:
Originally Posted by xmdms
Hi,

Has anyone ever heard of the audit daemon was suspended due to space threshold being reached and possibly hang a server? How do you go about increasing the threshold or delete old files when the treshold is reached?

I am running RHAS 3.0 on HP Itanium servers.

Thank you in advance and have a great day.
When the filesystem containing the audit logs exceeds 80% utilization, things start randomly hanging on the system, auditd service will definitely get hanged up if the /var system reaches 100% on disk space. Normally audit services write save.* and bin.* files in /var/log/audit.d/ directory. If the /var file system is 100 % full then the audit services may hang up.

you can make changes to /etc/audit/audit.conf for the configuration and filesets.conf to specify the rulesets for the same.
Its better to turn off the notify logging as it puts unnecessary amount of logs in log files.

check out this statement in audit.conf

notify = "/usr/sbin/audbin -S /var/log/audit.d/save.%u -C -T 20%";

This will make audit services go into "suspend mode" or hanged up whenever the /var filesystem reaches 80% utilization. Change the above line to

notify = "/bin/true";
this will make sure that audbin command is not able to suspend audit services.

Anyways you can always stop the audit services if you are running a server. Make use of chkconfig command to turn audit service off.

Rgds,
Rahul.

Last edited by rahulk; 08-11-2006 at 01:36 AM.
 
Old 08-11-2006, 09:53 PM   #3
xmdms
Member
 
Registered: Oct 2003
Posts: 134

Original Poster
Rep: Reputation: 15
Hi Rahul,

Thanks for the education on auditd. I am not sure if that was teh problem, because we had plenty of disk space in /var directory. I suspect something like raw devices and ocfs had a hicup or some sort, or even the SANs had some issues. At the moment, I am not able to pin-point exactly what was the caused of the issue we had that one particular day.

Please feel free to shout at me with more ideas.

Thanks,
J
 
Old 08-12-2006, 06:42 AM   #4
rahulk
Member
 
Registered: Mar 2006
Posts: 110

Rep: Reputation: 16
firstly, m not shouting or educating anyone out here!! m just trying to provide you with the ideas or info. which i feel could have caused the problem, coz i m not the admin for your machine.

anyways, you mentioned that SAN is being used in your system along with raw devices which looks like a Database server. are your etc, bin and sbin are on SAN storage ? SAN issues are generally due to HBA card failure. but for audit services to hangup the most prominent reason should be some device failure. rawdevice failure ca atmost cause some of the processes to go into Disk sleep which might have caused cpu high. SAN failure is more of a permanent thing and not temporary one. Have a look at your audit.conf. were only audit services suspended or others too ??
 
Old 08-12-2006, 10:30 AM   #5
xmdms
Member
 
Registered: Oct 2003
Posts: 134

Original Poster
Rep: Reputation: 15
I didn't mean you were shouting...And it's good to educate people like my self newbie into the Linux world.

No, our /etc, /bin, and /sbin is not on the SAN. But it's locally attched. I just have this funny feeling about the raw devices & ocfs, and Linux FS running on the same box and have Oracle RAC for clustering.

I don't know a whole lot about Linux at this time to even know where to look for problems and I was hoping to find some clues on where to look for. This symtom doesn't happen all the time, so make it very difficult to trace.

Any ideas, please don't hesitate to let me know.

Thanks,
J
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux auditing in fedora, Selinux and auditd geburah Linux - Security 3 03-16-2006 04:46 AM
auditd and laus not working on Red Hat Enterprise V4 gizzy37 Linux - Enterprise 2 07-25-2005 02:46 PM
auditd and laus kronixx Red Hat 0 07-15-2005 05:33 PM
Help with crond and auditd pfaendtner Linux - Software 4 04-25-2005 10:41 AM
LAus error even after turning auditd off g14malibu Red Hat 2 04-04-2005 10:23 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 07:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration