LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 07-24-2009, 01:14 PM   #1
lapidarynewbie
LQ Newbie
 
Registered: Jun 2009
Posts: 17

Rep: Reputation: 0
Logwatch Errors Out


Fairly new CentOS 5.3 install. Running logwatch yields the following error:

system cat failed: 256 at /usr/sbin/logwatch line 880.


tail|maillog also indicates email is getting sent to an old gateway email server. (Some of the configs were ported over from a CentOS 5.2 installation that is being replaced by this one.) Have tried to find where that server name is set (did a grep) but it wasn't found. How can I be sure all outgoing email gets piped/relayed to the proper server?

Many thanks in advance for your help!

RichLich
 
Old 07-24-2009, 04:33 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by lapidarynewbie View Post
Running logwatch yields the following error:
system cat failed: 256 at /usr/sbin/logwatch line 880.
If you 'view /usr/sbin/logwatch +880' then you see it's preprocessing log archives "system("$Config{'pathtocat'} $arguments") == 0" so either the arguments aren't right or there's a problem with 'cat' which is defined on line 75. I'd suggest you rerun it in --debug mode and see what gives.
 
  


Reply

Tags
logwatch



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
Does logwatch run automatically? How can I reset logwatch? abefroman Linux - Software 4 06-17-2009 02:17 AM
Apache logwatch errors - what do they mean? userlander Linux - Security 10 11-12-2008 03:33 PM
WARNING: Kernel Errors Present Logwatch namit Linux - Security 1 03-13-2008 08:37 PM
Errors, Errors, and more Errors (KDE 3.4.x GUI Errors) Dralnu Linux - Software 2 05-13-2006 08:30 AM
need LogWatch errors explained MiniMe001 Linux - General 1 06-29-2005 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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