store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Wed Apr 23, 2014 4:48 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: logrotate maillog?
Unread postPosted: Sun Jan 08, 2012 12:40 am 
Offline
Forum Regular
Forum Regular

Joined: Wed Aug 04, 2010 2:52 pm
Posts: 257
Hello,

This is probably a no-brainer but I'm stumped. It seems the logrotate for psa is not working, and I'm not sure how it's supposed to be fired.

The evidence is a maillog in /usr/local/psa/var/log/ that is growing huge since October. The settings that should rotate this log are here: /usr/local/psa/etc/logrotate.conf

Quote:
/usr/local/psa/var/log/maillog.processed {
missingok
rotate 3
size 10M
compress
nocreate
}


However, can't seem to get it to fire. Is it supposed to be cron'd? cron.daily? The logrotate in cron.daily looks like this:

Quote:
#!/bin/sh

/usr/sbin/logrotate /etc/logrotate.conf
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
/usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
fi
exit 0


So it's not pointing at the PSA logrotate. Should I just change it? Add it? Sorry if this is brain dead, I can't seem to find the right info on Plesk or google.


Top
 Profile  
 
 Post subject: Re: logrotate maillog?
Unread postPosted: Sun Jan 08, 2012 3:18 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 2007
No. Don't touch. logrotate in cron.daily is meant to be like that.

Did you find http://forum.parallels.com/showthread.php?t=108997

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group