Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sysklogd, vcron, and 0 byte /var/log/messages -> help..
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Rhiz()m3
n00b
n00b


Joined: 31 Aug 2002
Posts: 41

PostPosted: Tue Nov 12, 2002 10:44 pm    Post subject: sysklogd, vcron, and 0 byte /var/log/messages -> help.. Reply with quote

i started /etc/init.d/vcron for the first time yesterday. my /var/log/messages got rotated at 12:00 last night and now the new messages is 0 byte. it appears that /var/log/messages is no longer being written to. perhaps this is because vcron wants to mail notifications to the owner of vcron or the value of MAILTO="". my logging daemon (sysklogd) is still running. can some one tell me whats going on?
_________________
--------> Why don't you bastards start wearing human skins?<--------
Back to top
View user's profile Send private message
Rhiz()m3
n00b
n00b


Joined: 31 Aug 2002
Posts: 41

PostPosted: Tue Nov 12, 2002 10:47 pm    Post subject: Here is my crontab Reply with quote

############## /etc/crontab ####################
# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly
# for vixie cron
# remember to give cron a sighup when updating this file
#
# $Header: /home/cvsroot/gentoo-x86/sys-apps/vcron/files/crontab,v 1.2 2002/04/27 21:46:45 bangert Exp $
#
#
*/15 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons
0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
0 0 * * * root rm -f /var/spool/cron/lastrun/cron.daily
0 0 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
0 0 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly
##############################################
_________________
--------> Why don't you bastards start wearing human skins?<--------
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Nov 12, 2002 10:52 pm    Post subject: Reply with quote

Maybe these two things are unrelated - did you just install logrotate? Does restarting the logging daemon change anything?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Rhiz()m3
n00b
n00b


Joined: 31 Aug 2002
Posts: 41

PostPosted: Tue Nov 12, 2002 11:51 pm    Post subject: OK Reply with quote

Ok, I have more information. First I have two logging daemons running syslog and klogd. By looking at /etc/init.d/sysklogd, i discovered that this script launches both. When I force rotate the logs /var/log/syslog gets zipped up and recreated and starts logging again. /var/log/messages however does not. I suppose I could "ln -s syslog messages", but I would still like to know first, why messages is not being logged to. The only new element I have added to the equation since it worked was having vcron run with the /etc/crontab that I provided earlier. Anyone have any ideas?
_________________
--------> Why don't you bastards start wearing human skins?<--------
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum