Solved

Exim /var/log/messages files are large

Posted on 2014-11-12
5
740 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 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

Do you have a plan for Continuity?

It's inevitable. People leave organizations creating a gap in your service. That's where Percona comes in.

See how Pepper.com relies on Percona to:
-Manage their database
-Guarantee data safety and protection
-Provide database expertise that is available for any situation

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
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…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses

615 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