Bug#443987: logcheck: Exiting due to errors - continued

2007-09-26 Thread Wojciech Zareba
Package: logcheck
Followup-For: Bug #443987

After installing logtail 1.2.62 logcheck works fine.

Regards
Wojciech

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages logcheck depends on:
ii  adduser  3.105   add and remove users and groups
ii  cron 3.0pl1-100  management of regular background p
ii  lockfile-progs   0.1.11  Programs for locking and unlocking
ii  logtail  1.2.62  Print log file lines that have not
ii  mailx1:8.1.2-0.20070424cvs-1 A simple mail user agent
ii  postfix [mail-tr 2.4.5-4 High-performance mail transport ag
ii  sysklogd [system 1.5-1   System Logging Daemon

Versions of packages logcheck recommends:
ii  logcheck-database 1.2.62 database of system log rules for t

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#443987: logcheck: Exiting due to errors - continued

2007-09-26 Thread Justin Pryzby
On Wed, Sep 26, 2007 at 11:52:21AM +0200, Wojciech Zareba wrote:
 Package: logcheck
 Followup-For: Bug #443987
 
 After installing logtail 1.2.62 logcheck works fine.
So this seems to be precisely the same problem as bug #441388.  Do I
understand correctly that the upgrade fixes all the reported problems
on all the machines?

Thanks
Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#443987: logcheck: Exiting due to errors - continued

2007-09-25 Thread Wojciech Zareba
Package: logcheck
Version: 1.2.62
Followup-For: Bug #443987

I've run
titanium:~# su -s /bin/bash -c /usr/sbin/logcheck logcheck

and this is effect:

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.en7908

Also verify that the logcheck user can read all files referenced in
/etc/logcheck/logcheck.logfiles!

declare -x COLORTERM=
declare -x 
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-VaEx2Gr4SG,guid=47bb6cc9b5edf00ed950b40046f8dcfb
declare -x DESKTOP_SESSION=default
declare -x DISPLAY=:0.0
declare -x GDMSESSION=default
declare -x GDM_XSERVER_LOCATION=local
declare -x GS_LIB=/home/wojtekz/.fonts
declare -x 
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/wojtekz/.gtkrc-2.0:/home/wojtekz/.kde/share/config/gtkrc-2.0
declare -x 
GTK_RC_FILES=/etc/gtk/gtkrc:/home/wojtekz/.gtkrc:/home/wojtekz/.kde/share/config/gtkrc
declare -x HISTCONTROL=ignoredups
declare -x HOME=/var/lib/logcheck
declare -x KDE_FULL_SESSION=true
declare -x KDE_MULTIHEAD=false
declare -x KDE_SESSION_UID=1000
declare -x KONSOLE_DCOP=DCOPRef(konsole-3877,konsole)
declare -x KONSOLE_DCOP_SESSION=DCOPRef(konsole-3877,session-2)
declare -x LANG=pl_PL.UTF-8
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:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44: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:*.flac=01;35:*.mp3=01;35:*.mpc=01;35:*.ogg=01;35:*.wav=01;35:
declare -x MAIL=/var/mail/logcheck
declare -x OLDPWD
declare -x PATH=/usr/local/bin:/usr/bin:/bin:/usr/games
declare -x PWD=/root
declare -x SESSION_MANAGER=local/titanium:/tmp/.ICE-unix/3804
declare -x SHELL=/bin/bash
declare -x SHLVL=5
declare -x SSH_AGENT_PID=3754
declare -x SSH_AUTH_SOCK=/tmp/ssh-HnSMPl3713/agent.3713
declare -x TERM=xterm
declare -x USER=logcheck
declare -x USERNAME=wojtekz
declare -x WINDOWID=41943056
declare -x XAUTHORITY=/home/wojtekz/.Xauthority
declare -x XCURSOR_THEME=default

Regards
Wojciech

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages logcheck depends on:
ii  adduser  3.105   add and remove users and groups
ii  cron 3.0pl1-100  management of regular background p
ii  lockfile-progs   0.1.11  Programs for locking and unlocking
ii  logtail  1.2.61  Print log file lines that have not
ii  mailx1:8.1.2-0.20070424cvs-1 A simple mail user agent
ii  postfix [mail-tr 2.4.5-4 High-performance mail transport ag
ii  sysklogd [system 1.5-1   System Logging Daemon

Versions of packages logcheck recommends:
pn  logcheck-database none (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#443987: logcheck: Exiting due to errors - continued

2007-09-25 Thread Justin Pryzby
On Tue, Sep 25, 2007 at 03:14:54PM +0200, Wojciech Zareba wrote:
 Package: logcheck
 Version: 1.2.62
 Followup-For: Bug #443987
 
 I've run
 titanium:~# su -s /bin/bash -c /usr/sbin/logcheck logcheck
Can you send the output of:
su -s /bin/bash -c 'bash -x /usr/sbin/logcheck' logcheck



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#443987: logcheck: Exiting due to errors - continued

2007-09-25 Thread Justin Pryzby
On Tue, Sep 25, 2007 at 04:14:37PM +0200, [EMAIL PROTECTED] wrote:
 
 
 - Original Message -
 From: Justin Pryzby [EMAIL PROTECTED]
 Date: Tuesday, September 25, 2007 3:43 pm
 Subject: Re: Bug#443987: logcheck: Exiting due to errors - continued
  On Tue, Sep 25, 2007 at 03:14:54PM +0200, Wojciech Zareba wrote:
   Package: logcheck
   Version: 1.2.62
   Followup-For: Bug #443987
   
   I've run
   titanium:~# su -s /bin/bash -c /usr/sbin/logcheck logcheck
  Can you send the output of:
  su -s /bin/bash -c 'bash -x /usr/sbin/logcheck' logcheck
 
 Of course
So the problems seems to be in running this:

/usr/sbin/logtail2 -f /var/log/auth.log -o 
/var/lib/logcheck/offset.var.log.auth.log

Does logtail2 exist?
Is /var/lib/logcheck writable by the logcheck user?
Can you otherwise find why *this* command doesn't work?

It *might* be useful to strace, but it's perl so it's also likely to
be ugly.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]