LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-01-2005, 09:51 AM   #1
pfaendtner
Member
 
Registered: Nov 2003
Posts: 57

Rep: Reputation: 15
Help with crond and auditd


Hi,

I run RHEL AS for a sever in my office. I shut off audit using the following commands

/etc/init.d/audit stop
chkconfig --level 12345 audit off


Now, I am getting the following things in my daily log:

Mar 31 00:00:00 winnie CROND[12064]: LAuS error - do_command.c:226 - laus_attach: (19) laus_attach: No such device
Mar 31 00:01:00 winnie CROND[12070]: LAuS error - do_command.c:226 - laus_attach: (19) laus_attach: No such device
Mar 31 00:10:00 winnie CROND[12074]: LAuS error - do_command.c:226 - laus_attach: (19) laus_attach: No such device
Mar 31 00:20:01 winnie CROND[12078]: LAuS error - do_command.c:226 - laus_attach: (19) laus_attach: No such device
Mar 31 00:30:00 winnie CROND[12


it seems like something is trying to occur every 10 minutes which I can't figure out?

I tried restarting crond and even rebooting the server since I have made the changes, but nothing helps.

Please help!
 
Old 04-01-2005, 10:26 AM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"it seems like something is trying to occur every 10 minutes which I can't figure out?"

List crontab and see if some cron job is scheduled every 10 minutes.

less /etc/crontab

----------------------------
Steve Stites
 
Old 04-01-2005, 10:40 AM   #3
pfaendtner
Member
 
Registered: Nov 2003
Posts: 57

Original Poster
Rep: Reputation: 15
There's nothing in crontab or cron.daily or cron.hourly which points to the above. However when I looked in /var/log/cron I saw this:

Apr 1 09:10:00 winnie CROND[14470]: (root) CMD (/usr/lib/sa/sa1 1 1) Apr 1 09:10:00 winnie CROND[14470]: LAuS error - do_command.c:226 - laus_attach: (19) laus_attach: No such device

so something is trying to launch /usr/lib/sa/sa1. But I don't know how to determine what is trying to launch it because it's not in any of the above cron files...
 
Old 04-01-2005, 03:19 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"so something is trying to launch /usr/lib/sa/sa1. But I don't know how to determine what is trying to launch it because it's not in any of the above cron files..."

Is /usr/lib/sa/sa1 a binary or a script? If it is a script then you might be able to figure out what it is by reading it.

If /usr/lib/sa/sa1 was installed by a rpm package you can find out what rpm package installed it with:
rpm -q --whatprovides /usr/lib/sa/sa1

----------------------------
Steve Stites
 
Old 04-25-2005, 10:41 AM   #5
pfaendtner
Member
 
Registered: Nov 2003
Posts: 57

Original Poster
Rep: Reputation: 15
I finally found the solution to the problem.


1) rpm -q --whatprovides /usr/lib/sa/sa1

this showed me that the sysstat package was requesting this (see my LAuS errors above).

2) in /etc/cron.d I have a script "sysst" :

[root@winnie cron.d]# cat sysstat
# run system activity accounting tool every 10 minutes
*/10 * * * * root /usr/lib/sa/sa1 1 1
# generate a daily summary of process accounting at 23:53
53 23 * * * root /usr/lib/sa/sa2 -A

I just commented out the second line - all set.
 
  


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
auditd outputting errors at service start & stop cdhgee Fedora 8 08-08-2005 01:22 PM
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
LAus error even after turning auditd off g14malibu Red Hat 2 04-04-2005 10:23 AM
Crond jimval7 Linux - General 2 03-06-2002 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:47 AM.

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