[Logwatch] Logwatch-CVS & Cron
seashell at handypaws.com
Wed Aug 30 19:35:30 MST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Okay I tried a lot of things since I sent this email message and I
still don't understand what I found out.
I tried this on SuSE 10.1 Logwatch-CVS on a new machine,
my old machine is SuSE 9.1 using Logwatch-CVS which is what I was
Cron (Standard) Updated (Source Compiled)
Cron (Standard) (OS Version)
Fcron (Source Compiled)
Perl 5.8.8 (Source Install)
Perl 5.8.8 (OS Version)
And every single combination will die if you run it under any of the
schedulers with the weird 'cat' error somewhere down the line.
I remembered something that always seemed to work which was the
"--logfile" option. I tried every known combination and eventually
the only file that will fail is "cron" either as a service or a
I don't know what is different on this OS, but if I remove "cron" as
an option it works fine.
Does anyone have a reasonable explanation?
I mean basically - command line is okay, but under "cron"
cron tab logwatch --service="cron"
cat: cron.weekly: Is a directory
system cat failed: 256 at /usr/local/sbin/logwatch line 889.
Ann Hopkins wrote:
> SuSE 10.1
> Logwatch-CVS (Today)
> Cron (Standard) Updated
> Perl (/usr/local/bin) 5.8.8 (SOURCE INSTALL)
> /tmp - not executable
> I had a previous problem with an alternative "cron" called "fcron",
> so I returned to "cron".
> I still have extremely weird problems occurring with the memory.
> I changed "logwatch.pl" and "Logwatch.pm" to refer to
> I can not run the program in "cron", and when I immediately try to
> run it again from the command line it fails similarly with these
> kind of messages. If I run it once again from the command line the
> problem disappears.
> cat: cron.daily: Is a directory
> system cat failed: 256 at /usr/local/sbin/logwatch line 889.
> It should not even see this directory. It acts as if the working
> directory has somehow changed to the calling directory.
> The directory is not always the same. I confirmed "cat" works and
> is there. It will go a partial run, but all the way.
> Please help. I really want "logwatch to run in "cron" is there
> something particular I can look at.
> Logwatch is not in the default directory structure, but I have
> always run it in a different area.
Logwatch mailing list
Logwatch at logwatch.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Logwatch