Re: crond stopped, still fills /var/log/messages with millions of messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/20/2017 11:59 PM, M. Fioretti wrote:
> Greetings,
> 
> a few minutes ago, I realized that, on a Fedora 25 box I have...
> 
> - my /var/log/messages was almost 15 MILLIONS lines long.
> - 99% of those lines (~20/second) are like this:
> 
>   crond: No configuration file found at /home/marco/.esmtprc or
> /etc/esmtprc
> 
> but the only line in my own crontab is a shell script that runs every
> minute. When I run that script manually, from the command line, it yelds
> no error or warning. From what I can see, this flood of crond warnings
> started about a week ago, but I've used
> that computer almost nothing in the last two weeks.
> 
> I should install a local MDA on this box, I guess, but before that I
> should really figure out what is making crond try 20 times a second to
> send an email, and make it
> stop. Any ideas?

That's odd as cron only checks its tables once a minute. It's almost as
if there's a script in a loop with a "sleep 20" or something akin to it
inside the loop or a program doing the same. In those cases I'd expect
the error message to contain the program's name--not "crond".

Digging around, the /etc/esmtprc file is provided by the
esmtp-local-delivery RPM while the functionality is provided by the
esmtp RPM (a
relay-only MTA). I have neither of those RPMs installed on my machines
as I don't need a relay-only MTA (or an MTA of any kind) so I don't see
this. If you don't need an MTA on your machine, I'd uninstall esmtp. If
you do, I'd install esmtp-local-delivery to provide the /etc/esmtprc
file (or create one yourself) to stop the messages.

It's interesting that they split this into two RPMs. One would think a
single esmtp RPM should provide all the stuff needed--or at least make
esmtp dependent on esmtp-local-delivery so this condition can't happen.
Having never used this, I don't know...perhaps there is a good reason
why its done this way.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-      Batteries not included.  Offer not valid in some states.      -
-           Your mileage may vary.  Void where prohibited.           -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux