[Logcheck-users] Problem with logcheck on Sarge

Eric Evans
Sun, 24 Oct 2004 14:47:36 -0000

--8P1HSweYDcXXzwPJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Oct 24, 2004 at 11:15:58AM +0200, Gunnar Wagenknecht muttered these
words:
> Hi!
>=20
> I'm new on this list but not new to logcheck ;) I use it on my Woody
> server and it's great. Now I have another system with Sarge. I
installed
> the logcheck package and configured it but it doesn't work.
>=20
> All I get is the following email:
>=20
> Warning: If you are seeing this message, your log files may not have been
> checked!
>=20
> Details:
> Failed to get lockfile: /var/lock/logcheck.lock
>=20
> Check temporary directory:
>=20
> declare -x HOME=3D"/var/lib/logcheck"
> declare -x LANG=3D"de_DE"
> declare -x LOGNAME=3D"logcheck"
> declare -x MAILTO=3D"root"
> declare -x OLDPWD
> declare -x
>
PATH=3D"/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin"
> declare -x PWD=3D"/var/lib/logcheck"
> declare -x SHELL=3D"/bin/sh"
> declare -x SHLVL=3D"2"
>=20
>=20
> I tried to create this file as root and set permissions to logcheck but it
> didn't work. Any ideas?

There are really only two things likely to cause this, a lack of
permissions to write to /var/lock, or the presence of an existing
/var/lock/logcheck.lock file. The latter seems the most likely.

Start by deleting /var/lock/logcheck.lock, verify that /var/lock is
writable by user logcheck, (it should be 777), and give it another shot.

--=20
Eric Evans
eevans@sym-link.com

--8P1HSweYDcXXzwPJ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBe8CI+DWPovKDPJMRApkhAKDJSsTFx7wvo6f144nbrT6FLETUFACggrrV
genatoPwQNPijRFToBfFCRc=w9JP
-----END PGP SIGNATURE-----

--8P1HSweYDcXXzwPJ--