Date: Mon, 08 Sep 2008 17:08:35 -0400 From: Greg Larkin <glarkin@FreeBSD.org> To: Marco Beishuizen <mbeis@xs4all.nl> Cc: FreeBSD-Questions <questions@freebsd.org> Subject: Re: logcheck doesn't work anymore Message-ID: <48C59453.3090604@FreeBSD.org> In-Reply-To: <20080908222921.4daba36a@yokozuna.lan> References: <20080908222921.4daba36a@yokozuna.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marco Beishuizen wrote: > Hi, > > After upgrading logcheck from 1.1.1 to 1.2.54 I suddenly get errors of > logcheck not working correctly: > > ... > Warning: If you are seeing this message, your log files may not have > been checked! > > Details: > Could not run logtail or save output > > Check temporary directory: /tmp/logcheck.6IZZmq > > Also verify that the logcheck user can read all files referenced in > /etc/logcheck/logcheck.logfiles! > > declare -x HOME="/var/lib/logcheck" > declare -x LOGNAME="logcheck" > declare -x MAILTO="root" > declare -x OLDPWD > declare -x > PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" > declare -x PWD="/var/lib/logcheck" declare -x SHELL="/bin/sh" > declare -x SHLVL="1" > declare -x USER="logcheck" > ... > > In version 1.1.1 there was a script logcheck.sh in cron that ran every > hour but that doesn't seem to exist anymore. Trying to run logcheck > manually results in: > > ... > logcheck should not be run as root. Use su to invoke logcheck: > su logcheck -c "/usr/local/bin/bash /usr/local/sbin/logcheck" > Or use sudo: sudo -u logcheck logcheck. > ... > > But this doesn't seem to do anything. > > How can I use logcheck again? > > Thanks, > > Marco > Hi Marco, I recently committed the upgrade to logcheck, and I am looking into your problem now. I'll post back here with details once I've figured it out. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIxZRT0sRouByUApARAvMHAJ9329VDm8MF+6jK+3X1eRZuiuoHaQCePUyg BgkTBztxSWYkH2zozSfTiPI= =ipnk -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48C59453.3090604>