LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 04-16-2003, 03:27 PM   #1
Soubi
LQ Newbie
 
Registered: Mar 2003
Location: Germany
Posts: 8

Rep: Reputation: 0
Unhappy Daily cronjob failure


Since some time I get a daily failure-message which says:

[begin]
running daily cronjob scripts

SCRIPT: clean_catman, OK.
SCRIPT: do_mandb, OK.
SCRIPT: logrotate exited with RETURNCODE = 1.
SCRIPT: ouput (stdout && stderr) follows

error: error reading top line of /var/lib/logrotate.status
SCRIPT: logrotate
------- END OF OUTPUT


SCRIPT: suse.de-backup-rc.config, OK.
SCRIPT: suse.de-backup-rpmdb, OK.
SCRIPT: suse.de-check-battery, OK.
SCRIPT: suse.de-clean-tmp, OK.
SCRIPT: suse.de-clean-vi, OK.
SCRIPT: suse.de-cron-local, OK.
[end]

when I look into /var/lib/logrotate.status, it's empty. ???

Until now it doesn't cause any problems... Any suggestions?
Thanks. A.
 
Old 04-16-2003, 05:09 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Well, on my system it's

/var/lib/logrotate/status

not

/var/lib/logrotate.status

Does that shed some light?

Cheers,
Tink
 
Old 04-16-2003, 05:11 PM   #3
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,593

Rep: Reputation: 188Reputation: 188
Too often?

The error probably means that logrotate thinks that you are telling it to rotate logs more frequently than it deems necessary. Take a look at man logrotate.
 
Old 07-22-2003, 03:59 AM   #4
robjung
LQ Newbie
 
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
here's what my logrotate.status looks like

I used to get the same failure on one of my systems. Luckily, I had another Suse 8.0 system. Here is what my "logrotate.status" looks like:

logrotate state -- version 2
"/var/log/wtmp" 2003-7-22
"/var/log/httpd/access_log" 2003-7-22
"/var/log/httpd/error_log" 2003-7-21
"/var/log/radwtmp" 2003-3-23
"/var/log/mail" 2003-7-19
"/var/log/warn" 2003-7-19
"/var/log/messages" 2003-7-19
"/var/log/localmessages" 2003-7-20
"/var/log/firewall" 2003-7-22
"/var/lib/mysql/mysql.log" 2003-7-10


Hope this helps.
 
  


Reply


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
cronjob help meeh Linux - General 1 03-26-2004 12:41 PM
Cronjob engnet Linux - Networking 6 03-03-2004 10:21 AM
cronjob ugob Linux - Software 0 03-03-2004 10:20 AM
Su in a cronjob michedlp Programming 3 11-06-2003 09:30 AM
cronjob FastEddy Linux - General 1 04-12-2003 10:52 PM


All times are GMT -5. The time now is 11:55 PM.

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