LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-25-2004, 11:43 AM   #1
Stomatella
LQ Newbie
 
Registered: Dec 2002
Location: US
Distribution: FC5
Posts: 22

Rep: Reputation: 15
Did I kill logwatch?


I didn't receive my usual LogWatch email this morning from my FC3 box and I'm a little concerned. Here's what I might have done to bugger it up:

My log files had become choked with messages generated during setup and testing. So, last night I backed up /var/log/* and set about resetting the logs manually (emptying them of content with vi), then rebooted just for the hell of it.

I have looked through the logs manually this morning and everything seems to be logging normally, and for the first time I had a pretty good idea that what I was seeing was actually pertinent to the functioning of my server in the last twelve hours or so.

I just wanna know: why might my actions have caused LogWatch to stop sending? Can I make it do its thing (as sepcified in /etc/cron.daily) from the command line? Thanks!
 
Old 11-25-2004, 11:46 AM   #2
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 35
you can run logwatch directly from the command line.

When your prompt is back, you will probably have your mailed logs
 
Old 11-25-2004, 12:00 PM   #3
Stomatella
LQ Newbie
 
Registered: Dec 2002
Location: US
Distribution: FC5
Posts: 22

Original Poster
Rep: Reputation: 15
Wow, thanks for the quick reply!

I'm clearly an idiot. By default (as specified in /etc/log.d/logwatch.conf) Logwatch sends log activity for YESTERDAY, but I had erased yesterday's log activity, Duh.

By backing up the confing and by changing output to stdout instead of email I saw what I wanted to see.

Actually I saw something I didn't want to see. but that's another thread.

Last edited by Stomatella; 11-25-2004 at 12:04 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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What if 'kill -9' fails to kill a task? chii-chan Linux - Newbie 15 03-27-2013 04:47 PM
how to use kill to kill a batch of processes with same name? dr_zayus69 Linux - Software 2 09-03-2005 07:35 PM
Kill command could not kill Kanaflloric Linux - General 11 08-22-2005 08:18 AM
cannot kill process (kill -9 does not work) mazer13a Linux - General 1 05-27-2005 03:32 PM
kill X = kill computer! jd243 Slackware 3 07-02-2003 12:29 AM


All times are GMT -5. The time now is 04:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration