Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 01-09-2009, 04:54 PM   #1
LQ Newbie
Registered: Jan 2009
Distribution: Redhat
Posts: 1

Rep: Reputation: 0
why are boot.log and boot.log.1 getting updated but no reboot has taken place

We're seeing the boot logs, snmpd being restarted, etc. but no reboot has taken place according to who -b and uptime. Is there some overriding weekly clean up process causing this? All I see in cron is /root/bin/

Old 01-09-2009, 10:18 PM   #2
Registered: Nov 2006
Location: Seattle, WA
Distribution: Fedora
Posts: 407

Rep: Reputation: 35
This sounds like the action of a subsystem called logrotate. Quite commonly, a logrotate script needs to stop a daemon while it moves the logfile out from under the daemon, and then restarts it. You can find the scripts that do this in /etc/logrotate.d
Old 01-10-2009, 11:17 PM   #3
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
This is what cron is running BTW:
$ grep 'daily' /etc/crontab
02 4 * * * root run-parts /etc/cron.daily

$ cat /etc/cron.daily/logrotate

/usr/sbin/logrotate /etc/logrotate.conf
if [ $EXITVALUE != 0 ]; then
    /usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
exit 0


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
/var/log/boot.log doesn't exist??? big_gie Fedora 5 05-17-2008 05:44 AM
Logging is not happening on my /var/log/boot.log Copain Linux - Security 2 09-28-2007 05:34 PM
/var/log/boot.log - fixing this, or what? jhwilliams Fedora 5 09-13-2007 05:15 PM
/var/log/boot.log has size 0 ?? jhwilliams Fedora 3 06-16-2007 08:55 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:10 PM.

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