Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2006 11:24:53 -0400
From:      Abid Saigol <abid@saigol.biz>
To:        freebsd-questions@freebsd.org
Subject:   Periodic Emails are not coming
Message-ID:  <451D3AC5.8000703@saigol.biz>

Next in thread | Raw E-Mail | Index | Archive | Help
Hello,

Recently, the daily/weekly/monthly periodic emails have stopped coming 
from one of my servers.  There were no changes made of the system, 
except that part of the filesystem was exported as an NFS share.  These 
shares are setup on another FreeBSD machine for automount.  I have 
checked my /etc and /var/logs and cannot find any reason for the mails 
to have stopped.  Any help and guidance will be greatly appreciated.  
Here are some of the relevant files:

/etc/crontab
=========
# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD: src/etc/crontab,v 1.32 2002/11/22 16:13:39 tom Exp $
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#
#minute hour    mday    month   wday    who     command
#
*/5     *       *       *       *       root    /usr/libexec/atrun
#
# Save some entropy so that /dev/random can re-seed on boot.
*/11    *       *       *       *       operator /usr/libexec/save-entropy
#
# Rotate log files every hour, if necessary.
0       *       *       *       *       root    newsyslog
#
# Perform daily/weekly/monthly maintenance.
1       3       *       *       *       root    periodic daily
15      4       *       *       6       root    periodic weekly
30      5       1       *       *       root    periodic monthly
#
# Adjust the time zone if the CMOS clock keeps local time, as opposed to
# UTC time.  See adjkerntz(8) for details.
1,31    0-5     *       *       *       root    adjkerntz -a

/etc/periodic.conf
=============
daily_clean_hoststat_enable="NO"
daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"

/var/log/cron [for 3am when daily is supposed to run]
======================================
Sep 29 03:00:00 server /usr/sbin/cron[25669]: (root) CMD (newsyslog)
Sep 29 03:00:00 server /usr/sbin/cron[25671]: (www) CMD 
(/usr/local/bin/php -f /usr/local/www/phpcli/ebay/newsales.php)
Sep 29 03:00:00 server /usr/sbin/cron[25672]: (www) CMD 
(/usr/local/bin/php -f /usr/local/www/phpcli/ebay/newlisting.php)
Sep 29 03:00:00 server /usr/sbin/cron[25673]: (www) CMD 
(/usr/local/bin/php -f /usr/local/www/phpcli/ebay/mkthumb.php)
Sep 29 03:00:00 server /usr/sbin/cron[25670]: (operator) CMD 
(/usr/libexec/save-entropy)
Sep 29 03:00:00 server /usr/sbin/cron[25674]: (root) CMD 
(/usr/libexec/atrun)
Sep 29 03:00:00 server /usr/sbin/cron[25675]: (www) CMD 
(/usr/local/bin/php -f /usr/local/www/phpcli/ebay/parselogs.php)
Sep 29 03:01:00 server /usr/sbin/cron[25695]: (root) CMD (periodic daily)
Sep 29 03:01:00 server /usr/sbin/cron[25696]: (root) CMD (adjkerntz -a)
Sep 29 03:02:00 server /usr/sbin/cron[25808]: (www) CMD 
(/usr/local/bin/php -f /usr/local/www/phpcli/ebay/mkthumb.php)
Sep 29 03:02:27 server cron[25694]: (root) MAIL (mailed 123 bytes of 
output but got status 0x004b )
Sep 29 03:04:00 server /usr/sbin/cron[25955]: (www) CMD 
(/usr/local/bin/php -f /usr/local/www/phpcli/ebay/mkthumb.php)
Sep 29 03:05:00 server /usr/sbin/cron[25960]: (www) CMD 
(/usr/local/bin/php -f /usr/local/www/phpcli/ebay/newsales.php)
Sep 29 03:05:00 server /usr/sbin/cron[25959]: (root) CMD 
(/usr/libexec/atrun)

/var/log/maillog [running courier-mta]
==========================
Sep 29 03:00:11 server courierd: Waiting.  shutdown time=Fri Sep 29 
03:05:11 2006, wakeup time=Fri Sep 29 03:05:11 2006, queuedelivering=0, 
inprogress=0
Sep 29 03:05:11 server courierd: SHUTDOWN: respawnlo limit reached, 
system inactive.
Sep 29 03:05:11 server courierd: Loading STATIC transport module libraries.
Sep 29 03:05:11 server courierd: Courier 0.53.2 Copyright 1999-2005 
Double Precision, Inc.
Sep 29 03:05:11 server courierd: Installing [0/0]
Sep 29 03:05:11 server courierd: Installing local
Sep 29 03:05:11 server courierd: Installed: module.local - Courier 
0.53.2 Copyright 1999-2005 Double Precision, Inc.
Sep 29 03:05:11 server courierd: Installing esmtp
Sep 29 03:05:11 server courierd: Installed: module.esmtp - Courier 
0.53.2 Copyright 1999-2005 Double Precision, Inc.
Sep 29 03:05:11 server courierd: Installing dsn
Sep 29 03:05:11 server courierd: Installed: module.dsn - Courier 0.53.2 
Copyright 1999-2005 Double Precision, Inc.
Sep 29 03:05:11 server courierd: Initializing local
Sep 29 03:05:11 server courierd: Initializing esmtp
Sep 29 03:05:11 server courierd: Initializing dsn
Sep 29 03:05:11 server courierd: Started exec ./courierlocal, pid=25964, 
maxdels=10, maxhost=4, maxrcpt=1
Sep 29 03:05:11 server courierd: Started exec ./courieresmtp, pid=25965, 
maxdels=40, maxhost=4, maxrcpt=100
Sep 29 03:05:11 server courierd: Started exec ./courierdsn, pid=25966, 
maxdels=4, maxhost=1, maxrcpt=1
Sep 29 03:05:11 server courierd: queuelo=200, queuehi=400
Sep 29 03:05:11 server courierd: Purging /var/spool/courier/msgq
Sep 29 03:05:11 server courierd: Purging /var/spool/courier/msgs
Sep 29 03:05:11 server courierd: Waiting.  shutdown time=Fri Sep 29 
04:05:11 2006, wakeup time=Fri Sep 29 04:05:11 2006, queuedelivering=0, 
inprogress=0

The only anomalous entry is in the cron log at 3:02, but nothing in the 
maillog to reflect that.

Thanks in advance for any and all help.

Abid




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?451D3AC5.8000703>