rapport logcheck HS
Bonjour,
J'utilise logcheck et j'ai un problème que je n'arrive pas a compendre !
Il m'envois comme rapport apres chaque lancement :
-------------------------------------------------------------------------------------------------------
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.A9L31u
declare -x HOME="/var/lib/logcheck"
declare -x LANG="fr_FR@euro"
declare -x LANGUAGE="fr_FR:fr:en_GB:en"
declare -x LOGNAME="logcheck"
declare -x OLDPWD
declare -x PATH="/usr/bin:/bin"
declare -x PWD="/var/lib/logcheck"
declare -x SHELL="/bin/sh"
declare -x SHLVL="2"
-------------------------------------------------------------------------------------------------------
Pourtant les droits sur tmp sont sur :
drwxrwxrwt 10 root root 4,0K 2005-09-30 09:27 tmp
et logtail se trouve sur
logtail: /usr/sbin/logtail
Le script qui le lance est celui d'origine, à savoir /etc/cron.d/logcheck !
cat /etc/cron.d/logcheck
# /etc/cron.d/logcheck: crontab entries for the logcheck package
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
@reboot logcheck if [ -x /usr/sbin/logcheck ]; then nice
-n10 /usr/sbin/logcheck -R; fi
2 * * * * logcheck if [ -x /usr/sbin/logcheck ]; then nice
-n10 /usr/sbin/logcheck; fi
# EOF
Au niveau des permissions sur /etc/logcheck, tout semble correct aussi !
drwxr-xr-x 9 root logcheck 4,0K 2005-09-26 14:35 logcheck
Idem pour /var/log :
drwxr-xr-x 14 root adm 4,0K 2005-09-30 06:25 log
Je ne vois vraiment pas ou ca peche !
Quelqu'un a t il déja eu le problème ou une idée svp !
Philippe AMIOT
Reply to: