Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th June 2006, 02:30 PM
wjstarck Offline
Registered User
 
Join Date: Jan 2005
Posts: 24
Logwatch emails not being sent

Logwatch emails are apparently not being sent (Core 5) - where do I look to see where the problem might be? I have the latest Webmin installed.

Thx

Will
Reply With Quote
  #2  
Old 5th June 2006, 02:37 PM
pparks1's Avatar
pparks1 Offline
Registered User
 
Join Date: Mar 2004
Location: Westland, Michigan
Age: 38
Posts: 2,317
I would look in /var/log/maillog and see if there is any indication of a problem in the sendmail logs.

Second, look at /etc/aliases and see which email address is being used for root email. (it should be right at the bottom)

Finally, check /var/log/cron and make sure that the cron job for logwatch is running. I believe it is /etc/cron.daily
__________________
RHCE and MCSE systems administrator
Registered Linux User #375155 For More Info or to register yourself

My Linux box is:
Ubuntu 8.04, Antec Sonata II case with 450-watt PS, AMD 64 X2 4600+ (65 watt), 4GB DDR2 800 RAM, 18X Lite-On DVD burner, Asus M2NPV-VM, Nvidia GeForce 7600GT (256MB), 320GB Western Digital SATA 3.0Gbps, Logitech MX-310, Dell 18" ultrasharp LCD, Microsoft Natural Ergonomic Keyboard 4000 and 2.1 Boston Acoustics sound system..
Reply With Quote
  #3  
Old 5th June 2006, 03:39 PM
wjstarck Offline
Registered User
 
Join Date: Jan 2005
Posts: 24
Quote:
Originally Posted by pparks1
I would look in /var/log/maillog and see if there is any indication of a problem in the sendmail logs.

Second, look at /etc/aliases and see which email address is being used for root email. (it should be right at the bottom)

Finally, check /var/log/cron and make sure that the cron job for logwatch is running. I believe it is /etc/cron.daily
/var/log/mailog seems to indicate that the mail is being sent daily

however, /var/log/cron seems to indicate the daily cron jobs aren't firing (I don't see any entries for /etc/cron/daily)?

Here is /etc/aliases

#Basic system aliases -- these MUST be present.
mailer-daemon: postmaster
postmaster: root

Thx
Reply With Quote
  #4  
Old 5th June 2006, 08:43 PM
u-noneinc-s's Avatar
u-noneinc-s Offline
Registered User
 
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,862
This stuff was ALL default on my box. I created none of it. I don't understand why you don't have any daily cron jobs

Code:
mark@spongie 19 /etc/cron.daily =>l
total 124
-rwxr-xr-x 1 root root  133 Feb 12 10:55 00webalizer
-rwxr-x--- 1 root root 1687 Mar 18 19:50 01-rkhunter
-rwxr-xr-x 1 root root  276 Apr 13 18:14 0anacron
lrwxrwxrwx 1 root root   39 Apr  4 14:55 0logwatch -> /usr/share/logwatch/script
s/logwatch.pl
-rwxr-xr-x 1 root root 1042 Feb 10 22:39 certwatch
-rwxr-xr-x 1 root root  118 May 23 02:26 cups
-rwxr-xr-x 1 root root  180 Feb 11 17:02 logrotate
-rwxr-xr-x 1 root root  418 Mar 24 00:55 makewhatis.cron
-rwxr-xr-x 1 root root  137 Mar 17 19:37 mlocate.cron
-rwxr-xr-x 1 root root 2133 Nov 23  2004 prelink
-rwxr-xr-x 1 root root  114 Feb 12 01:16 rpm
-rwxr-xr-x 1 root root  102 Nov 16  2004 sarg
-rwxr-xr-x 1 root root  271 Apr 11 13:56 squirrelmail.cron
-rwxr-xr-x 1 root root  100 Apr 27 06:31 tetex.cron
-rwxr-xr-x 1 root root  290 Feb 12 10:06 tmpwatch
-rwxr-xr-x 1 root root  158 Apr 26 12:29 yum.cron
Actually I just re-read your post. my cron log doesn't show anything either. I have not looked into it since I know the jobs are running.
Reply With Quote
  #5  
Old 7th June 2006, 03:26 AM
wjstarck Offline
Registered User
 
Join Date: Jan 2005
Posts: 24
Upon further inspection, I find the mails to root from Logwatch in /var/mail/

In the past, I would receive these in my postmaster account on CommuniGate Pro.

Anywhere else to check to see why they're no longer getting there?
Reply With Quote
  #6  
Old 7th June 2006, 03:41 AM
u-noneinc-s's Avatar
u-noneinc-s Offline
Registered User
 
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,862
It looks like in /usr/share/logwatch/default.conf/logwatch.conf is the one you want. Change MailTo = root to whatever you want.
Reply With Quote
  #7  
Old 8th June 2006, 10:02 PM
wjstarck Offline
Registered User
 
Join Date: Jan 2005
Posts: 24
Fixed - Re:Logwatch emails not being sent

All fixed now.

After some digging, I determined that CGP likes it's own sendmail to submit root's mail to it, not the system sendmail (at least on Fedora 5)

So, I renamed /usr/sbin/sendmail and then did a ln -s /usr/sbin/sendmail /opt/CommuniGate/sendmail

and all is well.

Thanks to all who responded...
Reply With Quote
Reply

Tags
emails, logwatch

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logwatch reports empty!! how to debug logwatch? paul sanz Using Fedora 1 26th June 2008 10:29 AM
I can Send Emails But I cannot Receive Emails jmbiram Using Fedora 18 17th June 2008 11:05 PM


Current GMT-time: 03:28 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat