Current time: 11-30-2024, 01:12 AM Hello There, Guest! (LoginRegister)


Post Reply 
Missing "&" in the cron ?
Author Message
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #8
RE: Missing "&" in the cron ?
I've just detected another problem connected with this:

The daily cronjob causes an error, sent to me by mail:

Quote:error: error running prerotate script for /var/log/proftpd/ftp_traff.log, leaving old log in place
run-parts: /etc/cron.daily/logrotate exited with return code 1

The log-rotation for ftp_traff.log is defined as follows:

Code:
/var/log/proftpd/ftp_traff.log {
  daily
  rotate 7
  missingok
  compress
  delaycompress
  prerotate
    /var/www/ispcp/engine/traffic/ispcp-vrl-traff > /var/log/ispcp/ispcp-vrl-traff.log
  endscript
  postrotate
    /usr/bin/killall -HUP syslogd
  endscript
}

So here is ispcp-vrl-traff also called without an & ..

Again my question: Is it normal that this script causes errors (i.e. if, as joximu said, a domain hadn't caused any traffic this day) or is there a problem with my logfiles?

Greetings
FeG
02-18-2008 06:51 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Missing "&" in the cron ? - FeG - 02-15-2008, 09:44 PM
RE: Missing "&" in the cron ? - joximu - 02-15-2008, 09:53 PM
RE: Missing "&" in the cron ? - FeG - 02-15-2008, 10:12 PM
RE: Missing "&" in the cron ? - joximu - 02-15-2008, 10:19 PM
RE: Missing "&" in the cron ? - FeG - 02-15-2008, 10:48 PM
RE: Missing "&" in the cron ? - joximu - 02-15-2008, 11:37 PM
RE: Missing "&" in the cron ? - FeG - 02-18-2008, 06:33 PM
RE: Missing "&" in the cron ? - FeG - 02-18-2008 06:51 PM
RE: Missing "&" in the cron ? - FeG - 02-20-2008, 10:37 PM
RE: Missing "&" in the cron ? - Cube - 02-20-2008, 11:49 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)