Solved

Exim /var/log/messages files are large

Posted on 2014-11-12
5
698 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 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

820 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