Current time: 11-25-2024, 12:14 PM Hello There, Guest! (LoginRegister)


Post Reply 
cron.daily logrotate errors
Author Message
mopox Offline
Newbie
*

Posts: 7
Joined: Apr 2010
Reputation: 0
Post: #1
cron.daily logrotate errors
hi community,

I am new here in the forum. The search function didn't had any useful results for me, so i open this tread.

I use nightly built (20100401) of ispCP on ubuntu 10.04 lucid lynx. Except of some major errors related to fcgid (http://blog.benny-baumann.de/?p=519) all is runing well so far. But from time to time i get some logrotate errors via email:

Code:
/etc/cron.daily/logrotate:
error: ispcp:65 duplicate log entry for /var/log/apache2/access.log
error: found error in /var/log/apache2/*.log , skipping
error: ispcp:80 lines must begin with a keyword or a filename (possibly in double quotes)
error: ispcp:81 duplicate log entry for #
error: found error in /etc/init.d/apache2 reload > /dev/null
    fi
  endscript
}

# Transfer rotation for ProFTPd
#
/var/log/proftpd/xferlog , skipping
error: stat of reload failed: No such file or directory
error: stat of > failed: No such file or directory
error: stat of fi failed: No such file or directory
error: stat of endscript failed: No such file or directory
error: stat of } failed: No such file or directory
error: stat of # failed: No such file or directory
error: stat of Transfer failed: No such file or directory
error: stat of rotation failed: No such file or directory
error: stat of for failed: No such file or directory
error: stat of ProFTPd failed: No such file or directory
run-parts: /etc/cron.daily/logrotate exited with return code 1

I wonder about that errors. Do anyone know what it mean exactly. Okay, it is just related to logrotate. So it is not realy important. But I am interested about the problem.

I'ld appreciate your help.
Thank you

and regards
from Germany
05-04-2010 09:04 PM
Find all posts by this user Quote this message in a reply
Nathariel Offline
Junior Member
*

Posts: 11
Joined: Jan 2009
Reputation: 0
Post: #2
RE: cron.daily logrotate errors
Code:
error: ispcp:65 duplicate log entry for /var/log/apache2/access.log

I had a similar problem with one of the last ispCP builds. It was due to duplicate logrotate configuration. In /etc/cron.daily the script found in 'apache2' is now included in 'ispcp' as well, which creates the problem.
Simply deleting one of the duplicates solves it.

Regarding the other errors you have I am not really sure but it sounds like incorrect config.

Regards
04-24-2011 08:23 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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