Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Exim /var/log/messages files are large

Posted on 2014-11-12
5
Medium Priority
?
799 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 62

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 62

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 62

Accepted Solution

by:
gheist earned 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month10 days, 11 hours left to enroll

886 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