LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-19-2005, 04:34 PM   #1
Jake_B
LQ Newbie
 
Registered: Mar 2004
Distribution: RHEL
Posts: 27

Rep: Reputation: 15
Error running postrotate script...


I'm running RHEL3. Here's an error I'm getting:

Quote:
/etc/cron.daily/logrotate:

error running postrotate script

/etc/cron.daily/logrotate
I know nothing about this sort of thing, and the error message seems very uninformative (an error, eh? WHAT error?) but I looked at /etc/cron.daily/logrotate:

Quote:
#!/bin/sh

/usr/sbin/logrotate /etc/logrotate.conf
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
/usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
fi
exit 0
and also /etc/logrotate.conf:
Quote:

# see "man logrotate" for details
# rotate log files weekly
weekly

# keep 4 weeks worth of backlogs
rotate 4

# create new (empty) log files after rotating old ones
create

# uncomment this if you want your log files compressed
#compress

# RPM packages drop log rotation information into this directory
include /etc/logrotate.d

# no packages own wtmp -- we'll rotate them here
/var/log/wtmp {
monthly
create 0664 root utmp
rotate 1
}
This seems sort of like THIS POST, but my error gives no clues to me ("This failed because....").

I just don't see anything that jumps out at me, and none of this has been modified recently.

Any ideas?

Last edited by Jake_B; 09-19-2005 at 04:41 PM.
 
  


Reply



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
libmysqlclient error when running a php script rose_bud4201 Linux - Software 2 06-03-2005 01:43 PM
error running script on crontab haora Linux - Newbie 3 03-11-2005 04:02 PM
Error while running .bin script: missing libXp.so brunnopessoa Linux - Software 2 10-22-2004 08:41 PM
cron error when running script? meeble Linux - Software 3 09-09-2004 05:00 PM
Getting tty error message running autostart script. paul.sheldon Linux - General 5 10-18-2003 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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

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
Open Source Consulting | Domain Registration