List Info

Thread: Periodic Emails are not coming




Periodic Emails are not coming
user name
2006-09-29 15:24:53
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

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
Periodic Emails are not coming
user name
2006-09-29 15:29:50
Abid Saigol wrote:
> 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:
Have you inadvertently aliased the root user to another
user?  Or 
perhaps you deleted an alias and should be looking in the
"root" mailbox? 

I have virtual mail setup on my systems and I lost periodic
emails as 
well until I configured postfix correctly to consider my
local machine's 
hostname as an acceptable recipient.  I now alias root to
the virtual 
user I want to receive these emails.

Tom Veldhouse


_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
Periodic Emails are not coming
user name
2006-09-29 15:32:19
Thomas T. Veldhouse wrote:
> Abid Saigol wrote:
>> 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:
> Have you inadvertently aliased the root user to another
user?  Or 
> perhaps you deleted an alias and should be looking in
the "root" mailbox?
> I have virtual mail setup on my systems and I lost
periodic emails as 
> well until I configured postfix correctly to consider
my local 
> machine's hostname as an acceptable recipient.  I now
alias root to 
> the virtual user I want to receive these emails.
I had this same thing happen recently on one of my machines,
but it was 
one I use for my desktop. They stopped for me when I
installed KDE, 
upgrading from enlightenment. I don't know if there's
something going on 
with a particular update or not, but honestly, the mails
don't even 
appear to be getting generated, which is to say, I don't
know if the job 
is even being run. Can you determine if the job is being run
for you or not?
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
Periodic Emails are not coming
user name
2006-09-29 15:56:05
   Tom,
   Thanks for pointing me in the right direction.
   My aliases file was setup properly, but I have discovered
that it
   wasn't compiled (I hadn't run "makealiases" for
courier-mta).  When I
   tried to send mail to root ("#mail root"), it
failed.  However, after
   running makealiases I was able to send mail to root.  I
will know
   tomorrow am whether this means that periodic will run
successfully.
   Since the maillog showed successful transmission of other
messages, I
   automatically assumed that the problem was not with mail
   configuration...
   Thanks for the help.
   Abid
   Thomas T. Veldhouse wrote:

     Abid Saigol wrote:

     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:

     Have you inadvertently aliased the root user to another
user?  Or
     perhaps you deleted an alias and should be looking in
the "root"
     mailbox?
     I have virtual mail setup on my systems and I lost
periodic emails
     as well until I configured postfix correctly to
consider my local
     machine's hostname as an acceptable recipient.  I now
alias root to
     the virtual user I want to receive these emails.
     Tom Veldhouse
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )