LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-10-2011, 10:22 AM   #1
latasha
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: 0
Exclamation /var/log/httpd/sea_urchin keeps regenerating


My predecessor uninstalled the Urchin software from our RHEL5 server, but this /var/log/httpd/sea_urchin log keeps regenerating every Monday. We cannot figure out why. I am assuming it has something to do with logrotate. I am newbie, so be gentle. How can I stop it? Is there something we are overlooking?

Thanks
Tasha
 
Old 05-10-2011, 03:46 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,995
Blog Entries: 5

Rep: Reputation: 782Reputation: 782Reputation: 782Reputation: 782Reputation: 782Reputation: 782Reputation: 782
If it is regenerating every Monday it is likely due to a cron job.

The first place I'd check is /etc/cron.weekly and see if any of the files underneath that (they are simple text files) has anything that is doing the generation of the log.

If not there then it might be using a standard crontab file. If you look in /var/spool/cron you may see files named for users on your system (including "root"). These are also simple text files and you can check those to see if any are doing the generation of the log. (Note - do not edit the files here - use "crontab -e" command to edit - see "man cron" for more details.) The fifth space separated field in the file is the day of the week to run on - you're interested in (day) 1 which is Monday.

Also be aware that either of the above cron methods above might actually be calling a script that is doing this and it may not be obvious which script so you might have to dig into the things you find. (i.e. If he called the script myfun.sh there isn't anything obvious in that name that would let you know it relates to sea_urchin so you'd have to review myfun.sh to see if it does that - this can get tedious if myfun.sh itself calls another script which calls another and so on ....)

Last edited by MensaWater; 05-11-2011 at 01:48 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does apache need to own var/log/httpd/logfiles.log Karas Linux - Newbie 2 11-26-2009 12:25 PM
var/log/httpd joeard Linux - Distributions 1 12-08-2006 08:45 PM
error rotating /var/log/httpd/access_log joseph_k Linux - General 5 09-22-2001 05:09 PM
weird mesg. in /var/log/httpd/access_log aimstr8 Linux - General 7 08-16-2001 01:01 PM
/var/log/httpd/error_log:Premature end of script headers! katana Linux - General 0 08-14-2001 06:41 AM


All times are GMT -5. The time now is 01:24 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration