Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 05-10-2011, 10:22 AM   #1
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?

Old 05-10-2011, 03:46 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,493
Blog Entries: 15

Rep: Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463
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 there isn't anything obvious in that name that would let you know it relates to sea_urchin so you'd have to review to see if it does that - this can get tedious if itself calls another script which calls another and so on ....)

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


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 > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:14 AM.

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