0
votes
1answer
294 views

Cron job does not generate expected log file

I'm trying to execute a shell with crontab. The cron job executes the shell but doesn't generate the log file i need. This is what i'm using for my cron: 10 * * * * /home/user/3nvo.sh This is a ...
0
votes
3answers
1k views

Why is logrotate not rotating logs Tomcat access logs on aws centos 6.3?

I have the following file in /etc/logrotate.d: /usr/share/apache-tomcat/logs/*.access { nodateext copytruncate daily rotate 7 notifempty postrotate EXT=`date --date='-1 day' +%Y-%m-%d` /bin/gzip $1.1 ...
0
votes
1answer
3k views

CRON opens and closes sessions continuously

I'm seeing a huge amount of these lines in my auth logs: Dec 31 03:45:01 xxxxxxx CRON[17259]: pam_unix(cron:session): session opened for user root by (uid=0) Dec 31 03:45:01 xxxxxxx CRON[17259]: ...
1
vote
2answers
2k views

What is the proper setup for “anacron”? (Ubuntu 9.10, 10.04)

I am running Ubuntu 9.10 and 10.04 on MediaTemple (ve) servers. On both of them, the anacron setup is broken, ... and they have been broken since I first installed Ubuntu. It has only come to my ...
0
votes
0answers
84 views

Server unindexing?

I run a crontask every hour that reindexes my search engine. It occasionally doesn't work. Search sorts will not work correctly, until I manually reindex. My question is, is there anything in this ...
2
votes
1answer
235 views

Can I Separate Postfix Mail Logs Into Seperate Virtul Host Logs?

My server is currently hosting 8 separate websites (and growing) of which four are actively sending email throughout the day and some bulk (opt-in) lists at night. I just completed setting up PTR, ...
5
votes
6answers
4k views

Why would anacron not be running?

I have a Ubuntu system that has anacron installed. However I'm pretty sure it's not running. It's not running the commands in /etc/cron.daily to rotate the syslog files (I'm using sysklog, which has ...
3
votes
3answers
2k views

Is there any way to exclude specific entries from Linux log files?

Specifically, I'm trying to keep a nice clean cron.log under Ubuntu Server (hardy LTS). In addition to the 4 or 5 cron jobs that come pre-installed, I've added 4 of my own jobs (using the cron.d ...
16
votes
7answers
15k views

Can cron write job output to a log *by default* (instead of mail)?

We all know the right way to handle output from cron jobs is to redirect it to a file: 0 * * * * /bin/date >> /var/log/date.log 2>&1 However, sometimes admins are lazy, forgetful, or ...
1
vote
5answers
228 views

Method of automatically transfering log files from multiple servers

Once a day, I want to run AWStats on webserver log files generated by multiple load balanced servers. I want an efficient way of transfering them to one place. Is there already a tool that can do ...