Gutsy RC logcheck won't run (when calling logtail2)
Bug #153447 reported by
David Clayton
This bug report is a duplicate of:
Bug #149641: logcheck fails when auth.log.1.gz missing.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
logcheck (Debian) |
Fix Released
|
Unknown
|
|||
logcheck (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: logcheck
Ubuntu Gutsy-64bit RC fresh install.
Standard logcheck install returns the following error in the e-mail message:
------------
Warning: If you are seeing this message, your log files may not have been
checked!
Details:
Could not run logtail or save output
(and other info)
----------
Upon investigation of the /usr/sbin/logcheck script, it was set to call the "logtail2" program, changing this to the alternative "logtail" eliminated the error and things now seem to run correctly.
Changed in logcheck: | |
status: | Unknown → Fix Released |
To post a comment you must log in.
I can confirm this bug for Gutsy i386. Replacing logtail2 with logtail solves the issues.
Error Messages: ------- ------- ----> logcheck. conf L:m:opr: RsS:tTuvw logcheck/ logcheck. lock logcheck/ logcheck. lock violations. ignore. d/local ignore. d.workstation/ cracklib- runtime ignore. d.workstation/ local ignore. d.server/ cracklib- runtime ignore. d.server/ ntpdate ignore. d.paranoid/ apmd ignore. d.paranoid/ cracklib- runtime syslog- errors. log syslog- errors. log logcheck/ logcheck. lock HY7863 ------- ------- ---->
<------
sudo -u logcheck logcheck -d -o -t
D: [1192792290] Turning debug mode on
D: [1192792290] Sourcing - /etc/logcheck/
D: [1192792290] Setting MAILOUT to 1
D: [1192792290] Setting LOGTAIL_OPTS to -t
D: [1192792290] Finished getopts c:dhH:l:
D: [1192792290] Trying to get lockfile: /var/lock/
D: [1192792290] Running lockfile-touch /var/lock/
D: [1192792291] cleanrules: /etc/logcheck/
D: [1192792291] cleanrules: /etc/logcheck/
D: [1192792291] cleanrules: /etc/logcheck/
D: [1192792291] cleanrules: /etc/logcheck/
D: [1192792291] cleanrules: /etc/logcheck/
D: [1192792291] cleanrules: /etc/logcheck/
D: [1192792291] cleanrules: /etc/logcheck/
D: [1192792291] logoutput called with file: /var/log/
D: [1192792291] Running /usr/sbin/logtail2 on /var/log/
D: [1192792291] error: Killing lockfile-touch - 7862
D: [1192792291] error: Removing lockfile: /var/lock/
D: [1192792291] Error: Could not run logtail or save output
Error: Could not run logtail or save output.
D: [1192792291] cleanup: Removing - /tmp/logcheck.
<------