[Logcheck-devel] Bug#312393: logcheck: Some more information that might help

Ritesh Raj Sarraf riteshsarraf at users.sourceforge.net
Tue Sep 6 19:51:23 UTC 2005


Package: logcheck
Version: 1.2.41
Followup-For: Bug #312393


Error 1:
This was sent as an email when logcheck failed.

Failed to get lockfile: /var/lock/logcheck/logcheck.lock

Check temporary directory: 

declare -x HISTSIZE="1000"
declare -x HOME="/root"
declare -x HZ="100"
declare -x LANG="en_US"
declare -x LESSCLOSE="/usr/bin/lesspipe %s %s"
declare -x LESSOPEN="| /usr/bin/lesspipe %s"
declare -x LOGNAME="logcheck"
declare -x
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.ogg=01;35:*.mp3=01;35:*.wav=01;35:"
declare -x LS_OPTIONS="--color=auto -F"
declare -x MAIL="/var/mail/root"
declare -x OLDPWD
declare -x
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin"
declare -x PWD="/root"
declare -x SHELL="/bin/bash"
declare -x SHLVL="2"
declare -x SUDO_COMMAND="/usr/sbin/logcheck"
declare -x SUDO_GID="0"
declare -x SUDO_UID="0"
declare -x SUDO_USER="root"
declare -x TERM="xterm"
declare -x USER="logcheck"



Error 2:
This was what I got when it was run from cron

rm: too few arguments
Try `rm --help' for more information.


Error 3:
This error was during installation

Setting up logcheck (1.2.41) ...
useradd: unknown group logcheck
adduser: `/usr/sbin/useradd -d /var/lib/logcheck -g logcheck -s
/bin/false -u 118 logcheck' returned error code 6.  Aborting.
Cleaning up.
Removing user `logcheck'.
userdel: user logcheck does not exist
Removing group `logcheck'.
groupdel: group logcheck does not exist
adduser: The user `logcheck' does not exist.
chown: `logcheck:logcheck': invalid user
chgrp: invalid group name `logcheck'
chown: `logcheck:logcheck': invalid user


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (300, 'unstable'), (100, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-bsplash-skas3-v8.2
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages logcheck depends on:
ii  adduser          3.67                    Add and remove users and groups
ii  cron             3.0pl1-91               management of regular background p
ii  debconf [debconf 1.4.58                  Debian configuration management sy
ii  debianutils      2.14.1                  Miscellaneous utilities specific t
ii  grep             2.5.1.ds1-5             GNU grep, egrep and fgrep
ii  lockfile-progs   0.1.10                  Programs for locking and unlocking
ii  logcheck-databas 1.2.41                  database of system log rules for t
ii  logtail          1.2.41                  Print log file lines that have not
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii  postfix [mail-tr 2.2.4-1                 A high-performance mail transport 
ii  sysklogd [system 1.4.1-17                System Logging Daemon

logcheck recommends no packages.

-- debconf information:
  logcheck/changes:
* logcheck/install-note:





More information about the Logcheck-devel mailing list