[Logcheck-users] Installing and running logcheck on CentOS

Robert Rothenberg robrwo at gmail.com
Fri Jun 25 07:49:20 UTC 2010


I've installed logcheck on CentOS from source, as well as liblockfile
and lockfile-progs.

I've created a logcheck user with /var/lib/logcheck as the home and
/sbin/nologin as the shell. logcheck user is in the adm group. I also
customised the list of logfiles for CentOS. When I run logcheck, I get
the following errors:

# sudo -u logcheck logcheck -ot
basename: invalid option -- -
Try `basename --help' for more information.
basename: invalid option -- -
Try `basename --help' for more information.
basename: invalid option -- -
Try `basename --help' for more information.
basename: invalid option -- -
Try `basename --help' for more information.
basename: invalid option -- -
Try `basename --help' for more information.
Error: Could not run logtail or save output.
System Events
=-=-=-=-=-=-=
File /var/log/secure cannot be read: Permission denied

/usr/sbin/logcheck: line 100: kill: (7519) - No such process



More information about the Logcheck-users mailing list