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

5th June 2006, 02:30 PM
|
|
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
|

5th June 2006, 02:37 PM
|
 |
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..
|

5th June 2006, 03:39 PM
|
|
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
|

5th June 2006, 08:43 PM
|
 |
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.
|

7th June 2006, 03:26 AM
|
|
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?
|

7th June 2006, 03:41 AM
|
 |
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.
|

8th June 2006, 10:02 PM
|
|
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...
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 03:28 (Sunday, 19-05-2013)
|
|
 |
 |
 |
 |
|
|