Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 09-09-2008, 04:38 AM   #1
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 937

Rep: Reputation: 32

Hi all

I keep getting an email about /etc/cron.daily/logrotate

I cant remember if I edited the file or not, got some thing to do with awstats which i installed a while ago.

can any one help me out on whats going on.

Error: Couldn't open config file "" nor "awstats.conf" after searching in path "/usr/lib/cgi-bin,/etc/awstats,/usr/local/etc/awstats,/etc,/etc/opt/awstats": No such file or directory

- Did you use correct config parameter ?
Example: If your config file is awstats.mysite.conf, use -config=mysite
- Did you create your config file '' ?
If not, you can run ""
from command line, or create it manually.

Check config file, permissions and AWStats documentation (in 'docs' directory).
error: error running shared prerotate script for /var/log/apache2/*.log
run-parts: /etc/cron.daily/logrotate exited with return code 1
Old 09-09-2008, 08:59 PM   #2
Registered: Sep 2003
Location: Colorado
Posts: 85

Rep: Reputation: 15
Do you have a awstats file in /etc/logrotate.d ? If you do you can either delete it to stop it from trying to rotate anything related to awstats.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
adding a perl script to cron.daily / cron.d to setup a cron job CrontabNewBIE Linux - Software 6 01-14-2008 08:16 AM
Can any one plz explain why/what for cron.d, cron.daily, cron.weekly etc are there. mavinashbabu Linux - Newbie 4 09-21-2006 01:50 PM
Cron.daily sends me a logrotate Kill usage message. pollardd Linux - General 1 09-02-2005 12:18 PM
cron.daily & logrotate cccc SUSE / openSUSE 1 07-08-2005 12:06 PM
dual entries in cron log for cron.daily cpharvey Linux - General 3 02-27-2003 02:30 PM

All times are GMT -5. The time now is 09:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration