LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Logwatch Errors Out (https://www.linuxquestions.org/questions/linux-newbie-8/logwatch-errors-out-742532/)

lapidarynewbie 07-24-2009 01:14 PM

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

unSpawn 07-24-2009 04:33 PM

Quote:

Originally Posted by lapidarynewbie (Post 3619172)
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.


All times are GMT -5. The time now is 03:23 PM.