LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-25-2006, 08:35 PM   #1
0p3r4
LQ Newbie
 
Registered: Oct 2005
Location: Sweden
Distribution: Debian/Ubuntu
Posts: 20

Rep: Reputation: 1
Strange cron errors


Hello everyone,

I've been getting some strange errors reported to me from cron via email, and i can't figure out whats wrong...

This is one of them:

Code:
To:  	root@***
Subject:  	Cron <root@***> test -x /usr/sbin/anacron || run-parts --report 

/etc/cron.daily
/etc/cron.daily/logrotate:
gzip: standard input: Bad file descriptor
error: failed to compress log /var/log/mysql.log.1
gzip: standard input: Bad file descriptor
error: failed to compress log /var/log/mysql.err.1
run-parts: /etc/cron.daily/logrotate exited with return code 1
Does anyone have an idea on what might be the cause of these errors?
I would really appreciate any feedback i might get

Cheers
 
Old 02-26-2006, 01:45 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I'd have a look at my logrotate config files and check why it's
trying to compress stdin ... :}


Cheers,
Tink
 
Old 03-02-2006, 09:32 AM   #3
0p3r4
LQ Newbie
 
Registered: Oct 2005
Location: Sweden
Distribution: Debian/Ubuntu
Posts: 20

Original Poster
Rep: Reputation: 1
Thanks for your reply, i'll look into that
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
strange errors eltn Programming 2 10-29-2004 09:43 PM
log cron job to capture errors if there are ashley75 Linux - General 1 05-21-2004 10:34 AM
cron job errors existo Slackware 4 01-23-2004 02:40 PM
Strange errors XPediTioN Slackware 1 07-11-2003 05:45 PM
Strange Errors in C++ ReverseLogic Programming 3 01-20-2003 11:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:18 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