LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 06-05-2008, 02:24 PM   #1
kmasaryk
LQ Newbie
 
Registered: May 2004
Distribution: Ubuntu, RHEL, OS X
Posts: 23

Rep: Reputation: 15
cupsd and httpd restarting every Sunday at 4:02


I see cupsd and httpd restarting every Sunday at 04:02 on all of my RHEL4 servers. I've looked at all the /etc/cron.* directories including the /etc/crontab and can't see what's causing the restarts. I've also looked in /var/spool/cron/ and see no files. Anyone have an idea of where else to look?


Code:
[root]# cat crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly



[root]# ls /etc/cron.*
/etc/cron.deny

/etc/cron.d:

/etc/cron.daily:
00-logwatch         0anacron   prelink  slocate.cron
00-makewhatis.cron  logrotate  rpm      tmpwatch

/etc/cron.hourly:

/etc/cron.monthly:
0anacron

/etc/cron.weekly:
00-makewhatis.cron  0anacron
 
Old 06-05-2008, 04:14 PM   #2
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
Log files

Start with the log files, /var/log/messages and /var/log/syslog.

You said you looked through all the cron directories, so you should have caught anyone's crontab in /var/spool/cron/crontabs.

You may have to write a small shell script daemon to go look for httpd restarting. Those are the only things that come to mind.
 
  


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
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 11:26 AM
LXer: Linux In The Park 2007 is this Sunday LXer Syndicated Linux News 0 08-17-2007 06:51 PM
httpd restarting every day GavB Linux - General 3 07-22-2007 06:08 PM
cannot start cupsd: cupsd: Child exited with status 127! kpachopoulos Debian 0 08-25-2006 08:00 AM
running httpd.conf without restarting apache mpower Linux - Newbie 3 03-16-2005 05:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:14 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