Solved

Exim /var/log/messages files are large

Posted on 2014-11-12
5
650 Views
Last Modified: 2014-11-13
Hi,

I have a number of large exim related files in /var/log in the format of messages-{date}, currently they're taking up around 13Gb of disc space.

I've edited one of the smaller files and found that it's full of lines such as this...

Oct 22 11:49:45 server atd[5687]: File a0026c01664a08 is in wrong format - aborting
Oct 22 11:49:45 server atd[5688]: File a0026e01665554 is in wrong format - aborting
Oct 22 11:49:45 server atd[5689]: File a0026f01665af4 is in wrong format - aborting
Oct 22 11:49:45 server atd[5693]: File a002520165c316 is in wrong format - aborting
Oct 22 11:49:45 server atd[5694]: File a0026d01664fa7 is in wrong format - aborting
Oct 22 11:49:45 server atd[5695]: File a0024f0165b7d6 is in wrong format - aborting
Oct 22 11:49:45 server atd[5696]: File a0026c01664a08 is in wrong format - aborting
Oct 22 11:49:45 server atd[5700]: File a0026e01665554 is in wrong format - aborting
Oct 22 11:49:45 server atd[5701]: File a0026f01665af4 is in wrong format - aborting

Open in new window


I can free up the space by deleting this files, but I'm going to guess this won't resolve the problem.

Can anyone shed any light on my these messages are being logged and how I can stop them?
0
Comment
Question by:SheppardDigital
  • 3
  • 2
5 Comments
 
LVL 61

Expert Comment

by:gheist
ID: 40438620
atd has nothing to do with exim. you installed shellshock patch but did not upgrade at(d) that relies on unpatched bash.
0
 

Author Comment

by:SheppardDigital
ID: 40438650
ah ok, I didn't update anything on the server, it must have done it as part of a cpanel update.

How would I go about updating it?
0
 
LVL 61

Expert Comment

by:gheist
ID: 40438657
Given deep detail you gave on your system:
Use package manager to figure out which package contains atd daemon and then upgrade that package.
0
 

Author Comment

by:SheppardDigital
ID: 40439420
Sorry, I don't know how to do that. I can only do the basics with a the system. It's mainly a development server so I wouldn't normally be concerned about this, however I keep needing to clear disk space every few days which is becoming a pain.

I believe it's a Linux VPS running Centos 6.6 and has WHM/Cpanel installed.
0
 
LVL 61

Accepted Solution

by:
gheist earned 500 total points
ID: 40439433
Centos ->
yum upgrade at ; service atd restart

and messages should stop.
Old logs will disappear in 5 weeks ( you can delete oldest yourself if there is any issue)
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now