Package: coreutils Version: 8.1-1 Severity: normal I run tail -q --follow=name --retry -n 2 , tailing all log files in /var/log.
Starting I think with version 8.0, this has began to die approximatly
once a week.
Dec 20 11:15:16 gnu CRON[1789]: pam_unix(cron:session): session closed for user
joey
tail: `/var/log/apache2/access.log' has become inaccessible: No such file or
directory
strace shows it is dying with SIGABRT. Probably because the log file is
briefly not present due to being rotated.
4771 write(1, "Dec 20 11:15:16 gnu CRON[1789]: "..., 85) = 85
4771 read(32, "\30\0\0\0\0\1\0\0\0\0\0\0\20\0\0\0access.log.1.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\4\0\0\0\0\0\0\0\20\0\0\0access.log.1.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\4\0\0\0\0\0\0\0\20\0\0\0access.log.1.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\4\0\0\0\0\0\0\0\20\0\0\0access.log.1.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\4\0\0\0\0\0\0\0\20\0\0\0access.log.1.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0\366T\5\0 \0\0\0access.log.47.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\367T\5\0 \0\0\0access.log.46.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\370T\5\0 \0\0\0access.log.45.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\371T\5\0 \0\0\0access.log.44.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\372T\5\0 \0\0\0access.log.43.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\373T\5\0 \0\0\0access.log.42.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\374T\5\0 \0\0\0access.log.41.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\375T\5\0 \0\0\0access.log.40.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\376T\5\0 \0\0\0access.log.39.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\377T\5\0 \0\0\0access.log.38.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\0U\5\0 \0\0\0access.log.37.gz"..., 114) = 48
4771 read(32, "\30\0\0\0\200\0\0\0\1U\5\0 \0\0\0access.log.36.gz"..., 114) = 48
4771 read(32, "\30\0\0\0\200\0\0\0\2U\5\0 \0\0\0access.log.35.gz"..., 114) = 48
4771 read(32, "\30\0\0\0\200\0\0\0\3U\5\0 \0\0\0access.log.34.gz"..., 114) = 48
4771 read(32, "\30\0\0\0\200\0\0\0\4U\5\0 \0\0\0access.log.33.gz"..., 114) = 48
4771 read(32, "\30\0\0\0\200\0\0\0\5U\5\0 \0\0\0access.log.32.gz"..., 114) = 48
4771 read(32, "\30\0\0\0\200\0\0\0\6U\5\0 \0\0\0access.log.31.gz"..., 114) = 48
4771 read(32, "\30\0\0\0\200\0\0\0\7U\5\0 \0\0\0access.log.30.gz"..., 114) = 48
4771 read(32, "\30\0\0\0\200\0\0\0\10U\5\0 \0\0\0access.log.29.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\tU\5\0 \0\0\0access.log.28.gz"..., 114) = 48
4771 read(32, "\30\0\0\0\200\0\0\0\nU\5\0 \0\0\0access.log.27.gz"..., 114) = 48
4771 read(32, "\30\0\0\0\200\0\0\0\vU\5\0 \0\0\0access.log.26.gz"..., 114) = 48
4771 read(32, "\30\0\0\0\200\0\0\0\fU\5\0 \0\0\0access.log.25.gz"..., 114) = 48
4771 read(32, "\30\0\0\0\200\0\0\0\rU\5\0 \0\0\0access.log.24.gz"..., 114) = 48
4771 read(32, "\30\0\0\0\200\0\0\0\16U\5\0 \0\0\0access.log.23.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\17U\5\0 \0\0\0access.log.22.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\20U\5\0 \0\0\0access.log.21.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\21U\5\0 \0\0\0access.log.20.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\22U\5\0 \0\0\0access.log.19.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\23U\5\0 \0\0\0access.log.18.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\24U\5\0 \0\0\0access.log.17.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\25U\5\0 \0\0\0access.log.16.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\26U\5\0 \0\0\0access.log.15.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\27U\5\0 \0\0\0access.log.14.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\30U\5\0 \0\0\0access.log.13.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\31U\5\0 \0\0\0access.log.12.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\32U\5\0 \0\0\0access.log.11.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\33U\5\0 \0\0\0access.log.10.gz"..., 114) =
48
4771 read(32, "\30\0\0\0\200\0\0\0\34U\5\0\20\0\0\0access.log.9.gz\0", 114) =
32
4771 read(32, "\30\0\0\0\200\0\0\0\35U\5\0\20\0\0\0access.log.8.gz\0", 114) =
32
4771 read(32, "\30\0\0\0\200\0\0\0\36U\5\0\20\0\0\0access.log.7.gz\0", 114) =
32
4771 read(32, "\30\0\0\0\200\0\0\0\37U\5\0\20\0\0\0access.log.6.gz\0", 114) =
32
4771 read(32, "\30\0\0\0\200\0\0\0 U\5\0\20\0\0\0access.log.5.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0!U\5\0\20\0\0\0access.log.4.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0\"U\5\0\20\0\0\0access.log.3.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0#U\5\0\20\0\0\0access.log.2.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\0\1\0\0\0\0\0\0\20\0\0\0error.log.1.gz\0\0", 114) = 32
4771 read(32, "\30\0\0\0\4\0\0\0\0\0\0\0\20\0\0\0error.log.1.gz\0\0", 114) = 32
4771 read(32, "\30\0\0\0\4\0\0\0\0\0\0\0\20\0\0\0error.log.1.gz\0\0", 114) = 32
4771 read(32, "\30\0\0\0\4\0\0\0\0\0\0\0\20\0\0\0error.log.1.gz\0\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0$U\5\0\20\0\0\0error.log.48.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0%U\5\0\20\0\0\0error.log.47.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0&U\5\0\20\0\0\0error.log.46.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0'U\5\0\20\0\0\0error.log.45.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0(U\5\0\20\0\0\0error.log.44.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0)U\5\0\20\0\0\0error.log.43.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0*U\5\0\20\0\0\0error.log.42.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0+U\5\0\20\0\0\0error.log.41.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0,U\5\0\20\0\0\0error.log.40.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0-U\5\0\20\0\0\0error.log.39.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0.U\5\0\20\0\0\0error.log.38.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0/U\5\0\20\0\0\0error.log.37.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0000U\5\0\20\0\0\0error.log.36.gz\0", 114) =
32
4771 read(32, "\30\0\0\0\200\0\0\0001U\5\0\20\0\0\0error.log.35.gz\0", 114) =
32
4771 read(32, "\30\0\0\0\200\0\0\0002U\5\0\20\0\0\0error.log.34.gz\0", 114) =
32
4771 read(32, "\30\0\0\0\200\0\0\0003U\5\0\20\0\0\0error.log.33.gz\0", 114) =
32
4771 read(32, "\30\0\0\0\200\0\0\0004U\5\0\20\0\0\0error.log.32.gz\0", 114) =
32
4771 read(32, "\30\0\0\0\200\0\0\0005U\5\0\20\0\0\0error.log.31.gz\0", 114) =
32
4771 read(32, "\30\0\0\0\200\0\0\0006U\5\0\20\0\0\0error.log.30.gz\0", 114) =
32
4771 read(32, "\30\0\0\0\200\0\0\0007U\5\0\20\0\0\0error.log.29.gz\0", 114) =
32
4771 read(32, "\30\0\0\0\200\0\0\0008U\5\0\20\0\0\0error.log.28.gz\0", 114) =
32
4771 read(32, "\30\0\0\0\200\0\0\0009U\5\0\20\0\0\0error.log.27.gz\0", 114) =
32
4771 read(32, "\30\0\0\0\200\0\0\0:U\5\0\20\0\0\0error.log.26.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0;U\5\0\20\0\0\0error.log.25.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0<U\5\0\20\0\0\0error.log.24.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0=U\5\0\20\0\0\0error.log.23.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0>U\5\0\20\0\0\0error.log.22.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0?U\5\0\20\0\0\0error.log.21.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\...@u\5\0\20\0\0\0error.log.20.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0AU\5\0\20\0\0\0error.log.19.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0BU\5\0\20\0\0\0error.log.18.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0CU\5\0\20\0\0\0error.log.17.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0DU\5\0\20\0\0\0error.log.16.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0EU\5\0\20\0\0\0error.log.15.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0FU\5\0\20\0\0\0error.log.14.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0GU\5\0\20\0\0\0error.log.13.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0HU\5\0\20\0\0\0error.log.12.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0IU\5\0\20\0\0\0error.log.11.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0JU\5\0\20\0\0\0error.log.10.gz\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0KU\5\0\20\0\0\0error.log.9.gz\0\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0LU\5\0\20\0\0\0error.log.8.gz\0\0"..., 114)
= 96
4771 read(32, "\30\0\0\0\200\0\0\0OU\5\0\20\0\0\0error.log.5.gz\0\0"..., 114)
= 64
4771 read(32, "\30\0\0\0\200\0\0\0QU\5\0\20\0\0\0error.log.3.gz\0\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0RU\5\0\20\0\0\0error.log.2.gz\0\0", 114) = 32
4771 read(32, "\30\0\0\0\200\0\0\0SU\5\0\20\0\0\0access.log.1\0\0\0\0", 114) =
32
4771 read(32, "\32\0\0\0\0\10\0\0\0\0\0\0\0\0\0\0", 114) = 16
4771 open("/var/log/apache2/access.log", O_RDONLY|O_NONBLOCK|O_LARGEFILE) = -1
ENOENT (No such file or directory)
4771 write(2, "tail: ", 6) = 6
4771 write(2, "`/var/log/apache2/access.log' ha"..., 53) = 53
4771 write(2, ": No such file or directory", 27) = 27
4771 write(2, "\n", 1) = 1
4771 close(20) = 0
4771 read(32, "\30\0\0\0\0\1\0\0\0\0\0\0\20\0\0\0access.log\0\0\0\0\0\0", 114)
= 32
4771 inotify_add_watch(32, "/var/log/apache2/access.log",
IN_MODIFY|IN_ATTRIB|IN_DELETE_SELF|IN_MOVE_SELF) = 51
4771 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
4771 gettid() = 4771
4771 tgkill(4771, 4771, SIGABRT) = 0
4771 --- SIGABRT (Aborted) @ 0 (0) ---
4771 +++ killed by SIGABRT +++
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.31-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages coreutils depends on:
ii libacl1 2.2.49-1 Access control list shared library
ii libattr1 1:2.4.44-1 Extended attribute shared library
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libselinux1 2.0.89-4 SELinux runtime shared libraries
coreutils recommends no packages.
coreutils suggests no packages.
-- no debconf information
--
see shy jo
signature.asc
Description: Digital signature

