Solved

Exim /var/log/messages files are large

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CentOS create a user with predefined MD5 Hashed password 17 85
AD LDAP LDS 3 67
Run same command on multiple files in Linux 3 32
android secure ftp 3 38
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

810 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