Logrotate-Fehler

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
keepoer
Posts: 57
Joined: 2005-10-17 14:47
 

Logrotate-Fehler

Post by keepoer »

Hi,
ich bekomme seit einigen Tagen täglich ne Mail von meinem Server, dass etwas mit logrotate nicht stimmt:

Betreff:

Code: Select all

test -x /usr/sbin/anacron || run-parts --report /etc/cron.daily
Inhalt:

Code: Select all

/etc/cron.daily/logrotate:
/tmp/logrotate.u1vW6B: line 4: kill: (4738) - No such process
In /etc/cron.daily/logrotate steht folgendes:

Code: Select all

#!/bin/sh

#test -x /usr/sbin/logrotate || exit 0
/usr/sbin/logrotate /etc/logrotate.conf
Daraufhin /etc/logrotate.conf:

Code: Select all

# see "man logrotate" for details
# rotate log files weekly
weekly

# keep 4 weeks worth of backlogs
rotate 4

# create new (empty) log files after rotating old ones
create

# uncomment this if you want your log files compressed
#compress

# packages drop log rotation information into this directory
include /etc/logrotate.d

# no packages own wtmp, or btmp -- we'll rotate them here
/var/log/wtmp {
    missingok
    monthly
    create 0664 root utmp
    rotate 1
}

/var/log/btmp {
    missingok
    monthly
    create 0664 root utmp
    rotate 1
}

# system-specific logs may be configured here
So, da ich hier dann auch nix entdecken konnte, hab ich mich in /etc/logrotate.d umgeschaut. Da hab ich dann auch nix anrüchiges gefunden. Das einzige, was sein könnte, wäre irgendwas mit den apache und lighttpd logs. Mehr hab ich in den letzten Wochen nicht geändert bzw geupdatet. Die logs werden auch rotiert.
Da Einzige, was mir da noch so zu einfällt ist, dass seitdem auch keine neuen Awstats mehr erstellt werden...

Jemand ne Idee?
keepoer
Posts: 57
Joined: 2005-10-17 14:47
 

Re: Logrotate-Fehler

Post by keepoer »

Niemand?
bfrackie
Posts: 63
Joined: 2003-08-26 12:00
 

Re: Logrotate-Fehler

Post by bfrackie »

ist evtl. /tmp noexec gemounted?

Bart